Mitsubishi Electric M32R Series User Manual page 510

Mitsubishi 32-bit risc single-chip microcomputers
Table of Contents

Advertisement

11
(2) Scan mode start after single mode execution
This special operation mode starts scan operation subsequently after executing conversion in
single mode (A-D conversion or comparate).
To start this mode in software, choose a software trigger using the Scan Mode Register 0 A-D
conversion start trigger select bit. Then set the said register's A-D conversion start bit to 1 during
single mode conversion operation.
To start this mode in hardware, choose a hardware trigger using the Scan Mode Register 0 A-D
conversion start trigger select bit. Then enter the hardware trigger selected with the said register
____________
(ADTRG signal or output event bus 3 for the A-D0 converter, or ADTRG signal or TID1 overflow/
underflow for the A-D1 converter).
If after selecting a hardware trigger using the A-D conversion start trigger select bit in both Single
Mode Register 0 and Scan Mode Register 0, you enter a hardware trigger (ADTRG signal or
output event bus 3 for the A-D0 converter, or ADTRG signal or TID1 overflow/underflow for the A-
D1 converter), the device first performs single mode conversion and then scan mode conversion
subsequently after executing the single mode conversion.
An A-D conversion interrupt request or a DMA transfer request (for the A-D0 converter only) can
be generated at completion of single mode conversion in the specified channel, or at completion
of one cycle of scan operation.
<To start 4-channel single-shot scan mode subsequently after single mode conversion on ADiN5 >
Single mode
conversion starts
10-bit A-Di data register
Note : DMA transfer request: Can be generated for only the A-D0 converter.
Figure 11.1.8 Scan Mode Start after Single Mode Execution
Instructed to start
scan mode conversion
ADiIN5
ADiIN0
ADiDT5
A-D conversion interrupt request or DMA transfer request (Note)
i=0,1
11-12
11.1 Outline of A-D Converters
____________
____________
ADiIN1
ADiIN2
ADiDT0
ADiDT1
A-D CONVERTERS
____________
ADiIN3
Completed
ADiDT2
ADiDT3
Ver.0.10

Advertisement

Table of Contents
loading

Table of Contents