mc68hc05x4dw Freescale Semiconductor, Inc, mc68hc05x4dw Datasheet - Page 110

no-image

mc68hc05x4dw

Manufacturer Part Number
mc68hc05x4dw
Description
Xc68hc705x4 Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Port configuration register (PCR)
16-Bit Programmable Timer
MC68HC05X4 Rev 1.0
NOTE:
Address:
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.
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)
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.
Reset:
Freescale Semiconductor, Inc.
For More Information On This Product,
1 = 16-bit timer enabled
0 = 16-bit timer disabled
$0003
Bit 7
-
Figure 1. Port Configuration Register (PCR)
16-Bit Programmable Timer
Go to: www.freescale.com
6
-
WOIF
5
0
TIMEN
4
0
CAF
3
0
BPDE0
2
0
BWE
1
0
AWPS
Bit 0
2-ptimer
0

Related parts for mc68hc05x4dw