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

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.4 ADCON0 Register and ADCON1 Registers in One-shot 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 b 1 b 0
b 7 b 6 b 5 b 4 b 3 b 2 b 1 b 0
0
NOTES:
N O T E S :
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:
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 . T h e
3 . 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
Jan 27, 2006
0
c o n v e r s i o n .
0
1
C H 2 t o C H 0
A D
0 0 0
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
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 .
0
2
2
2
2
2
2
2
2
0
0
page 129 of 205
0
A D G S E L 0 = 0
(1)
( 1 )
B i t s y m b o l
B i t s y m b o l
A D G S E L 0
(b6-b7)
(b2-b0)
AN
AN
AN
AN
AN
AN
AN
AN
BITS
C K S 1
V C U T
ADST
CKS0
MD
C H 0
C H 1
C H 2
(b5)
Symbol
ADCON0
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
V r e f c o n n e c t b i t
Reserved bit
Reserved bit
A n a l o g i n p u t p i n s e l e c t b i t
A D o p e r a t i o n m o d e s e l e c t
b i t
A D i n p u t g r o u p s e l e c t b i t
F r e q u e n c y s e l e c t b i t 0
Reserved bit
A / D c o n v e r s i o n s t a r t f l a g
A D G S E L 0 = 1
Avoid these
settings
(2 )
(2 )
A N
A N
A N
A N
Bit name
8
9
1 0
1 1
Bit name
Address
Address
00D6
00D7
(3 )
16
16
(3 )
0 : 8-bit mode
1 : 10-bit mode
0 : CKS0 bit in ADCON0 register is valid
1 : f
1 : V r e f c o n n e c t e d
S e t t o “ 0 ”
Set to “0”
(4 )
2
00000XXX
AD
After reset
After reset
(Note 4)
0 : One-shot mode
0: Port P0 group selected (AN
1: Port P1 group selected (AN
0 : f
1 : f
0 : A/D conversion disabled
1 : A/D conversion started
Set to “0”
is selected
00
AD
AD
16
/4 is selected
/2 is selected
2
Function
F u n c t i o n
0
8
to AN
to AN
7
11
)
)
14. One-shot mode
R W
RW
R W
R W
R W
RW
R W
R W
RW
R W
R W
R W
R W
R W
RW

Related parts for R5F21133DFP