English
Language : 

MMC2107 Datasheet, PDF (291/618 Pages) –
Freescale Semiconductor, Inc.
Programmable Interrupt Timer Modules (PIT1 and PIT2)
Functional Description
14.7.2 Free-Running Timer Operation
This mode of operation is selected when the RLD bit in PCSR is clear.
In this mode, the counter rolls over from 0x0000 to 0xFFFF without
reloading from the modulus latch and continues to decrement.
When the counter reaches a count of 0x0000, the PIF flag is set in
PCSR. If the PIE bit is set in PCSR, the PIF flag issues an interrupt
request to the CPU.
When the OVW bit is set in PCSR, the counter can be directly initialized
by writing to PMR without having to wait for the count to reach 0x0000.
PIT CLOCK
COUNTER
MODULUS
PIF
0x0002
0x0001
0x0005
0x0000
0xFFFF
Figure 14-6. Counter in Free-Running Mode
14.7.3 Timeout Specifications
The 16-bit PIT counter and prescaler supports different timeout periods.
The prescaler divides the system clock as selected by the PRE[3:0] bits
in PCSR. The PM[15:0] bits in PMR select the timeout period.
timeout period = PRE[3:0] × (PM[15:0] + 1) clocks
MMC2107 – Rev. 2.0
MOTOROLA
Programmable Interrupt Timer Modules (PIT1 and PIT2)
For More Information On This Product,
Go to: www.freescale.com
Technical Data
291