mc68hc05x4dw Freescale Semiconductor, Inc, mc68hc05x4dw Datasheet - Page 114

no-image

mc68hc05x4dw

Manufacturer Part Number
mc68hc05x4dw
Description
Xc68hc705x4 Microcontroller
Manufacturer
Freescale Semiconductor, Inc
Datasheet
Timer functions
Timer control
register (TCR)
16-Bit Programmable Timer
MC68HC05X4 Rev 1.0
Address:
prescaler, the value in the free-running counter repeats every 262144
internal bus clock cycles. TOF is set when the counter overflows (from
$FFFF to $0000); this will cause an interrupt if TOIE is set.
Bits 8 – 15 — MSB of counter/alternate counter register
A read of only the more significant byte (MSB) transfers the LSB to a
buffer, which remains fixed after the first MSB read, until the LSB is also
read.
Bits 0 – 7 — LSB of counter/alternate counter register
A read of only the less significant byte (LSB) receives the count value at
the time of reading.
The 16-bit programmable timer is monitored and controlled by a group
of ten registers, full details of which are contained in the following
paragraphs. An explanation of the timer functions is also given.
The timer control register ($12) is used to enable the input capture
(ICIE), output compare (OCIE), and timer overflow (TOIE) interrupt
enable functions as well as selecting input edge sensitivity (IEDG) and
output level polarity (OLVL).
Reset:
Freescale Semiconductor, Inc.
For More Information On This Product,
$0012
Bit 7
ICIE
0
16-Bit Programmable Timer
Go to: www.freescale.com
Figure 6. Timer Control Register (TCR)
OCIE
6
0
TOIE
5
0
4
0
0
3
0
0
2
0
0
IEDG
1
u
OLVL
Bit 0
6-ptimer
0

Related parts for mc68hc05x4dw