Renesas M16C/6NK Technical Information Seite 229

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 412
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 228
Rev.2.10 Apr 14, 2006 page 205 of 378
REJ09B0124-0210
M16C/6N Group (M16C/6NK, M16C/6NM) 16. A/D Converter
Figure 16.3 Registers ADCON2, and AD0 to AD7
NOTES:
1. If the ADCON2 register is rewritten during A/D conversion, the conversion result will be undefined.
2. The φAD frequency must be 10 MHz or less. The selected φAD frequency is determined by a combination of the
CKS0 bit in the ADCON0 register, the CKS1 bit in the ADCON1 register, and the CKS2 bit in the ADCON2 register.
b7 b6 b5 b4 b3 b2 b1 b0
0
Symbol Address After Reset
ADCON2 03D4h 00h
A/D Control Register 2
(1)
Bit Symbol Bit Name Function RW
RW
RW
RW
RW
RW
-
SMP
CKS2
ADGSEL0
ADGSEL1
-
(b3)
-
(b7-b5)
b2 b1
Nothing is assigned. If necessary, set to 0.
When read, the content is 0.
A/D input group select bits
A/D conversion method
select bit
Reserved bit
Frequency select bit 2
(2)
0 : Without sample and hold
1 : With sample and hold
0 0 : Port P10 group is selected
0 1 : Do not set a value
1 0 : Port P0 group is selected
1 1 : Port P2 group is selected
Set to 0
0 : Selects fAD, divide-by-2 of fAD, or
divide-by-4 of fAD.
1 : Selects divide-by-3 of fAD, divide-by-6
of fAD, or divide-by-12 of fAD.
Divide-by-4 of fAD
Divide-by-2 of fAD
fAD
Divide-by-12 of fAD
Divide-by-6 of fAD
Divide-by-3 of fAD
0
0
0
1
1
1
1
0
0
0
1
0
0
1
1
1
0
1
0
0
1
0
1
1
CKS2 CKS1 CKS0 φAD
(b15)
b7b7 b0 b0
(b8)
A/D Register i (i = 0 to 7)
Low-order 8 bits of
A/D conversion result
Function
When BITS bit in ADCON1
register is 1 (10-bit mode)
Nothing is assigned. If necessary, set to 0.
When read, the content is 0.
When read, the content is
undefined.
RW
-
RO
RO
High-order 2 bits of
A/D conversion result
When BITS bit is 0
(8-bit mode)
A/D conversion result
Symbol Address After Reset
AD0
AD1
AD2
AD3
AD4
AD5
AD6
AD7
03C1h to 03C0h
03C3h to 03C2h
03C5h to 03C4h
03C7h to 03C6h
03C9h to 03C8h
03CBh to 03CAh
03CDh to 03CCh
03CFh to 03CEh
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Undefined
Seitenansicht 228
1 2 ... 224 225 226 227 228 229 230 231 232 233 234 ... 411 412

Kommentare zu diesen Handbüchern

Keine Kommentare