English
Language : 

MC68HC05X4 Datasheet, PDF (110/156 Pages) Motorola, Inc – HCMOS Microcontroller Unit
Freescale Semiconductor, Inc.
16-Bit Programmable Timer
The timer has a 16-bit architecture, hence each specific functional
segment is represented by two 8-bit registers. These registers contain
the high and low byte of that functional segment. Accessing the low byte
of a specific timer function allows full control of that function; however,
an access of the high byte inhibits that specific timer function until the low
byte is also accessed.
NOTE:
The I-bit in the CCR should be set while manipulating both the high and
low byte register of a specific timer function to ensure that an interrupt
does not occur.
The timer must be enabled by setting the TIMEN bit in the port
configuration register (PCR)
Port configuration register (PCR)
Address: $0003
Bit 7
6
5
4
3
2
1
WOIF TIMEN CAF BPDE0 BWE
Reset: -
-
0
0
0
0
0
Figure 1. Port Configuration Register (PCR)
Bit 0
AWPS
0
TIMEN — Timer enable
When set, this bit enables the 16-bit programmable timer and selects the
TCMP function on the shared PB7/TCMP pin. When this bit is cleared
the TCMP function is disabled, but the timer is still enabled and may
produce interrupts from an output compare event.
1 = 16-bit timer enabled
0 = 16-bit timer disabled
MC68HC05X4 Rev 1.0
16-Bit Programmable Timer
For More Information On This Product,
Go to: www.freescale.com
2-ptimer