Renesas M16C/64C User Manual page 672

Table of Contents

Advertisement

M16C/64C Group
Table 27.15
Registers and Settings in Repeat Sweep Mode 0
Register
PCLKSTP1
PCR
AINRST
AD0 to AD7
ADCON2
ADCON0
ADCON1
Note:
1.
This table does not describe a procedure.
A/D conversion start
AN0
AN1
AN2
AN3
AN4
AN5
AN6
AN7
The above diagram applies under the following conditions:
Bits SCAN1 to SCAN0 in the ADCON1 are 01b (AN0 to AN3 (4 pins)).
Bits ADGSEL1 to ADGSEL0 in the ADCON2 are 00b (AN0 to AN7).
Figure 27.13 Operation Example in Repeat Sweep Mode 0
R01UH0092EJ0110 Rev.1.10
Jul 31, 2012
Bit
PCKSTP1A
Set to 0 when using f1.
Set to 1 ( INT6 input disabled) when using the AN2_4 pin for
PCR5
analog input.
Set to 1 ( INT7 input disabled) when using the AN2_5 pin for
PCR6
analog input.
Set to 1 (key input disabled) when using pins AN4 to AN7 for
PCR7
analog input.
AINRST1,
Select whether open-circuit detection assist function is used or
AINRST0
not.
b9 to b0
A/D conversion result can be read.
ADGSEL1,
Select analog input pin group.
ADGSEL0
Select φ AD frequency.
CKS2
CH2 to CH0
Disabled
MD1 to MD0
Set to 11b.
TRG
Select a trigger.
ADST
Set to 1 to start A/D conversion and set to 0 to stop it.
Select φ AD frequency.
CKS0
SCAN1, SCAN0
Select analog input pin.
MD2
Set to 0.
Select φ AD frequency.
CKS1
ADSTBY
Set to 1 when performing A/D conversion.
ADEX1, ADEX0
Set to 00b.
(1)
Setting
Single A/D conversion
27. A/D Converter
Time
Page 639 of 807

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/60 seriesM16c series

Table of Contents