audioamp11 2.1.0.0
Audioamp11_volume_control

Macros

#define AUDIOAMP11_CALC_GAIN_CONFIG(GAINDEC)   (GAINDEC==1?0:(GAINDEC==2?6:(GAINDEC==4?12:(GAINDEC==8 ? 18:24))))
 AudioAMP 11 description volume control.
 
#define OUTPUT_VOLUME_0dB
 
#define OUTPUT_VOLUME_6dB
 
#define OUTPUT_VOLUME_12dB
 
#define OUTPUT_VOLUME_18dB
 
#define OUTPUT_VOLUME_24dB   24.0
 

Detailed Description

Macro Definition Documentation

◆ AUDIOAMP11_CALC_GAIN_CONFIG

#define AUDIOAMP11_CALC_GAIN_CONFIG ( GAINDEC)    (GAINDEC==1?0:(GAINDEC==2?6:(GAINDEC==4?12:(GAINDEC==8 ? 18:24))))

AudioAMP 11 description volume control.

Specified volume control for description of AudioAMP 11 Click driver.

◆ OUTPUT_VOLUME_0dB

#define OUTPUT_VOLUME_0dB
Value:
0.0, -2.0, -4.0, -6.0, -8.0, -10.0, -12.0, -14.0, -16.0, -18.0, \
-20.0, -22.0, -24.0, -26.0, -28.0, -30.0, -32.0, -34.0, -36.0, -38.0, \
-40.0, -42.0, -44.0, -46.0, -48.0, -50.0, -52.0, -54.0, -56.0, -58.0, -60.0, -62.0

◆ OUTPUT_VOLUME_12dB

#define OUTPUT_VOLUME_12dB
Value:
12.0, 10.4, 8.8, 7.1, 5.4, 3.6, 1.7, -0.2, -2.0, -3.9, \
-5.8, -7.8, -9.7, -11.7, -13.6, -15.6, -17.6, -19.3, -20.4, -20.5, \
-20.2, -20.0, -19.8, -19.7, -19.6, -19.5, -19.5, -19.4, -19.4, -19.4, -19.4, -19.3

◆ OUTPUT_VOLUME_18dB

#define OUTPUT_VOLUME_18dB
Value:
19.0, 17.0, 16.0, 15.0, 13.7, 12.4, 10.9, 9.4, 7.9, 6.2, \
4.5, 2.7, 0.9, -0.9, -2.8, -4.7, -6.6, -7.3, -7.3, -7.1, \
-7.1, -7.1, -7.1, -7.0, -7.0, -7.0, -7.0, -7.0, -7.0, -7.0, -7.0, -7.0

◆ OUTPUT_VOLUME_24dB

#define OUTPUT_VOLUME_24dB   24.0

◆ OUTPUT_VOLUME_6dB

#define OUTPUT_VOLUME_6dB
Value:
6.0, 4.1, 2.2, 0.4, -1.6, -3.5, -5.6, -7.5, -29.5, -11.4 , \
-13.4, -15.4, -17.3, -19.3, -21.3, -23.3, -25.3, -27.3, -29.1, -30.7, \
-32.2, -33.7, -35.1, -36.6, -36.0, -35.2, -34.6, -34.2, -33.9, -33.7, -33.5, -33.4