mc68307ad Freescale Semiconductor, Inc, mc68307ad Datasheet - Page 13

no-image

mc68307ad

Manufacturer Part Number
mc68307ad
Description
Integrated Multiple-bus Processor
Manufacturer
Freescale Semiconductor, Inc
Datasheet
DUAL TIMER MODULE
The MC68307 includes two independent, identical, general-purpose timers. Each general-purpose timer block
contains a free-running 16-bit timer which can be used in various modes, to capture the timer value with an
external event, to trigger an external event or interrupt when the timer reaches a set value, or to count external
events. Each has an 8-bit prescaler to allow programmable clock input frequency derived from the system
clock (divided by 1 or by 16) or external count input. The output pins (one per timer) have a variety of program-
mable modes and the output signal can be an active-low pulse or a toggle of the current output. The features
of the 16-bit timer include:
Dual Timer Programming Model
Table 8 shows the programming model for the dual timer module. The FC (function code) column indicates
whether a register is restricted to supervisor access (S) or programmable to exist in either supervisor or user
space (S/U). The address column contains the offset from the base address (MBASE) contained in the SIM07
MBAR
MOTOROLA
• Maximum period of 16 seconds (at 16.67 MHz)
• 60-ns resolution (at 16.67 MHz)
• Programmable sources for the clock input, including external clock
• Input capture capability with programmable trigger edge on input pins
• Output compare with programmable mode for the output pins
• Two timers externally cascadeable to form a 32-bit timer
• Free-run and restart modes
.
MBASE+$120
MBASE+$122
MBASE+$124
MBASE+$126
MBASE+$129
MBASE+$130
MBASE+$132
MBASE+$134
MBASE+$136
MBASE+$139
Address
S/U
S/U
S/U
S/U
S/U
S/U
S/U
S/U
S/U
S/U
FC
Table 8. Dual Timer Module Registers
MC68307 TECHNICAL INFORMATION
Do not access byte $128 Timer event register 1 (TER1)
Do not access byte $138 Timer event register 2 (TER2)
Timer reference register 2 (TRR1)
Timer reference register 1 (TTR1)
Timer capture register 1 (TCR1)
Timer capture register 2 (TCR2)
Timer mode register 1 (TMR1)
Timer mode register 2 (TMR2)
Timer counter 1 (TCN1)
Timer counter 2 (TCN2)
Register Name
13

Related parts for mc68307ad