295
CHAPTER 18 8/10-BIT A/D CONVERTER
18.6
Operation of the 8/10-Bit A/D Converter
The 8/10-bit A/D converter has three conversion modes: single conversion mode,
continuous conversion mode, and stop conversion mode. This section describes
operation in each mode.
■
Operation in Single Conversion Mode
In single conversion mode, the analog inputs from the channel specified by the ANS bits to the channel
specified by the ANE bits are sequentially converted. When the channels up to the end channel specified by the
ANE bits have been converted, A/D conversion stops. If the start and end channels are the same (ANS = ANE),
just the channel specified by the ANS bits is converted.
The figure below shows the settings required for operation in single conversion mode.
Figure 18.6-1 Settings for Single Conversion Mode
Reference:
The following are sample conversion sequences in single conversion mode:
(It is assumed that ADSEL = 0.)
ANS = 000
B
, ANE = 011
B
: AN0
→
AN1
→
AN2
→
AN3
→
End
ANS = 110
B
, ANE = 010
B
: AN6
→
AN7
→
AN0
→
AN1
→
AN2
→
End
ANS = 011
B
, ANE = 011
B
: AN3
→
End
BUSY
bit15
✧
INT
bit14
✧
INTE
bit13
✧
PAUS
bit12
✧
STS1
bit11
✧
STS0
bit10
✧
STRT
bit9
✧
RESV
bit8
0
MD1
bit7
✧
MD0
bit6
✧
ANS2
bit5
✧
ANS1
bit4
✧
ANS0
bit3
✧
ANE2
bit2
✧
ANE1
bit1
✧
ANE0
bit0
✧
ADCS
✧
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
✦
ADER
✧
✧
✧
✧
✧
ADCR
S10
ST1
ST0
CT1
CT0
-
Holds the conversion data.
✧
: Used during conversion.
✦
: Set the bit that corresponds to the used pin to "1".
0 : Set to "0".
ADSEL
Summary of Contents for MB90390 Series
Page 2: ......
Page 4: ......
Page 17: ...xiii APPENDIX D List of Interrupt Vectors 690 INDEX 695 ...
Page 18: ...xiv ...
Page 132: ...104 CHAPTER 5 CLOCKS ...
Page 152: ...124 CHAPTER 6 CLOCK MODULATOR ...
Page 210: ...182 CHAPTER 11 TIME BASE TIMER ...
Page 218: ...190 CHAPTER 12 WATCHDOG TIMER ...
Page 264: ...236 CHAPTER 14 16 BIT RELOAD TIMER WITH EVENT COUNT FUNCTION ...
Page 274: ...246 CHAPTER 15 WATCH TIMER ...
Page 306: ...278 CHAPTER 17 DTP EXTERNAL INTERRUPTS ...
Page 338: ...310 CHAPTER 18 8 10 BIT A D CONVERTER ...
Page 364: ...336 CHAPTER 19 UART0 UART1 ...
Page 398: ...370 CHAPTER 20 UART2 UART3 Figure 20 5 2 ORE Set Timing Receive data RDRF ORE ...
Page 432: ...404 CHAPTER 20 UART2 UART3 ...
Page 482: ...454 CHAPTER 22 SERIAL I O ...
Page 560: ...532 CHAPTER 24 STEPPING MOTOR CONTROLLER ...
Page 582: ...554 CHAPTER 27 ROM MIRRORING MODULE ...
Page 632: ...604 CHAPTER 29 EXAMPLES OF SERIAL PROGRAMMING CONNECTION ...
Page 722: ...694 APPENDIX ...
Page 723: ...695 INDEX The index follows on the next page This is listed in alphabetic order ...
Page 740: ......