Figure 26-1 General-Purpose Timers Block Diagram - Motorola DragonBall MC9328MX1 Reference Manual

Integrated portable system processor
Table of Contents

Advertisement

Chapter 26
General-Purpose Timers
The MC9328MX1 contains two identical general-purpose 32-bit timers with programmable prescalers and
compare and capture registers. Each timer counter value can be captured using an external event and can
be configured to trigger a capture event on either the leading or trailing edges of an input pulse. The timer
can also generate an interrupt when the timer reaches a programmed value. Each timer has an 8-bit
prescaler providing a programmable clock frequency derived from PERCLK1. Figure 26-1 illustrates the
general-purpose timers block diagram.
PERCLK1
÷ 16
PERCLK1
CLK32
TIN
TIN
TIN
CLK32
PERCLK1
PERCLK1
÷ 16
The timers have the following features:
Maximum period of 512
10 ns resolution at 100 MHz
Programmable sources for the clock input, including external clock
Input capture capability with programmable trigger edge
Output compare with programmable mode
Free-run and restart modes
Software reset function
MOTOROLA
PCLK
Prescaler1
Capture
Logic
Capture
Logic
PCLK
Prescaler2
Figure 26-1. General-Purpose Timers Block Diagram
×
65536 seconds at 32.768 kHz or 436
General-Purpose Timers
1 Compare
1 Counter
1 Capture
1 Control
1 Status
2 Status
2 Control
2 Capture
2 Counter
2 Compare
×
65536 seconds at 38.4 kHz
TIMER1_INT
Output
Logic
MPU Bus
MPU Bus
TMR2OUT
Output
Logic
TIMER2_INT
26-1

Advertisement

Table of Contents
loading

Table of Contents