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: | $09 | | | | | | | |
| | | | | | | | |
Read: | D7 | D6 | D5 | D4 | D3 | D2 | D1 | D0 |
Write: | | | | | | | | |
| | | | | | | |
| | | | | | | | |
Reset: | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 |
| | = 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.
MC68HC05RC16 — Rev. 3.0 | | General Release Specification |
| | |
MOTOROLA | Core Timer | 65 |