181
CHAPTER 11 A/D CONVERTER
Preliminary User’s Manual U13420EJ2V0UM00
11.4.3 A/D converter operation mode
One analog input channel is selected from among ANI0 to ANI7 by the analog input channel specification register
(ADS0) and start A/D conversion.
When bit 7 (ADCS0) of the A/D converter mode register (ADM0) is set to 1, A/D conversion of the voltage applied
to the analog input pin specified by the analog input channel specification register (ADS0) starts.
Upon the end of the A/D conversion, the conversion result is stored in the A/D conversion result register (ADCR0),
and the interrupt request signal (INTAD0) is generated. After one A/D conversion operation is started and ended,
the next conversion operation is immediately started. A/D conversion operations are repeated until new data is written
to ADS0.
If ADS0 is rewritten during A/D conversion, the converter suspends A/D conversion and A/D conversion of the
newly selected analog input channel is started.
If data with ADCS0 set to 0 is written to ADM0 during A/D conversion operation, the A/D conversion operation stops
immediately.
Figure 11-6. A/D Conversion
Remarks 1. n = 0, 1, ......, 7
2. m = 0, 1, ......, 7
ADM0 set
ADCS0 = 1
ADS0 rewrite
ADCS0 = 0
A/D conversion
ADCR0
INTAD0
ANIn
ANIn
ANIn
ANIm
ANIm
Stop
ANIn
ANIn
ANIm
Conversion suspended;
Conversion results are not stored
Содержание mPD780065 Series
Страница 2: ...Preliminary User s Manual U13420EJ2V0UM00 2 MEMO ...
Страница 10: ...10 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 22: ...22 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 134: ...134 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 160: ...160 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 186: ...186 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 326: ...326 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 342: ...342 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...
Страница 350: ...350 Preliminary User s Manual U13420EJ2V0UM00 MEMO ...