EasyManua.ls Logo

Renesas M32R/ECU Series

Renesas M32R/ECU Series
839 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
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

Table of Contents

Related product manuals