volume2 2.0.0.0
Volume 2 Registers Settings

Settings for registers of Volume 2 Click driver. More...

Macros

#define VOLUME2_GAIN_OPT_0_DB   0x00
 Volume 2 gain 0dB option setting.
 
#define VOLUME2_GAIN_OPT_3_DB   0x01
 Volume 2 gain 3dB option setting.
 
#define VOLUME2_GAIN_OPT_6_DB   0x02
 Volume 2 gain 6dB option setting.
 
#define VOLUME2_GAIN_OPT_9_DB   0x03
 Volume 2 gain 9dB option setting.
 
#define VOLUME2_ZERO_CROSS_DET_OPT_OFF   0x00
 Volume 2 zero cross detection disable setting.
 
#define VOLUME2_ZERO_CROSS_DET_OPT_ON   0x01
 Volume 2 zero cross detection enable setting.
 
#define VOLUME2_SET_DEV_ADDR   0x44
 Volume 2 device address setting.
 

Detailed Description

Settings for registers of Volume 2 Click driver.

Macro Definition Documentation

◆ VOLUME2_GAIN_OPT_0_DB

#define VOLUME2_GAIN_OPT_0_DB   0x00

Volume 2 gain 0dB option setting.

This option should be assigned to gain_chX of volume2_vol_data_t structure.

◆ VOLUME2_GAIN_OPT_3_DB

#define VOLUME2_GAIN_OPT_3_DB   0x01

Volume 2 gain 3dB option setting.

This option should be assigned to gain_chX of volume2_vol_data_t structure.

◆ VOLUME2_GAIN_OPT_6_DB

#define VOLUME2_GAIN_OPT_6_DB   0x02

Volume 2 gain 6dB option setting.

This option should be assigned to gain_chX of volume2_vol_data_t structure.

◆ VOLUME2_GAIN_OPT_9_DB

#define VOLUME2_GAIN_OPT_9_DB   0x03

Volume 2 gain 9dB option setting.

This option should be assigned to gain_chX of volume2_vol_data_t structure.

◆ VOLUME2_SET_DEV_ADDR

#define VOLUME2_SET_DEV_ADDR   0x44

Volume 2 device address setting.

Specified setting for device slave address selection of Volume 2 Click driver.

◆ VOLUME2_ZERO_CROSS_DET_OPT_OFF

#define VOLUME2_ZERO_CROSS_DET_OPT_OFF   0x00

Volume 2 zero cross detection disable setting.

This option should be assigned to zero_cross_det_chX of volume2_vol_data_t structure.

◆ VOLUME2_ZERO_CROSS_DET_OPT_ON

#define VOLUME2_ZERO_CROSS_DET_OPT_ON   0x01

Volume 2 zero cross detection enable setting.

This option should be assigned to zero_cross_det_chX of volume2_vol_data_t structure.