Chapter 31 System Timer Module (STM)
MPC5602P Microcontroller Reference Manual, Rev. 4
Freescale Semiconductor
803
31.5.2.5
STM Channel Compare Register (STM_CMP
n
)
The STM Channel Compare Register (STM_CMP
n
) holds the compare value for channel
n
.
Table 31-5. STM_CIR
n
field descriptions
Field
Description
CIF
Channel Interrupt Flag
The flag and interrupt are cleared by writing a 1 to this bit. Writing a 0 has no effect.
0 No interrupt request.
1 Interrupt request due to a match on the channel.
Address: Base + 0x0018 (STM_CMP0)
Base + 0x0028 (STM_CMP1)
Base + 0x0038 (STM_CMP2)
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
CMP
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
CMP
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 31-5. STM Channel Compare Register (STM_CMP
n
)
Table 31-6. STM_CMP
n
field descriptions
Field
Description
CMP
Compare value for channel n
If the STM_CCR
n
[CEN] bit is set and the STM_CMP
n
register matches the STM_CNT register, a
channel interrupt request is generated and the STM_CIR
n
[CIF] bit is set.