Chapter 15. Timer Module
15-5
General-Purpose Timer Registers
15.3.3 Timer Capture Registers (TCR0–TCR3)
Each TCR is used to latch the TCN value during a capture operation when an edge occurs
on the respective TIN0, TIN1, UART0_RxD, or UART1_RxD, as programmed in TMRn.
15.3.4 Timer Counters (TCN0–TCN3)
TCN registers are 16-bit up counters. Reading a TCNn gives the current counter value
without affecting counting. A write cycle to a TCN register causes it to be cleared.
15.3.5 Timer Event Registers (TER0–TER3)
TERs are used to report events recognized by the timer. On recognition of an event, the
timer sets the appropriate TERn bit, regardless of the corresponding interrupt enable bits
(ORI and CE) in the TMRn. Writing a 1 to a bit clears it; writing 0 has no effect. Both bits
must be cleared before the timer can negate the request to the interrupt controller. Both bits
may be cleared simultaneously.
Table 15-2 describes TERn fields.
15
0
Field
CAP (16-bit capture counter value)
Reset
0000_0000_0000_0000
R/W
Read Only
Addr
MBAR + 0x200 (TCR0); 0x220 (TCR1); 0x240 (TCR2); 0x260 (TCR3)
Figure 15-4. Timer Capture Registers (TCR0–TCR3)
15
0
Field
COUNT (16-bit timer counter value)
Reset
0000_0000_0000_0000
R/W
Read/Write
Addr
MBAR + 0x20C (TCN0); 0x22C (TCN1); 0x24C (TCN2); 0x26C (TCN3)
Figure 15-5. Timer Counter (TCN0–TCN3)
15
2
1
0
Field
—
REF
CAP
Reset
0000_0000_0000_0000
R/W
Read/Write
Addr
MBAR + 0x210 (TER0); 0x230 (TER1); 0x250 (TER2); 0x270 (TER3)
Figure 15-6. Timer Event Registers (TER0–TER3)
Summary of Contents for DigitalDNA ColdFire MCF5272
Page 1: ...MCF5272UM D Rev 0 02 2001 MCF5272 ColdFire Integrated Microprocessor User s Manual ...
Page 38: ...xxxviii MCF5272 User s Manual TABLES Table Number Title Page Number ...
Page 58: ...1 10 MCF5272 User s Manual MCF5272 Specific Features ...
Page 90: ...2 42 MCF5272 User s Manual Exception Processing Overview ...
Page 96: ...3 6 MCF5272 User s Manual MAC Instruction Execution Timings ...
Page 158: ...5 46 MCF5272 User s Manual Motorola Recommended BDM Pinout ...
Page 184: ...7 12 MCF5272 User s Manual Interrupt Controller Registers ...
Page 338: ...13 44 MCF5272 User s Manual Application Examples ...
Page 414: ...18 6 MCF5272 User s Manual PWM Programming Model ...
Page 452: ...19 38 MCF5272 User s Manual Power Supply Pins ...
Page 482: ...20 30 MCF5272 User s Manual Reset Operation ...
Page 492: ...21 10 MCF5272 User s Manual Non IEEE 1149 1 Operation ...