English
Language : 

R8C-22_1 Datasheet, PDF (427/549 Pages) Renesas Technology Corp – MCU R8C FAMILY / R8C/2x SERIES
R8C/22 Group, R8C/23 Group
19. A/D Converter
A/D Control Register 0(1)
b7 b6 b5 b4 b3 b2 b1 b0
1
Symbol
Address
After Reset
ADCON0
00D6h
00h
Bit Symbol
Bit Name
Function
RW
CH0 Analog input pin select bit Refer to (4)
RW
CH1
RW
CH2
RW
A/D operating mode select 1 : Repeat mode
MD
bit(2)
RW
A/D input group select bit(4) 0 : Selects port P0 group (AN0 to AN7)
ADGSEL0
1 : Selects port P1 group (AN8 to AN11)
RW
A/D conversion automatic 0 : Starts in softw are trigger (ADST bit)
ADCAP start bit
1 : Starts in timer RD
RW
(complementary PWM mode)
A/D conversion start flag 0 : Disables A/D conversion
ADST
1 : Starts A/D conversion
RW
Frequency select bit 0
[When CKS1 in ADCON1 register = 0]
0 : Select f4
CKS0
1 : Select f2
[When CKS1 in ADCON1 register = 1]
RW
0 : Select f1(3)
1 : Do not set
NOTES:
1. If the ADCON0 register is rew ritten during A/D conversion, the conversion result is indeterminate.
2. When changing A/D operation mode, set the analog input pin again.
3. Set øAD frequency to 10 MHz or below .
4. The analog input pin can be select according to a combination of the CH0 to CH2 bits and the ADGSEL0 bit.
CH2 to CH0 ADGSEL0 = 0
ADGSEL0 = 1
000b
AN0
Do not set
001b
AN1
010b
AN2
011b
AN3
100b
AN4
AN8
101b
AN5
AN9
110b
AN6
AN10
111b
AN7
AN11
Figure 19.6 ADCON0 Register in Repeat Mode
Rev.2.00 Aug 20, 2008 Page 407 of 501
REJ09B0251-0200