<< Click to Display Table of Contents >> ADC |
|
Configuration item |
Selectable option/ Value |
Description |
---|---|---|
Output Data Type |
Double | Single | Raw (uint16) |
Select output data type of reading value. Output value will be 0 to 1023 due to 10bit resolution. |
Analog input prescaling |
No | 1/3 | 2/3 |
Analog input prescaling before connect to ADC module. |
Analog reference |
VBG | EXT | VDD/2 | VDD/3 |
VBG - internal reference 1.2V as analog reference. EXT - use external voltage reference as analog reference. VDD/2 - use VDD/2 as voltage reference. VDD/3 - use VDD/3 as voltage reference. Example for VDD=3.3V, reference voltage will be VDD/3 = 1.1V. |
Read AN0 (P0.26) |
- |
AN0 disabled due to pin used for external XTAL 32.768kHz |
Read AN1 (P0.27) |
- |
AN1 disabled due to pin used for external XTAL 32.768kHz |
Read AN2 (P0.01) |
Checked | Unchecked |
Checked - enable the ADC conversion for the selected channel |
Read AN3 (P0.02) |
Checked | Unchecked |
Checked - enable the ADC conversion for the selected channel |
Read AN4 (P0.03) |
Checked | Unchecked |
Checked - enable the ADC conversion for the selected channel |
Read AN5 (P0.04) |
Checked | Unchecked |
Checked - enable the ADC conversion for the selected channel |
Read AN6 (P0.05) |
Checked | Unchecked |
Checked - enable the ADC conversion for the selected channel |
Read AN7 (P0.06) |
Checked | Unchecked |
Checked - enable the ADC conversion for the selected channel |
Read VDD/3 |
Checked | Unchecked |
Checked - enable the ADC conversion for the selected channel |
Read 2*VDD/3 |
Checked | Unchecked |
Checked - enable the ADC conversion for the selected channel |
Sample time (sec) |
(Specify) |
Specify the block sample time |