English
Language : 

MC68HC908AS32A Datasheet, PDF (145/280 Pages) Freescale Semiconductor, Inc – Microcontrollers
Chapter 12
Programmable Interrupt Timer (PIT)
12.1 Introduction
This section describes the programmable interrupt timer (PIT) which is a periodic interrupt timer whose
counter is clocked internally via software programmable options. Figure 12-1 is a block diagram of the
PIT.
For further information regarding timers on M68HC08 Family devices, please consult the HC08 Timer
Reference Manual (Freescale document order number TIM08RM/AD).
12.2 Features
Features include:
• Programmable PIT clock input
• Free-running or modulo up-count operation
• PIT counter stop and reset bits
12.3 Functional Description
Figure 12-1 shows the structure of the PIT. The central component of the PIT is the 16-bit PIT counter
that can operate as a free-running counter or a modulo up-counter. The counter provides the timing
reference for the interrupt. The PIT counter modulo registers, PMODH–PMODL, control the modulo value
of the counter. Software can read the counter value at any time without affecting the counting sequence.
INTERNAL
BUS CLOCK
PRESCALER
CSTOP
CRST
16-BIT COUNTER
PRESCALER SELECT
PPS2 PPS1 PPS0
16-BIT COMPARATOR
TIMPMODH:TIMPMODL
Figure 12-1. PIT Block Diagram
POF
POIE
INTERRUPT
LOGIC
MC68HC908AS32A Data Sheet, Rev. 2.0
Freescale Semiconductor
145