
Periodic Interrupt Timer (PIT)
PXN20 Microcontroller Reference Manual, Rev. 1
Freescale Semiconductor
22-5
22.3.2.2
Timer n Load Value Register (LDVALn)
These registers select the timeout period for the timer interrupts. Changes to this value are visible
immediately.
22.3.2.3
Timer n Current Value Register (CVALn)
These registers indicate the current timer position.
Table 22-3. PITMCR Field Descriptions
Field
Description
MDIS
Module Disable. This is used to disable the module clock. This bit should be enabled before any other setup is
done.
0 Clock for PIT Timers is enabled.
1 Clock for PIT Timers is disabled (default).
FRZ
Freeze. Allows the timers to be stopped when the device enters debug mode.
0 Timers continue to run in debug mode.
1 Timers are stopped in debug mode.
Offset: Channe 0x0000
LDVAL1 = 0x0100
LDVAL2 = 0x0110
LDVAL3 = 0x0120
LDVAL4 = 0x0130
LDVAL5 = 0x0140
LDVAL6 = 0x0150
LDVAL7 = 0x0160
LDVAL8 = 0x0170
Access: User read/write
0
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
R
TSV31 TSV30 TSV29 TSV28 TSV27 TSV26 TSV25 TSV24 TSV23 TSV22 TSV21 TSV20 TSV19 TSV18 TSV17 TSV16
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
TSV15 TSV14 TSV13 TSV12 TSV11 TSV10 TSV9
TSV8
TSV7
TSV6
TSV5
TSV4
TSV3
TSV2
TSV1
TSV0
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 22-3. Timer n Load Value Register (LDVALn)
Table 22-4. LDVALn Field Descriptions
Field
Description
TSVn
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 reloaded once the timer expires. To stop the current cycle and start a timer
period with the new value, the timer must be disabled and enabled again (see
).
Summary of Contents for PXN2020
Page 1: ...PXN20 Microcontroller Reference Manual Devices Supported PXN2020 PXN2120 PXN20RM Rev 1 06 2011...
Page 42: ...PXN20 Microcontroller Reference Manual Rev 1 lxiv Freescale Semiconductor...
Page 64: ...Introduction PXN20 Microcontroller Reference Manual Rev 1 1 22 Freescale Semiconductor...
Page 112: ...Signal Description PXN20 Microcontroller Reference Manual Rev 1 3 44 Freescale Semiconductor...
Page 118: ...Resets PXN20 Microcontroller Reference Manual Rev 1 4 6 Freescale Semiconductor...
Page 372: ...e200z6 Core Z6 PXN20 Microcontroller Reference Manual Rev 1 13 8 Freescale Semiconductor...
Page 412: ...e200z0 Core Z0 PXN20 Microcontroller Reference Manual Rev 1 14 14 Freescale Semiconductor...
Page 821: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 Freescale Semiconductor 27 49...
Page 822: ...Media Local Bus MLB PXN20 Microcontroller Reference Manual Rev 1 27 50 Freescale Semiconductor...
Page 1376: ...Memory Map PXN20 Microcontroller Reference Manual Rev 1 A 118 Freescale Semiconductor...