Periodic Interrupt Timer (PIT_RTI)
Freescale Semiconductor
20-5
PXR40 Microcontroller Reference Manual, Rev. 1
20.3.2.2
Timer Load Value Register (PIT_RTI_LDVAL, PIT_CHn_LDVAL)
This register selects the timeout period for the timer interrupts.
20.3.2.3
Current Timer Value Register (PIT_RTI_CVAL, PIT_CHn_CVAL)
This register indicates the current timer position.
20.3.2.4
Timer Control Register (PIT_RTI_TCTRL, PIT_CHn_TCTRL)
This register contains the control bits for each timer.
Offset: channe 0x00
RTI base = 0x0F0
CH0 base = 0x100
CH1 base = 0x110
CH2 base = 0x120
CH3 base = 0x130
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
TSV[0:31]
W
Reset 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 20-3. Timer Load Value Register (PIT_RTI_LDVAL, PIT_CHn_LDVAL)
Table 20-3. PIT_RTI_LDVAL, PIT_CHn_LDVAL Field Descriptions
Field
Description
0–31
TSV
Time Start Value Bits. These bits set the timer start value. The timer counts down until it reaches 0,
then it generates an interrupt and loads this register value again. Writing a new value to this register
does not restart the timer, instead the value is loaded once the timer expires. To abort the current
cycle and start a timer period with the new value, the timer must be disabled and enabled again (see
).
Offset: channe 0x04
Access: User read
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
R
TVL[31:0]
W
Reset 0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 20-4. Current Timer Value Register (PIT_RTI_CVAL, PIT_CHn_CVAL)
Table 20-4. PIT_RTI_CVAL, PIT_CHn_CVAL Field Descriptions
Field
Description
0–31
TVL
Current Timer Value. These bits represent the current timer value. Note that the timer uses a
downcounter.
NOTE: The timer values are frozen in Debug mode if the FRZ bit is set in the PIT Module Control
Register (see
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...