3.8
General-purpose timer
The Musca
‑
S1 test chip implements a general
‑
purpose timer (GPT) in the
32K
domain.
The base memory addresses of the general
‑
purpose timer control registers are:
•
0x4010_C000
in the Non
‑
secure region.
•
0x5010_C000
in the Secure region.
The following table shows the general
‑
purpose timer registers in address offset order from the base
memory address. Undefined registers are reserved. Software must not attempt to access these registers.
Table 3-43 General-purpose timer control registers summary
Offset
Name
Type Reset
Width Function
0x0000
GPTRESET
RO
0x0000_0000
32
Reset Control Register.
See
0x0004
GPTINTM
RW
0x0000_0000
32
Masked interrupt status register.
See
0x0008
GPTINTC
RW
0x0000_0000
8
Interrupt clear register.
See
0x0010
GPTALARM0
RW
0x0000_0000
32
ALARM0 data value register.
See
.
0x0014
GPTALARM1
RW
0x0000_0000
1
ALARM1 data value register.
See
.
0x0018
GPTINTR
RO
0x0000_0000
1
Raw interrupt status register.
See
0x001C
GPTCOUNTER RO
0x0000_0000
32
Counter data value register.
See
.
This section contains the following subsections:
•
•
•
•
•
•
•
3.8.1
GPTRESET Register
The GPTRESET Register characteristics are:
Purpose
• A write resets the general
‑
purpose timer counter to 1.
• A read returns the current value of the general
‑
purpose timer counter.
Usage constraints
There are no usage constraints.
3 Programmers model
3.8 General-purpose timer
101835_0000_01_en
Copyright © 2019, 2020 Arm Limited or its affiliates. All rights
reserved.
3-108
Non-Confidential