
A/D Converter
14-8
(2) Multiple channels/one-time conversion for each channel
If "multiple channels/one-time conversion for each channel" is selected as the operating mode (ADMD1 to
0), a number of AN inputs, starting from AN0, are converted one time only. Set channel 0 in the conversion
channel selection bits used for converting any one channel (ADSC1 to 0), and set the number of channels to be
converted in the conversion channel selection bits (ADMC1 to 0). (Conversion starts with channel 0.) An A/D
interrupt request is generated simultaneously with the completion of conversion of all channels.
When starting up conversion through software, set the conversion start trigger selection bits (ADST1 to 0) to
"00", and set the conversion start/execution flag (ADEN) to "1".
If the conversion start trigger selection bits (ADST1 to 0) are set to "external trigger," then the conversion
start/execution flag (ADEN) is set to "1" when a falling edge is input to the ADTRG pin, A/D conversion then
starts.
And if the conversion start trigger selection bits (ADST1 to 0) are set to "timer trigger," then the conversion
start/execution flag (ADEN) is set to "1" when a timer 2 underflow occurs, A/D conversion then starts.
The conversion start/execution flag (ADEN) is "1" while conversion is in progress, and is then set to "0"
after conversion of all channels is completed. The conversion channel selection bits that are used for selecting any
one channel for conversion (ADSC1 to 0) indicate the current channel number being converted, and are then set to
"00" when conversion of all channels is completed.
Note: If multiple channels are to be converted, be certain to include a capacitor of at least 0.1
µ
F between each AN
pin and AVSS. Each capacitor should be placed as closely as possible to each AN pin.
Fig. 14-5-2 External Trigger Input Conversion Example (for Channels 0 to 2, One Time Each)
External trigger input
(ADTRG pin)
ADEN flag
Status
Set
Reset automatically when
conversion is completed
Interrupt request
Channel 0
conversion
Channel 1
conversion
Channel 2
conversion
Содержание MN103001G/F01K
Страница 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Страница 2: ......
Страница 4: ......
Страница 6: ......
Страница 7: ...14 A D Converter 15 I O Ports 16 Internal Flash Memory 17 Ordering Mask ROM Appendix 14 15 16 17 ...
Страница 8: ......
Страница 9: ...Table of Contents List of Figures and Tables 0 ...
Страница 26: ...xviii ...
Страница 27: ...1 0 1 General Specifications ...
Страница 35: ...2 CPU 2 ...
Страница 57: ...3 Extension Instruction Specifications 3 ...
Страница 96: ...Extension Instruction Specifications 3 40 ...
Страница 97: ...4 Memory Modes 3 4 ...
Страница 102: ...Memory Modes 4 6 ...
Страница 103: ...5 Operating Mode 5 ...
Страница 107: ...6 Clock Generator 6 13 ...
Страница 111: ...7 Internal Memory 7 ...
Страница 114: ...Internal Memory 7 4 ...
Страница 115: ...8 Bus Controller BC 8 ...
Страница 189: ...9 Interrupt Controller 9 ...
Страница 220: ...Interrupt Controller 9 32 ...
Страница 221: ...10 8 bit Timers 9 10 ...
Страница 254: ...8 bit Timers 10 34 ...
Страница 255: ...11 16 bit Timers 11 ...
Страница 292: ...16 bit Timers 11 38 ...
Страница 293: ...12 Watchdog Timer 11 12 ...
Страница 302: ...Watchdog Timer 12 10 ...
Страница 303: ...13 Serial Interface 13 ...
Страница 354: ...Serial Interface 13 52 ...
Страница 355: ...14 A D Converter 14 ...
Страница 367: ...15 I O Ports 15 ...
Страница 431: ...16 Internal Flash Memory 16 ...
Страница 439: ...17 17 Ordering Mask ROM ...
Страница 442: ...Ordering Mask ROM 17 4 ...
Страница 443: ...Appendix ...