Timers LH79524/LH79525 User’s Guide
15-12 Version 1.0
15.2.2.5 Timer 0 Counter Register (CNT0)
The CNT0 Register is a 16-bit, Read/Write up counter. The counter can be read from, or
written to while it is operating. As a result, counts can be read at any time or the current
count can be changed.
2CMP1_ST
Timer 0 Compare 1 Status
1 = Read: Interrupt asserted; Write: Clear interrupt
0 = Read: No interrupt asserted; Write: No effect
1CMP0_ST
Timer 0 Compare 0 Status
1 = Read: Interrupt asserted; Write: Clear interrupt
0 = Read: No interrupt asserted; Write: No effect
0OVF_ST
Timer 0 Overflow Status
1 = Read: Interrupt asserted; Write: Clear interrupt
0 = Read: No interrupt asserted; Write: No effect
Table 15-12. CNT0 Register
BIT 31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16
FIELD ///
RESET 0000000000000000
RW RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO RO
BIT 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
FIELD TM0CNT
RESET 0000000000000000
RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW RW
ADDR 0xFFFC4000 + 0x10
Table 15-13. CNT0 Register Definitions
BITS NAME DESCRIPTION
31:16 ///
Reserved Reading this field returns 0. Write the reset value.
15:0 TM0CNT Timer 0 Count Value of the 16-bit up counter.
Table 15-11. STATUS0 Register Definitions (Cont’d)
BITS NAME DESCRIPTION