English
Language : 

M32C80 Datasheet, PDF (246/352 Pages) Renesas Technology Corp – 16/32-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY / M32C/80 SERIES
M32C/80 Group
17. A/D Converter
17.1 Mode Description
17.1.1 One-shot Mode
In one-shot mode, analog voltage applied to a selected pin is converted to a digital code once. Table 17.2
lists specifications of one-shot mode.
Table 17.2 One-shot Mode Specifications
Item
Specification
Function
The CH2 to CH0 bits in the AD0CON0 register and the OPA1 and OPA0 bits in the
AD0CON1 register select a pin. Analog voltage applied to the pin is converted to a
digital code once
Start Condition
• When the TRG bit in the AD0CON0 register is set to "0" (software trigger),
the ADST bit in the AD0CON0 register is set to "1" (A/D conversion starts) by
program
• When the TRG bit is set to "1" (external trigger, hardware trigger):
__________
- a falling edge is applied to the ADTRG pin after the ADST bit is set to "1" by
program
- The timer B2 interrupt request of three-phase motor control timer functions
(after the ICTB2 register counter completes counting) is generated after the
ADST bit is set to "1" by program
Stop Condition
• A/D conversion is completed (the ADST bit is set to "0" when the software trigger is
selected)
• The ADST bit is set to "0" (A/D conversion stopped) by program
Interrupt Request Generation Timing A/D conversion is completed
Analog Voltage Input Pins
Select one pin from AN0 to AN7, ANEX0, or ANEX1
Reading of A/D Conversion Result • When the DUS bit in the AD0CON3 register is set to "0" (DMAC operating
mode disabled), the microcomputer reads the AD0j register (j=0 to 7) corre-
sponding to selected pin
• When the DUS bit is set to "1" (DMAC operating mode enabled), do not read the
AD00 register. A/D conversion result is stored in the AD00 register after the A/D
conversion is completed. DMAC transfers the conversion result to any memory
space. Refer to 12. DMAC for DMAC settings
Rev. 1.00 Nov. 01, 2005 Page 227 of 330
REJ09B0271-0100