Periodic Interrupt Timer and Real Time Interrupt (PIT_RTI)
MPC5510 Microcontroller Family Reference Manual, Rev. 1
28-6
Freescale Semiconductor
Preliminary
28.3.2.3
Interrupt Flags Register (PITFLG)
This register holds the PIT interrupt flags. Timer 0 is the special timer RTI, which can be used to wake up
the device.
28.3.2.4
PIT Interrupt Enable Register (PITINTEN)
This register enables PIT interrupts.
Table 28-4. TVAL0–8 Field Descriptions
Field
Description
TVL
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.
Offset: 0x0100
Access: User read/write
(write to clear)
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
TIF8
TIF7
TIF6
TIF5
TIF4
TIF3
TIF2
TIF1
RTIF
W
w1c
w1c
w1c
w1c
w1c
w1c
w1c
w1c
w1c
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 28-4. PIT Interrupt Flags Register (PITFLG)
Table 28-5. PITFLG Field Descriptions
Field
Description
bits 0–22
Reserved.
TIFn
Real Time Interrupt Flags for Timer 1–8. TIFn is set to 1 at the end of the timer period. This flag can be
cleared by writing a 1 only. Writing a 0 has no effect. If enabled (TIEx = 1 and ISELx = 1), TIFn causes
an interrupt request.
0 Time-out has not yet occurred
1 Time-out has occurred
RTIF
Real-Time Interrupt Flag. RTIF is set to 1 at the end of the RTI period. This flag can be cleared by writing
a 1 only. Writing a 0 has no effect. If enabled (RTIE = 1), RTIF causes an interrupt request.
0 RTI time-out has not yet occurred
1 RTI time-out has occurred