Specifications

71
3706C–MICRO–2/11
AT89LP3240/6440
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.
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.
Table 13-1. T2CCA – Timer/Counter 2 Compare/Capture Address
T2CCA Address = 0D1H Reset Value = xxxx xx00B
Not Bit Addressable
——————T2CCA.1T2CCA.0
Bit76543210
Symbol Function
T2CCA
[1-0]
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 Reset Value = 0000 0000B
Not Bit Addressable
T2CCD.15 T2CCD.14 T2CCD.13 T2CCD.12 T2CCD.11 T2CCD.10 T2CCD.9 T2CCD.8
Bit76543210
Symbol Function
T2CCD
[15-8]
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.
Table 13-3. T2CCL – Timer/Counter 2 Compare/Capture Data Low
T2CCC Address = 0D3H Reset Value = 0000 0000B
Not Bit Addressable
T2CCD.7 T2CCD.6 T2CCD.5 T2CCD.4 T2CCD.3 T2CCD.2 T2CCD.1 T2CCD.0
Bit76543210
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.