Renesas M16C/60 Series Hardware Manual page 199

Hide thumbs Also See for M16C/60 Series:
Table of Contents

Advertisement

Under development
This document is under development and its contents are subject to change.
M16C/6N5 Group
A-D control register 2 (Note 1)
b7
b6
b5
b4
b3
b2
0
Note 1: If the ADCON2 register is rewritten during A-D conversion, the conversion result will be indeterminate.
Note 2: The φ
frequency must be 10 MHz or less. The selected φ
AD
ADCON0 register's CKS0 bit, ADCON1 register's CKS1 bit, and ADCON2 register's CKS2 bit.
CKS0
0
0
0
0
1
1
1
1
A-D register i (i = 0 to 7)
(b15)
b7
Figure 1.16.3 ADCON2 Register, and AD0 to AD7 Registers
Rev.1.00
2003.05.30
page 185
b1
b0
Symbol
ADCON2
Bit symbol
A-D conversion method
SMP
select bit
ADGSEL0
A-D input group select bit
ADGSEL1
-
Reserved bit
(b3)
Frequency select bit 2
CKS2
-
Nothing is assigned. When write, set to "0".
(b7-b5)
When read, their contents are "0".
CKS1
CKS2
0
0
Divide-by-4 of f
0
1
Divide-by-2 of f
1
0
f
AD
1
1
0
0
Divide-by-12 of f
0
1
Divide-by-6 of f
1
0
Divide-by-3 of f
1
1
(b8)
b0
b7
When the ADCON1 register's
BITS bit is "1" (10-bit mode)
Low-order 8 bits of
A-D conversion result
High-order 2 bits of
A-D conversion result
Nothing is assigned. When write, set to "0".
When read, their contents are "0".
Address
After reset
03D4
00
16
Bit name
0 : Without sample and hold
1 : With sample and hold
b2 b1
0 0 : Port P10 group is selected
0 1 : Must not be set
1 0 : Port P0 group is selected
1 1 : Port P2 group is selected
Set to "0"
0 : Selects f
divide-by-4 of f
1 : Selects divide-by-3 of f
(Note 2)
of f
AD
frequency is determined by a combination of the
AD
φ
AD
AD
AD
AD
AD
AD
Symbol
AD0
03C1
AD1
03C3
AD2
03C5
AD3
03C7
AD4
03C9
AD5
03CB
b0
AD6
03CD
AD7
03CF
Function
When the ADCON1 register's
BITS bit is "0" (8-bit mode)
A-D conversion result
When read, the content is
indeterminate.
A-D Converter
16
Function
, divide-by-2 of f
, or
AD
AD
.
AD
, divide-by-6
AD
, or divide-by-12 of f
.
AD
Address
After reset
to 03C0
Indeterminate
16
16
to 03C2
Indeterminate
16
16
to 03C4
Indeterminate
16
16
to 03C6
Indeterminate
16
16
to 03C8
Indeterminate
16
16
to 03CA
Indeterminate
16
16
Indeterminate
to 03CC
16
16
to 03CE
Indeterminate
16
16
RW
RW
RW
RW
RW
RW
-
RW
RO
RO
-

Advertisement

Table of Contents
loading

This manual is also suitable for:

M16c/6n5

Table of Contents