Table 15-12. Cnt0 Register; Table 15-13. Cnt0 Register Definitions; Timer 0 Counter Register (Cnt0) - Sharp LH79524 User Manual

Table of Contents

Advertisement

Timers
BITS
2
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.
BIT
FIELD
RESET
RW
BIT
FIELD
RESET
RW
ADDR
BITS
31:16
15:0
15-12
Table 15-11. STATUS0 Register Definitions (Cont'd)
NAME
Timer 0 Compare 1 Status
CMP1_ST
1 = Read: Interrupt asserted; Write: Clear interrupt
0 = Read: No interrupt asserted; Write: No effect
Timer 0 Compare 0 Status
CMP0_ST
1 = Read: Interrupt asserted; Write: Clear interrupt
0 = Read: No interrupt asserted; Write: No effect
Timer 0 Overflow Status
OVF_ST
1 = Read: Interrupt asserted; Write: Clear interrupt
0 = Read: No interrupt asserted; Write: No effect

Table 15-12. CNT0 Register

31
30
29
28
27
0
0
0
0
0
RO
RO
RO
RO
RO
15
14
13
12
11
0
0
0
0
0
RW
RW
RW
RW
RW

Table 15-13. CNT0 Register Definitions

NAME
Reserved Reading this field returns 0. Write the reset value.
///
TM0CNT
Timer 0 Count Value of the 16-bit up counter.
DESCRIPTION
26
25
24
23
///
0
0
0
0
RO
RO
RO
RO
10
9
8
7
TM0CNT
0
0
0
0
RW
RW
RW
RW
0xFFFC4000 + 0x10
DESCRIPTION
Version 1.0
LH79524/LH79525 User's Guide
22
21
20
19
18
0
0
0
0
0
RO
RO
RO
RO
RO
6
5
4
3
2
0
0
0
0
0
RW
RW
RW
RW
RW
17
16
0
0
RO
RO
1
0
0
0
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lh79525

Table of Contents