359
AMR—A/D mode register
H'C4
A/D converter
Bit
Initial value
Read/Write
7
CKS
0
R/W
6
TRGE
0
R/W
4
—
1
—
3
CH3
0
R/W
0
CH0
0
R/W
2
CH2
0
R/W
1
CH1
0
R/W
Channel select
No channel selected
Bit 3
0
Bit 2
Analog input channel
CH3
CH2
0
CH1
CH0
Bit 1
Bit 0
0
AN
1
1
0
1
1
1
0
0
External trigger select
0
Disables start of A/D conversion by external trigger
1
Enables start of A/D conversion by rising or falling edge
of external trigger at pin ADTRG
5
CKS1
0
R/W
4
AN
5
AN
6
AN
7
Reserved
*
*
1
*
*
Reserved
Clock select
Reserved
Bit 5
0
Conversion Period
CKS1
124/ø
1
—
ø = 2 MHz
62
µ
s
—
ø = 5 MHz
24.8
µ
s
Conversion Time
Note:
*
Operation is not guaranteed if the conversion time is less than 12.4
µ
s.
Set bits 5 and 7 for a value of at least 12.4
µ
s.
Don’t care
*
Bit 7
0
CKS
0
62/ø
0
31
µ
s
12.4
µ
s
1
31/ø
1
15.5
µ
s
—
1
*
*
*
ADRR—A/D result register
H'C5
A/D converter
Bit
Initial value
Read/Write
7
ADR7
Undefined
R
6
ADR6
Undefined
R
5
ADR5
Undefined
R
4
ADR4
Undefined
R
3
ADR3
Undefined
R
0
ADR0
Undefined
R
2
ADR2
Undefined
R
1
ADR1
Undefined
R
A/D conversion result