|
M306H7MG-XXXFP Datasheet, PDF (167/329 Pages) Renesas Technology Corp – SINGLE-CHIP 16-BIT CMOS MICROCOMPUTER with DATA ACQUISITION CONTROLLER | |||
|
◁ |
M306H7MG-XXXFP/MC-XXXFP/FGFP
12. A/D CONVERTER
12.1 One-shot Mode
In this mode, the input voltage on one selected pin is A/D converted once. Table 12.2 shows the specifications of
one-shot mode. Figure 12.4 shows the ADCON0 to ADCON1 registers in one-shot mode.
Table 12.2 One-shot Mode Specifications
Item
Specification
Function
The input voltage on one pin selected by the ADCON0 register's CH2 to CH0
bits and the ADCON1 register's OPA1 to OPA0 bits is A/D converted once.
A/D conversion start condition ⢠When the ADCON0 register's TRG bit is â0â (software trigger)
The ADCON0 register's ADST bit is set to â1â (A/D conversion starts)
___________
⢠When the TRG bit is â1â (ADTRG trigger)
___________
Input on the ADTRG pin changes state from high to low after the ADST bit is
set to â1â (A/D conversion starts)
A/D conversion stop condition ⢠Completion of A/D conversion (If a software trigger is selected, the ADST bit
is cleared to â0â (A/D conversion halted).)
⢠Set the ADST bit to â0â
Interrupt request generation timing Completion of A/D conversion
Analog input pin
Select one pin from AN0 to AN7, ANEX0 to ANEX1
Reading of result of A/D converter Read one of the AD0 to AD7 registers that corresponds to the selected pin
Rev.2.10 Oct 25, 2006 Page 167 of 326
REJ03B0152-0210
|
▷ |