Analog / digital converter UM0404
370/564 DocID13284 Rev 2
19 Analog / digital converter
The ST10F276 provides an analog / digital converter with 10-bit resolution and a sample &
hold circuit on-chip. A multiplexer selects between up to 16+8 analog input channels
(alternate functions of Port5 and Port1) either via software (fixed channel modes) or
automatically (auto scan modes works automatically among the 16 channels of Port5, or
among the 8 channels of Port1). An automatic self-calibration adjusts the ADC module to
process parameter variations at each reset event. The ADC supports the following
conversion modes:
• Fixed channel single conversion
produces just one result from the selected channel
• Fixed channel continuous conversion
repeatedly converts the selected channel
• Auto scan single conversion
produces one result from each of a selected group of channels
• Auto scan continuous conversion
repeatedly converts the selected group of channels
• Wait for ADDAT read mode
start a conversion automatically when the previous result was read
• Channel injection mode
insert the conversion of a specific channel into a group conversion (auto scan)
A set of SFRs and port pins provide access to control functions and results of the ADC.