Timers Programming Model
MSC8144E Reference Manual, Rev. 3
Freescale Semiconductor
21-17
Timer Channel Compare Register 2 (TMR[0–3]CMP2[0–3]), page 21-21.
Timer Channel Compare Load Register 1 (TMR[0–3]CMPLD1[0–3]), page 21-22.
Timer Channel Compare Load Register 2 (TMR[0–3]CMPLD2[0–3]), page 21-22.
Timer Channel Comparator Status and Control Registers (TMR[0–3]COMSC[0–3]),
page 21-22.
Timer Channel Capture Register (TMR[0–3]CAP[0–3]), page 21-22.
Timer Channel Load Register (TMR[0–3]LOAD[0–3]), page 21-24.
Timer Channel Hold Registers (TMR[0–3]HOLD[0–3]), page 21-24.
Timer Channel Counter Register (TMR[0–3]CNTR[0–3]), page 21-24.
Note:
The base addresses for the device level timer modules are as follows:
Timer 0 = 0xFFF26000
Timer 1 = 0xFFF26100
Timer 2 = 0xFFF26200
Timer 3 =- 0xFFF26300
21.4.1.1
Timer Channel Control Registers (TMRnCTLx)
TMR[0–3]CTL[0–3]
Timer Control Registers
Offset 0x18 + x*0x40
Bit
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0
CM
PCS
SC
ONCE LEN
DIR
EIN
OFLM
Type
R/W
Reset
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
Table 21-4. TMR[0–3]CTL[0–3] Bit Descriptions
Name
Reset
Description
Settings
CM
15–13
0
Count Mode
Control the basic counting behavior of the
counter. Rising edges are counted only when
TxSCTL[IPS] = 0. Falling edges are counted
only when TxSCTL[IPS] = 1.
When count mode 010 is selected, the PCS bits
must not be set to 1000–1111.
When count mode 111 is selected, the PCS bits
must be set to one of the “Timer N output”
selections.
000
No operation. Disabled.
001
Count rising edges of the primary
source.
010
Count rising and falling edges of the
primary source.
011
Count rising edges of the primary
source while the secondary input is
high active.
100
Quadrature count mode, uses primary
clock and secondary input.
101
Count rising edges of the primary
clock; secondary input specifies
direction (1 = minus).
110
Edge of the secondary input triggers
primary count until a compare occurs.
111
Cascaded timer mode (up/down).
Summary of Contents for MSC8144E
Page 1: ...MSC8144E Reference Manual Quad Core Media Signal Processor MSC8144ERM Rev 3 July 2009 ...
Page 48: ...MSC8144E Reference Manual Rev 3 xlviii Freescale Semiconductor ...
Page 86: ...MSC8144E Reference Manual Rev 3 1 38 Freescale Semiconductor Overview ...
Page 168: ...MSC8144E Reference Manual Rev 3 3 60 Freescale Semiconductor External Signals ...
Page 242: ...MSC8144E Reference Manual Rev 3 5 26 Freescale Semiconductor Reset ...
Page 314: ...MSC8144E Reference Manual Rev 3 8 24 Freescale Semiconductor General Configuration Registers ...
Page 414: ...MSC8144E Reference Manual Rev 3 10 14 Freescale Semiconductor MSC8144E SC3400 DSP Subsystem ...
Page 452: ...MSC8144E Reference Manual Rev 3 11 38 Freescale Semiconductor Internal Memory Subsystem ...
Page 520: ...MSC8144E Reference Manual Rev 3 12 68 Freescale Semiconductor DDR SDRAM Memory Controller ...
Page 1070: ...MSC8144E Reference Manual Rev 3 21 28 Freescale Semiconductor Timers ...