English
Language : 

MC68HC05RC17 Datasheet, PDF (67/128 Pages) Freescale Semiconductor, Inc – General Release Specification
Freescale Semiconductor, Inc.
Core Timer
Core Timer Counter Register
8.4 Core Timer Counter Register
The timer counter register is a read-only register that contains the
current value of the 8-bit ripple counter at the beginning of the timer
chain. This counter is clocked by the CPU clock (E/4) and can be used
for various functions, including a software input capture. Extended time
periods can be attained using the TOF function to increment a temporary
RAM storage location, thereby simulating a 16-bit (or more) counter.
Address: $0009
Bit 7
6
5
4
3
2
1
Bit 0
Read: D7
D6
D5
D4
D3
D2
D1
D0
Write:
Reset: 0
0
0
0
0
0
0
0
= Unimplemented
Figure 8-3. Core Timer Counter Register (CTCR)
The power-on cycle clears the entire counter chain and begins clocking
the counter. After 4064 cycles, the power-on reset circuit is released,
which again clears the counter chain and allows the device to come out
of reset. At this point, if RESET is not asserted, the timer starts counting
up from zero and normal device operation begins. When RESET is
asserted any time during operation (other than POR and low-power
reset), the counter chain is cleared.
8.5 Computer Operating Properly (COP) Reset
The COP watchdog timer function is implemented on this device by
using the output of the RTI circuit and further dividing it by eight. The
minimum COP reset rates are listed in Table 8-1. If the COP circuit times
out, an internal reset is generated and the normal reset vector is fetched.
Preventing a COP time out or clearing the COP is accomplished by
writing a 0 to bit 0 of address $3FF0. When the COP is cleared, only the
final divide-by-eight stage (output of the RTI) is cleared.
MC68HC05RC17 — Rev. 2.0
General Release Specification
Core Timer
For More Information On This Product,
Go to: www.freescale.com