System Timer Module (STM)
Freescale Semiconductor
19-3
PXR40 Microcontroller Reference Manual, Rev. 1
19.3.2
Register Descriptions
The following sections detail the individual registers within the STM programming model.
19.3.2.1
STM Control Register (STM_CR)
The STM Control Register (STM_CR) includes the prescale value, freeze control and timer enable bits.
Table 19-2. STM_CR Field Descriptions
Offset 0x000
Access: 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
CPS
0
0
0
0
0
0
FRZ
TEN
W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Figure 19-1. STM Control Register (STM_CR)
Field
Description
0–15
Reserved
16–23
CPS
Counter Prescaler. Selects the clock divide value for the prescaler (1 - 256).
0x00 = Divide system clock by 1
0x01 = Divide system clock by 2
...
0xFF = Divide system clock by 256
24–29
Reserved
30
FRZ
Freeze. Allows the timer counter to be stopped when the device enters debug mode.
0 = STM counter continues to run in debug mode.
1 = STM counter is stopped in debug mode.
31
TEN
Timer Counter Enabled.
0 = Counter is disabled.
1 = Counter is enabled.
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...