Download MCF5282 ColdFire® Microcontroller User's Manual
Transcript
Interrupt Operation 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 0x0002 0x0001 MODULUS 0x0000 0x0005 0x0005 PIF Figure 19-5. Counter Reloading from the Modulus Latch 19.6.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 0x0002 0x0001 MODULUS 0x0000 0xFFFF 0x0005 PIF Figure 19-6. Counter in Free-Running Mode 19.6.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. PRE[3:0] × (PM[15:0] + 1) × 2 Timeout period = --------------------------------------------------------------------------system clock 19.7 Interrupt Operation Table 19-4 shows the interrupt request generated by the PIT. MCF5282 Coldfire Microcontroller User’s Manual, Rev. 2.3 Freescale Semiconductor 19-7
Related documents
MCF5282 ColdFire® Microcontroller User's Manual
Motorola MCF5281 Network Card User Manual
MCF5282 and MCF5216 ColdFire Microcontroller User`s Manual
MCF5213 ColdFire ® Integrated Microcontroller Reference Manual
MCF5222x - Freescale Semiconductor
MCF52235 ColdFire Integrated Microcontroller Reference Manual
Freescale Semiconductor i.MX31 PDK 1.4 Network Card User Manual
M68HC16 R SERIES - Freescale Semiconductor
ColdFire Technical Notes V9.12.256
QADC64 Reference
mc68336/376 user`s manual
MCF5235RM, MCF5235