3.13
GPIO control registers
The Musca
‑
S1 test chip implements GPIO registers which control the GPIO interface.
Bits [15:0] control the Musca
‑
S1 test chip I/O to the Arduino Expansion Shield interface. Bits [31:16]
are reserved.
The base memory addresses of the GPIO control registers are:
•
0x4011_0000
in the Non
‑
secure region.
•
0x5011_0000
in the Secure region.
See the
Arm
®
Cortex
®
‑
M System Design Kit Technical Reference Manual
.
The following table shows the GPIO control registers in the Musca
‑
S1 test chip in address offset order
from the base memory address. Undefined registers are reserved. Software must not attempt to access
these registers.
Table 3-122 GPIO control registers summary
Offset
Name
Type Reset
Width Function
0x0000
GPIODATA
RW
0x0000_0000
32
Data value.
Bits [31:16] are reserved.
0x0004
GPIODATAOUT
RW
0x0000_0000
32
Data output value.
Bits [31:16] are reserved.
0x0010
GPIOOUTENSET
RW
0x0000_0000
32
Output enable set.
Bits [31:16] are reserved.
0x0014
GPIOOUTENCLR
RW
0x0000_0000
32
Output enable clear.
Bits [31:16] are reserved.
0x0020
GPIOINTENSET
RW
0x0000_0000
32
Interrupt enable set.
Bits [31:16] are reserved.
0x0024
GPIOINTENCLR
RW
0x0000_0000
32
Interrupt enable clear.
Bits [31:16] are reserved.
0x0028
GPIOINTTYPESET RW
0x0000_0000
32
Interrupt type set.
Bits [31:16] are reserved.
0x002C
GPIOINTTYPECLR RW
0x0000_0000
32
Interrupt type clear.
Bits [31:16] are reserved.
0x0030
GPIOINTPOLSET
RW
0x0000_0000
32
Polarity
‑
level, edge IRQ configuration. Set interrupt polarity bit.
Bits [31:16] are reserved.
0x0034
GPIOINTPOLCLR
RW
0x0000_0000
32
Polarity
‑
level, edge IRQ configuration. Clear interrupt polarity bit.
Bits [31:16] are reserved.
0x0038
GPIOINTSTATUS
INTCLEAR
RW
0x0000_0000
32
Clear interrupt request.
Bits [31:16] are reserved.
3 Programmers model
3.13 GPIO control registers
101835_0000_01_en
Copyright © 2019, 2020 Arm Limited or its affiliates. All rights
reserved.
3-174
Non-Confidential