R5F21133DFP RENESAS [Renesas Technology Corp], R5F21133DFP Datasheet - Page 142

no-image

R5F21133DFP

Manufacturer Part Number
R5F21133DFP
Description
16-BIT SINGLE-CHIP MICROCOMPUTER M16C FAMILY/R8C/Tiny SERIES
Manufacturer
RENESAS [Renesas Technology Corp]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
R5F21133DFP#U0
Manufacturer:
Renesas Electronics America
Quantity:
10 000
R8C/13 Group
Rev.1.20
REJ09B0111-0120
Figure 14.5 ADCON0 Register and ADCON1 Register in Repeat Mode
A D c o n t r o l r e g i s t e r 0
AD control register 1
b 7 b 6 b 5 b 4 b 3 b 2 b1 b 0
b7 b6 b5 b4 b3 b2 b1 b0
0
NOTES:
N O T E S :
1 . I f t h e A D C O N 1 r e g i s t e r i s r e w r i t t e n d u r i n g A / D c o n v e r s i o n , t h e c o n v e r s i o n r e s u l t i s i n d e t e r m i n a t e .
2 . I n r e p e a t m o d e , t h e B I T S b i t m u s t b e s e t t o “ 0 ” ( 8 - b i t m o d e ) .
3 . T h e f
4 . I f t h e V C U T b i t i s r e s e t f r o m “ 0 ” ( V r e f u n c o n n e c t e d ) t o “ 1 ” ( V r e f c o n n e c t e d ) , w a i t f o r 1 µ s o r m o r e b e f o r e s t a r t i n g A / D
1. If the ADCON0 register is rewritten during A/D conversion, the conversion result is indeterminate.
2. When changing A/D operation mode, set analog input pin again.
3. This bit is valid when the CKS1 bit in the ADCON1 register is set to “0”.
4. The analog input pin can be selected by a combination of the CH2 to CH0 bits and ADGSEL0 bit as follows:
0
Jan 27, 2006
c o n v e r s i o n .
0
1
CH2 to CH0
A D
000
001
010
011
100
101
110
111
f r e q u e n c y m u s t b e 1 0 M H z o r l e s s .
1
0
2
2
2
2
2
2
2
2
0
0
page 131 of 205
0
ADGSEL0=0
( 1 )
(1)
Bit symbol
B i t s y m b o l
( b 6 - b 7 )
A D G S E L 0
AN
AN
AN
AN
AN
AN
AN
AN
( b 2 - b 0 )
BITS
CKS1
VCUT
A D S T
CKS0
C H 0
C H 1
C H 2
MD
( b 5 )
Symbol
00000XXX
Symbol
ADCON1
0
1
2
3
4
5
6
7
8/10-bit mode select
bit
F r e q u e n c y s e l e c t
b i t 1
Vref connect bit
R e s e r v e d b i t
Reserved bit
Analog input pin select
bit
AD operation mode select
bit
Reserved bit
A / D c o n v e r s i o n s t a r t f l a g
Frequency select bit 0
AD input group select bit
ADGSEL0=1
A v o i d t h e s e
s e t t i n g s
(2)
2
(2)
(2)
(3 )
A N
A N
A N
A N
Bit name
8
9
1 0
1 1
Bit name
ADCON0
Address
Address
00D7
(4)
16
(3)
0 : 8-bit mode
0 : CKS0 bit in ADCON0 register is valid
1 : f
1 : Vref connected
S e t t o “ 0 ”
Set to “0”
(4)
AD
After reset
After reset
1 : R e p e a t m o d e
0 : f
1 : f
0: Port P0 group selected (AN
1: Port P1 group selected (AN
0 : A / D c o n v e r s i o n d i s a b l e d
1 : A / D c o n v e r s i o n s t a r t e d
( N o t e 4 )
S e t t o “ 0 ”
00D6
is selected
00
A D
A D
16
/ 4 i s s e l e c t e d
/ 2 i s s e l e c t e d
16
Function
F u n c t i o n
0
8
to AN
to AN
7
11
)
)
14.2 Repeat mode
R W
R W
R W
R W
R W
R W
R W
R W
R W
RW
R W
R W
R W
R W
R W

Related parts for R5F21133DFP