Chapter 31 System Timer Module (STM)
MPC5602P Microcontroller Reference Manual, Rev. 4
802
Freescale Semiconductor
31.5.2.3
STM Channel Control Register (STM_CCR
n
)
The STM Channel Control Register (STM_CCR
n
) enables and services channel
n
of the timer.
31.5.2.4
STM Channel Interrupt Register (STM_CIR
n
)
The STM Channel Interrupt Register (STM_CIR
n
) enables and services channel
n
of the timer.
Table 31-3. STM_CNT field descriptions
Field
Description
CNT
Timer count value used as the time base for all channels. When enabled, the counter increments at
the rate of the system clock divided by the prescale value.
Address: Base + 0x0010 (STM_CCR0)
Base + 0x0020 (STM_CCR1)
Base + 0x0030 (STM_CCR2)
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
0
CEN
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 31-3. STM Channel Control Register (STM_CCR
n
)
Table 31-4. STM_CCR
n
field descriptions
Field
Description
CEN
Channel Enable
0 The channel is disabled.
1 The channel is enabled.
Address: Base + 0x0014 (STM_CIR0)
Base + 0x0024 (STM_CIR1)
Base + 0x0034 (STM_CIR2)
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
0
CIF[0]
W
w1c
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 31-4. STM Channel Interrupt Register (STM_CIR
n
)