audiodac 2.1.0.0
Audio DAC Registers Settings

Settings for registers of Audio DAC Click driver. More...

Macros

#define AUDIODAC_AUTO_INCREMENT_ENABLE   0x80
 Audio DAC auto increment register settings.
 
#define AUDIODAC_PAGE_0   0
 Audio DAC register page settings.
 
#define AUDIODAC_PAGE_1   1
 
#define AUDIODAC_PAGE_44   44
 
#define AUDIODAC_PAGE_62   62
 
#define AUDIODAC_PAGE_152   152
 
#define AUDIODAC_PAGE_253   253
 
#define AUDIODAC_GPIO6_OUT_EN   0x20
 Audio DAC gpio en settings.
 
#define AUDIODAC_GPIO5_OUT_EN   0x10
 
#define AUDIODAC_GPIO4_OUT_EN   0x08
 
#define AUDIODAC_GPIO3_OUT_EN   0x04
 
#define AUDIODAC_GPIO2_OUT_EN   0x02
 
#define AUDIODAC_GPIO1_OUT_EN   0x01
 
#define AUDIODAC_GPIO_OUT_SEL_OFF   0x00
 Audio DAC gpio out sel settings.
 
#define AUDIODAC_GPIO_OUT_SEL_DSP   0x01
 
#define AUDIODAC_GPIO_OUT_SEL_REG_GPIO_OUT   0x02
 
#define AUDIODAC_GPIO_OUT_SEL_AUTO_MUTE_LR   0x03
 
#define AUDIODAC_GPIO_OUT_SEL_AUTO_MUTE_L   0x04
 
#define AUDIODAC_GPIO_OUT_SEL_AUTO_MUTE_R   0x05
 
#define AUDIODAC_GPIO_OUT_SEL_CLOCK_INVALID   0x06
 
#define AUDIODAC_GPIO_OUT_SEL_SDOUT   0x07
 
#define AUDIODAC_GPIO_OUT_SEL_AN_MUTE_L   0x08
 
#define AUDIODAC_GPIO_OUT_SEL_AN_MUTE_R   0x09
 
#define AUDIODAC_GPIO_OUT_SEL_PLL_LOCK   0x0A
 
#define AUDIODAC_GPIO_OUT_SEL_UV_0_7_DVDD   0x0E
 
#define AUDIODAC_GPIO_OUT_SEL_UV_0_3_DVDD   0x0F
 
#define AUDIODAC_GPIO_OUT_SEL_PLL_OUT_DIV_4   0x10
 
#define AUDIODAC_DIG_VOLUME_POS_MAX   0x00
 Audio DAC digital volume register settings.
 
#define AUDIODAC_DIG_VOLUME_NO_ATT   0x30
 
#define AUDIODAC_DIG_VOLUME_NEG_MIN   0xFE
 
#define AUDIODAC_DIG_VOLUME_MUTE   0xFF
 
#define AUDIODAC_VOLUME_MAX   100
 Audio DAC volume control settings.
 
#define AUDIODAC_VOLUME_DEFAULT   48
 
#define AUDIODAC_VOLUME_MIN   1
 
#define AUDIODAC_VOLUME_MUTE   0
 
#define AUDIODAC_CHANNEL_BOTH   0
 Audio DAC output channel selection.
 
#define AUDIODAC_CHANNEL_LEFT   1
 
#define AUDIODAC_CHANNEL_RIGHT   2
 
#define AUDIODAC_DEVICE_ADDRESS   0x4C
 Audio DAC device address setting.
 

Detailed Description

Settings for registers of Audio DAC Click driver.

Macro Definition Documentation

◆ AUDIODAC_AUTO_INCREMENT_ENABLE

#define AUDIODAC_AUTO_INCREMENT_ENABLE   0x80

Audio DAC auto increment register settings.

Specified setting for auto increment register of Audio DAC Click driver.

◆ AUDIODAC_CHANNEL_BOTH

#define AUDIODAC_CHANNEL_BOTH   0

Audio DAC output channel selection.

Specified selection for output channel of Audio DAC Click driver.

◆ AUDIODAC_CHANNEL_LEFT

#define AUDIODAC_CHANNEL_LEFT   1

◆ AUDIODAC_CHANNEL_RIGHT

#define AUDIODAC_CHANNEL_RIGHT   2

◆ AUDIODAC_DEVICE_ADDRESS

#define AUDIODAC_DEVICE_ADDRESS   0x4C

Audio DAC device address setting.

Specified setting for device slave address selection of Audio DAC Click driver.

◆ AUDIODAC_DIG_VOLUME_MUTE

#define AUDIODAC_DIG_VOLUME_MUTE   0xFF

◆ AUDIODAC_DIG_VOLUME_NEG_MIN

#define AUDIODAC_DIG_VOLUME_NEG_MIN   0xFE

◆ AUDIODAC_DIG_VOLUME_NO_ATT

#define AUDIODAC_DIG_VOLUME_NO_ATT   0x30

◆ AUDIODAC_DIG_VOLUME_POS_MAX

#define AUDIODAC_DIG_VOLUME_POS_MAX   0x00

Audio DAC digital volume register settings.

Specified setting for digital volume register of Audio DAC Click driver.

◆ AUDIODAC_GPIO1_OUT_EN

#define AUDIODAC_GPIO1_OUT_EN   0x01

◆ AUDIODAC_GPIO2_OUT_EN

#define AUDIODAC_GPIO2_OUT_EN   0x02

◆ AUDIODAC_GPIO3_OUT_EN

#define AUDIODAC_GPIO3_OUT_EN   0x04

◆ AUDIODAC_GPIO4_OUT_EN

#define AUDIODAC_GPIO4_OUT_EN   0x08

◆ AUDIODAC_GPIO5_OUT_EN

#define AUDIODAC_GPIO5_OUT_EN   0x10

◆ AUDIODAC_GPIO6_OUT_EN

#define AUDIODAC_GPIO6_OUT_EN   0x20

Audio DAC gpio en settings.

Specified setting for gpio en of Audio DAC Click driver.

◆ AUDIODAC_GPIO_OUT_SEL_AN_MUTE_L

#define AUDIODAC_GPIO_OUT_SEL_AN_MUTE_L   0x08

◆ AUDIODAC_GPIO_OUT_SEL_AN_MUTE_R

#define AUDIODAC_GPIO_OUT_SEL_AN_MUTE_R   0x09

◆ AUDIODAC_GPIO_OUT_SEL_AUTO_MUTE_L

#define AUDIODAC_GPIO_OUT_SEL_AUTO_MUTE_L   0x04

◆ AUDIODAC_GPIO_OUT_SEL_AUTO_MUTE_LR

#define AUDIODAC_GPIO_OUT_SEL_AUTO_MUTE_LR   0x03

◆ AUDIODAC_GPIO_OUT_SEL_AUTO_MUTE_R

#define AUDIODAC_GPIO_OUT_SEL_AUTO_MUTE_R   0x05

◆ AUDIODAC_GPIO_OUT_SEL_CLOCK_INVALID

#define AUDIODAC_GPIO_OUT_SEL_CLOCK_INVALID   0x06

◆ AUDIODAC_GPIO_OUT_SEL_DSP

#define AUDIODAC_GPIO_OUT_SEL_DSP   0x01

◆ AUDIODAC_GPIO_OUT_SEL_OFF

#define AUDIODAC_GPIO_OUT_SEL_OFF   0x00

Audio DAC gpio out sel settings.

Specified setting for gpio out sel of Audio DAC Click driver.

◆ AUDIODAC_GPIO_OUT_SEL_PLL_LOCK

#define AUDIODAC_GPIO_OUT_SEL_PLL_LOCK   0x0A

◆ AUDIODAC_GPIO_OUT_SEL_PLL_OUT_DIV_4

#define AUDIODAC_GPIO_OUT_SEL_PLL_OUT_DIV_4   0x10

◆ AUDIODAC_GPIO_OUT_SEL_REG_GPIO_OUT

#define AUDIODAC_GPIO_OUT_SEL_REG_GPIO_OUT   0x02

◆ AUDIODAC_GPIO_OUT_SEL_SDOUT

#define AUDIODAC_GPIO_OUT_SEL_SDOUT   0x07

◆ AUDIODAC_GPIO_OUT_SEL_UV_0_3_DVDD

#define AUDIODAC_GPIO_OUT_SEL_UV_0_3_DVDD   0x0F

◆ AUDIODAC_GPIO_OUT_SEL_UV_0_7_DVDD

#define AUDIODAC_GPIO_OUT_SEL_UV_0_7_DVDD   0x0E

◆ AUDIODAC_PAGE_0

#define AUDIODAC_PAGE_0   0

Audio DAC register page settings.

Specified setting for register page of Audio DAC Click driver.

◆ AUDIODAC_PAGE_1

#define AUDIODAC_PAGE_1   1

◆ AUDIODAC_PAGE_152

#define AUDIODAC_PAGE_152   152

◆ AUDIODAC_PAGE_253

#define AUDIODAC_PAGE_253   253

◆ AUDIODAC_PAGE_44

#define AUDIODAC_PAGE_44   44

◆ AUDIODAC_PAGE_62

#define AUDIODAC_PAGE_62   62

◆ AUDIODAC_VOLUME_DEFAULT

#define AUDIODAC_VOLUME_DEFAULT   48

◆ AUDIODAC_VOLUME_MAX

#define AUDIODAC_VOLUME_MAX   100

Audio DAC volume control settings.

Specified setting for volume control of Audio DAC Click driver.

◆ AUDIODAC_VOLUME_MIN

#define AUDIODAC_VOLUME_MIN   1

◆ AUDIODAC_VOLUME_MUTE

#define AUDIODAC_VOLUME_MUTE   0