Chapter 30 Periodic Interrupt Timer (PIT)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
793
30.3.2.4
Timer Control Register
n
(TCTRL
n
)
The TCTRL register contains the control bits for each timer.
Address: Channel Base + 0x0004
CVAL0 = PI 0x0104
CVAL1 = PI 0x0114
CVAL2 = PI 0x0124
CVAL3 = PI 0x0134
Access: User read-only
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R TVL31 TVL30 TVL29 TVL28 TVL27 TVL26 TVL25 TVL24 TVL23 TVL22 TVL21 TVL20 TVL19 TVL18 TVL17 TVL16
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R TVL15 TVL14 TVL13 TVL12 TVL11 TVL10 TVL9 TVL8 TVL7 TVL6 TVL5 TVL4 TVL3 TVL2 TVL1 TVL0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 30-4. Current Timer Value register
n
(CVAL
n
)
Table 30-4. CVAL
n
field descriptions
Field
Description
TVL
n
Current Timer Value
These bits represent the current timer value. Note that the timer uses a downcounter.
NOTE: The timer values will be frozen in Debug mode if the FRZ bit is set in the PIT Module Control
Register (see
Address: Channel Base + 0x0008
TCTRL0 = PI 0x0108
TCTRL1 = PI 0x0118
TCTRL2 = PI 0x0128
TCTRL3 = PI 0x0138
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
0
0
0
0
0
0
0
0
0
0
0
0
0
0
TIE
TEN
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 30-5. Timer Control register
n
(TCTRL
n
)