Chapter 26 eTimer
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
717
26.6.2.2
Compare register 2 (COMP2)
The COMP2 register stores the value used for comparison with the counter value. More explanation on the
use of COMP2 can be found in
Section 26.7.2.13, “Usage of compare registers.
26.6.2.3
Capture register 1 (CAPT1)
The CAPT1 register stores the value captured from the counter. Exactly when a capture occurs is defined
by the CPT1MODE bits in the Compare and Capture Control (CCCTRL) register. This is actually a 2-deep
FIFO and not a single register.
Address: Base + 0x0000 (eTimer0)
Base + 0x0020 (eTimer1)
Base + 0x0040 (eTimer2)
Base + 0x0060 (eTimer3)
Base + 0x0080 (eTimer4)
Base + 0x00A0 (eTimer5)
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
COMP1[15:0]
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 26-3. Compare register 1 (COMP1)
Table 26-2. COMP1 field descriptions
Field
Description
COMP1[15:0]
Compare 1
Stores the value used for comparison with the counter value.
Note:
This register is not byte accessible.
Address: Base + 0x0002 (eTimer0)
Base + 0x0022 (eTimer1)
Base + 0x0042 (eTimer2)
Base + 0x0062 (eTimer3)
Base + 0x0082 (eTimer4)
Base + 0x00A2 (eTimer5)
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
COMP2[15:0]
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 26-4. Compare register 2 (COMP2)
Table 26-3. COMP2 field descriptions
Field
Description
COMP2[15:0]
Compare 2
Stores the value used for comparison with the counter value.
Note:
This register is not byte accessible.