CHAPTER 13 A/D CONVERTER
659
User’s Manual U14492EJ3V0UD
13.5 A/D Converter Operation
13.5.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 to the voltage generated by the D/A converter.
(3) When 10-bit comparison terminates, store the conversion result in the ADCR0n or ADCR1n register. When
the specified number of A/D conversions have terminated, generate an A/D conversion termination interrupt
(INTAD0, INTAD1) (n = 0 to 7).
Notes 1.
If the ADSCM00 or ADSCM10 register is overwritten with the same value during A/D conversion, the
A/D conversion operation preceding the overwrite stops and the conversion result is not stored in the
ADCR0n 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. A/D conversion operation is
activated by a trigger signal and there is a return to trigger standby status when A/D conversion
operation terminates.
The timer trigger is selected by the ITRG0 register.
Содержание V850E/IA1 mPD703116
Страница 2: ...2 User s Manual U14492EJ3V0UD MEMO...