CHAPTER 12 A/D CONVERTER
415
User’s Manual U14359EJ4V0UM
(c) External trigger mode
A mode that specifies the conversion timing of the analog input to the ANI0 to ANI3 pins using the
ADTRG pin. This mode can be specified only with the ANI0 to ANI3 pins.
(2) Operation mode
There are two operation modes that set the ANI0 to ANI7 pins: select mode and scan mode. The select
mode has sub-modes that consist of 1-buffer mode and 4-buffer mode. These modes are set by the ADM0
register.
(a) Select mode
In this mode, one analog input specified by the ADM0 register is A/D converted. The conversion results
are stored in the ADCRn register corresponding to the analog input (ANIn). For this mode, the 1-buffer
mode and 4-buffer mode are provided for storing the A/D conversion results (n = 0 to 7).
•
1-buffer mode
In this mode, one analog input specified by the ADM0 register is A/D converted. The conversion
results are stored in the ADCRn register corresponding to the analog input (ANIn). The ANIn and
ADCRn register correspond one to one, and an A/D conversion end interrupt (INTAD) is generated
each time one A/D conversion ends.