User manual
V850E2/MN4 A/D Converter Control
R01AN0923EJ0100 Rev.1.00 Page 11 of 26
Feb 13, 2012
Figure 4.6 ADCAnCTL1 Register Format (3/3)
Setting example
ADCA0CTL1 = 0x00028001; /* no detection of hard edge;
right aligned conversion result;
software trigger;
one shot mode;
discharge on;
keep conversion result after read-out;
10bit resolution mode;
ADCATCNV0,1,2=L means no conversion;
ADCATCNV0,1,2=H means running conversion;
1/2 A/D Frequency configuration */