![NXP Semiconductors SAFE ASSURE Qorivva MPC5601P Reference Manual Download Page 794](http://html.mh-extra.com/html/nxp-semiconductors/safe-assure-qorivva-mpc5601p/safe-assure-qorivva-mpc5601p_reference-manual_1721898794.webp)
Chapter 30 Periodic Interrupt Timer (PIT)
MPC5602P Microcontroller Reference Manual, Rev. 4
794
Freescale Semiconductor
30.3.2.5
Timer Flag Register
n
(TFLG
n
)
These registers contain the PIT interrupt flags.
30.4
Functional description
30.4.1
General
This section gives detailed information on the internal operation of the module. Each timer can be used to
generate trigger pulses as well as to generate interrupts, each interrupt will be available on a separate
interrupt line.
Table 30-5. TCTRL
n
field descriptions
Field
Description
TIE
Timer Interrupt Enable Bit
0: Interrupt requests from Timer x are disabled
1: Interrupt will be requested whenever TIF is set
When an interrupt is pending (TIF set), enabling the interrupt will immediately cause an interrupt
event. To avoid this, the associated TIF flag must be cleared first.
TEN
Timer Enable Bit
0: Timer will be disabled
1: Timer will be active
Address: Channel Base + 0x000C
TFLG0 = PI 0x010C
TFLG1 = PI 0x011C
TFLG2 = PI 0x012C
TFLG3 = PI 0x013C
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
TIF
W
w1c
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 30-6. Timer Flag register
n
(TFLG
n
)
Table 30-6. TFLG
n
field descriptions
Field
Description
TIF
Time Interrupt Flag
TIF is set to 1 at the end of the timer period.This flag can be cleared only by writing it with a 1. Writing
a 0 has no effect. If enabled (TIE = 1), TIF causes an interrupt request.
0: Time-out has not yet occurred
1: Time-out has occurred