
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
Summary of Contents for MN103001G/F01K
Page 1: ...MICROCOMPUTER MN1030 MN103001G F01K LSI User s Manual Pub No 23101 050E ...
Page 2: ......
Page 4: ......
Page 6: ......
Page 8: ......
Page 9: ...Table of Contents List of Figures and Tables 0 ...
Page 26: ...xviii ...
Page 27: ...1 0 1 General Specifications ...
Page 35: ...2 CPU 2 ...
Page 57: ...3 Extension Instruction Specifications 3 ...
Page 96: ...Extension Instruction Specifications 3 40 ...
Page 97: ...4 Memory Modes 3 4 ...
Page 102: ...Memory Modes 4 6 ...
Page 103: ...5 Operating Mode 5 ...
Page 107: ...6 Clock Generator 6 13 ...
Page 111: ...7 Internal Memory 7 ...
Page 114: ...Internal Memory 7 4 ...
Page 115: ...8 Bus Controller BC 8 ...
Page 189: ...9 Interrupt Controller 9 ...
Page 220: ...Interrupt Controller 9 32 ...
Page 221: ...10 8 bit Timers 9 10 ...
Page 254: ...8 bit Timers 10 34 ...
Page 255: ...11 16 bit Timers 11 ...
Page 292: ...16 bit Timers 11 38 ...
Page 293: ...12 Watchdog Timer 11 12 ...
Page 302: ...Watchdog Timer 12 10 ...
Page 303: ...13 Serial Interface 13 ...
Page 354: ...Serial Interface 13 52 ...
Page 355: ...14 A D Converter 14 ...
Page 367: ...15 I O Ports 15 ...
Page 431: ...16 Internal Flash Memory 16 ...
Page 439: ...17 17 Ordering Mask ROM ...
Page 442: ...Ordering Mask ROM 17 4 ...
Page 443: ...Appendix ...