11
11-9
A-D Converters
32180 Group User's Manual (Rev.1.0)
11.1.3 Special Operation Modes
(1) Forcible single mode execution during scan mode
In this special operation mode, single mode conversion (A-D conversion or comparate) is forcibly executed
on a specified channel during scan mode operation. For A-D conversion mode, the conversion result is
stored in the 10-bit A-D Data Register corresponding to the specified channel, whereas for comparate mode,
the conversion result is stored in the 10-bit A-D Comparate Data Register. When the A-D conversion or
comparate operation on a specified channel finishes, scan mode A-D conversion is restarted from where it
was canceled during scan operation.
To start single mode conversion during scan mode operation in software, choose a software trigger using the
A-D Single Mode Register 0 A-D conversion start trigger select bit. Then, for A-D conversion, set the said
register’s A-D conversion start bit to "1". For comparate mode, write a comparison value to the A-D Succes-
sive Approximation Register (AD0SAR or AD1SAR) during scan mode operation.
To start single mode conversion during scan mode operation in hardware, choose a hardware trigger using
the A-D Single Mode Register 0 A-D conversion start trigger select bit. Then enter the hardware trigger
selected with the said register.
An A-D conversion interrupt or DMA transfer request can be generated when conversion on a specified
channel or one cycle of scan operation is completed.
Figure 11.1.6 Forcible Single Mode Execution during Scan Mode
A-D conversion interrupt or DMA transfer request
ADiIN0
ADiDT0
10-bit A-Di Data Register
Scan mode
conversion starts
ADiIN1
ADiDT1
ADiDT5
Note 1: The canceled convert operation on channel 2 is reexecuted from the beginning.
<To perform single mode conversion on channel ADiIN5
during ADiIN2 conversion in n-channel single-shot scan mode>
Completed
ADiIN2
ADiINn
ADiDT2
ADiDTn
ADiIN5
Forcible single mode
execution starts
(Note 1)
ADiIN2
i=0, 1
n=0–15
11.1 Outline of A-D Converters
Summary of Contents for M32R/ECU Series
Page 17: ...12 This page is blank for reasons of layout...
Page 712: ...CHAPTER 18 OSCILLATOR CIRCUIT 18 1 Oscillator Circuit 18 2 Clock Generator Circuit...
Page 794: ...CHAPTER 22 TYPICAL CHARACTERISTICS...
Page 796: ...APPENDIX 1 MECHANICAL SPECIFICAITONS Appendix 1 1 Dimensional Outline Drawing...
Page 798: ...APPENDIX 2 INSTRUCTION PROCESSING TIME Appendix 2 1 32180 Instruction Processing Time...
Page 802: ...APPENDIX 3 PROCESSING OF UNUSED PINS Appendix 3 1 Example Processing of Unused Pins...