GCOMP=B_0x0
ADC gain compensation register
GCOMPCOEFF | Gain compensation coefficient These bits are set and cleared by software to program the gain compensation coefficient. … … The coefficient is divided by 4096 to get the gain factor ranging from 0 to 3.999756. Note: This gain compensation is only applied when GCOMP bit of ADCx_CFGR2 register is 1. 2048 (B_0x800): gain factor of 0.5 4096 (B_0x1000): gain factor of 1 8192 (B_0x2000): gain factor of 2 12288 (B_0x3000): gain factor of 3 |
GCOMP | Gain compensation mode This bit is set and cleared by software to enable the gain compensation mode. Note: The software is allowed to write this bit only when ADSTART = 0 (which ensures that no conversion is ongoing). 0 (B_0x0): Regular ADC operating mode 1 (B_0x1): Gain compensation enabled and applied on all channels |