CHAPTER 11 A/D CONVERTER
529
User’s Manual U15195EJ5V0UD
11.6 A/D Converter Operation
11.6.1 A/D converter basic operation
A/D conversion is performed using the following procedure.
(1) Set the analog input selection and the operation mode and trigger mode specifications using the ADSCM00
or ADSCM10 register
Note 1
. Setting (1) the ADCE0 or ADCE1 bit of the ADSCM00 or ADSCM10 register when
in A/D trigger mode or A/D trigger polling mode starts A/D conversion. In timer trigger mode or external
trigger mode, the status becomes trigger standby
Note 2
.
(2) When A/D conversion starts, compare the analog input with the voltage generated by the D/A converter.
(3) When 10-bit comparison ends, store the conversion result in the ADCR0m or ADCR1n register. When the
specified number of A/D conversions have ended, generate the A/D conversion end interrupt (INTAD0,
INTAD1) (m = 0 to 5, n = 0 to 7).
Notes 1.
If the contents of the ADSCM00 or ADSCM10 register are changed during an A/D conversion
operation, the A/D conversion operation preceding the change stops and a conversion result is not
stored in the ADCR0m or ADCR1n register. The conversion operation is initialized and conversion
starts from the beginning.
2.
In timer trigger mode or external trigger mode, there is a transition to trigger standby status when the
ADCE0 or ADCE1 bit of the ADSCM00 or ADSCM10 register is set to 1. An A/D conversion operation
is activated by a trigger signal and there is a return to trigger standby status when the A/D conversion
operation ends.
The timer trigger is selected by the ITRG0 and ITRG1 registers.
Содержание PD703114
Страница 2: ...2 User s Manual U15195EJ5V0UD MEMO ...