English
Language : 

AT89LP428 Datasheet, PDF (63/149 Pages) ATMEL Corporation – 8-bit Microcontroller with 4K/8K Bytes In-System Programmable Flash
AT89LP428/828
Table 13-1. T2CCA – Timer/Counter 2 Compare/Capture Address
T2CCA Address = 0D1H
Not Bit Addressable
–
–
–
–
–
Bit
7
6
5
4
3
Reset Value = xxxx xx00B
–
T2CCA.1 T2CCA.0
2
1
0
Symbol
T2CCA
[1 - 0]
Function
Compare/Capture Address. Selects which CCA channel is currently accessible through the T2CCH, T2CCL and T2CCC
registers. Only one channel may be accessed at a time.
T2CCA1 T2CCA0 Channel
0
0
A – T2CCH, T2CCL and T2CCC access data and control for Channel A
0
1
B – T2CCH, T2CCL and T2CCC access data and control for Channel B
1
0
C – T2CCH, T2CCL and T2CCC access data and control for Channel C
1
1
D – T2CCH, T2CCL and T2CCC access data and control for Channel D
Table 13-2. T2CCH – Timer/Counter 2 Compare/Capture Data High
T2CCH Address = 0D2H
Not Bit Addressable
T2CCD.15 T2CCD.14 T2CCD.13 T2CCD.12 T2CCD.11
Bit
7
6
5
4
3
T2CCD.10
2
Reset Value = 0000 0000B
T2CCD.9
1
T2CCD.8
0
Symbol
T2CCD
[15 - 8]
Function
Compare/Capture Data (High Byte). Reads from T2CCH will return the high byte from the CCA channel currently
selected by T2CCA. The high byte of the selected CCA channel will be updated with the contents of T2CCH when
T2CCL is written. When writing multiple channels with the same high byte, T2CCH need not be updated between writes
to T2CCL.
Note: All writes/reads to/from T2CCH will access channel X as currently selected by T2CCA.The data registers for the remaining
unselected channels are not accessible.
Table 13-3. T2CCL – Timer/Counter 2 Compare/Capture Data Low
T2CCC Address = 0D3H
Not Bit Addressable
T2CCD.7 T2CCD.6 T2CCD.5 T2CCD.4 T2CCD.3
Bit
7
6
5
4
3
Reset Value = 0000 0000B
T2CCD.2
2
T2CCD.1
1
T2CCD.0
0
Symbol Function
T2CCD
[7 - 0]
Compare/Capture Data (Low Byte). Reads from T2CCL will return the low byte from the CCA channel currently selected
by T2CCA. Writes to T2CCL will update the selected CCA channel with the 16-bit contents of T2CCH and T2CCL.
Note: All writes/reads to/from T2CCL will access channel X as currently selected by T2CCA.The data registers for the remaining
unselected channels are not accessible.
63
3654A–MICRO–8/09