01.06.2014 Views

STM32W108C8

STM32W108C8

STM32W108C8

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Analog-to-digital converter<br />

<strong>STM32W108C8</strong><br />

11.3.2 ADC offset register (ADC_OFFSET)<br />

Table 112.<br />

Address offset: 0xD008<br />

Reset value: 0x0000 0000<br />

ADC offset register (ADC_OFFSET)<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

Reserved<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

ADC_OFFSET_FIELD<br />

rw<br />

Bits [15:0] ADC_OFFSET_FIELD: 16-bit signed offset added to the basic ADC conversion result before<br />

gain correction is applied.<br />

11.3.3 ADC gain register (ADC_GAIN)<br />

Table 113.<br />

Address offset: 0xD00C<br />

Reset value: 0x0000 8000<br />

ADC gain register (ADC_GAIN)<br />

31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16<br />

Reserved<br />

15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0<br />

ADC_GAIN_FIELD<br />

rw<br />

Bits [15:0] ADC_GAIN_FIELD: Gain factor that is multiplied by the offset-corrected ADC result to produce<br />

the output value. The gain is a 16-bit unsigned scaled integer value with a binary decimal point<br />

between bits 15 and 14. It can represent values from 0 to (almost) 2. The reset value is a gain<br />

factor of 1.<br />

169/215 Doc ID 018587 Rev 2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!