User Manual
Apollo3 Blue Datasheet
DS-A3-0p9p1 Page 467 of 909 2019 Ambiq Micro, Inc.
All rights reserved.
Table 660: CFGE Register Bits
Bit Name Reset RW Description
31 GPIO39INTD 0x0 RW
GPIO39 interrupt direction.
INTDIS = 0x0 - INCFG = 1 - No interrupt on GPIO transition
INTBOTH = 0x1 - INCFG = 1 - Interrupt on either low to high or high to low
GPIO transition
INTLH = 0x0 - INCFG = 0 - Interrupt on low to high GPIO transition
INTHL = 0x1 - INCFG = 0 - Interrupt on high to low GPIO transition
30:29
GPIO39OUT-
CFG
0x0 RW
GPIO39 output configuration.
DIS = 0x0 - FNCSEL = 0x3 - Output disabled
PUSHPULL = 0x1 - FNCSEL = 0x3 - Output is push-pull
OD = 0x2 - FNCSEL = 0x3 - Output is open drain
TS = 0x3 - FNCSEL = 0x3 - Output is tri-state
28 GPIO39INCFG 0x0 RW
GPIO39 input enable.
READ = 0x0 - Read the GPIO pin data
RDZERO = 0x1 - INTD = 0 - Readback will always be zero
READEN = 0x1 - INTD = 1 - Read the GPIO pin data
27 GPIO38INTD 0x0 RW
GPIO38 interrupt direction.
nCELOW = 0x0 - FNCSEL = 0x1 - nCE polarity active low
nCEHIGH = 0x1 - FNCSEL = 0x1 - nCE polarity active high
INTDIS = 0x0 - FNCSEL != 0x1, INCFG = 1 - No interrupt on GPIO transi-
tion
INTBOTH = 0x1 - FNCSEL != 0x1, INCFG = 1 - Interrupt on either low to
high or high to low GPIO transition
INTLH = 0x0 - FNCSEL != 0x1, INCFG = 0 - Interrupt on low to high GPIO
transition
INTHL = 0x1 - FNCSEL != 0x1, INCFG = 0 - Interrupt on high to low GPIO
transition
26:25
GPIO38OUT-
CFG
0x0 RW
GPIO38 output configuration.
DIS = 0x0 - FNCSEL = 0x3 - Output disabled
PUSHPULL = 0x1 - FNCSEL = 0x3 - Output is push-pull
OD = 0x2 - FNCSEL = 0x3 - Output is open drain
TS = 0x3 - FNCSEL = 0x3 - Output is tri-state
M0nCE3 = 0x0 - FNCSEL = 0x1 - IOM0 nCE, Channel 3
M1nCE3 = 0x1 - FNCSEL = 0x1 - IOM1 nCE, Channel 3
M2nCE3 = 0x2 - FNCSEL = 0x1 - IOM2 nCE, Channel 3
M5nCE3 = 0x3 - FNCSEL = 0x1 - IOM5 nCE, Channel 3
24 GPIO38INCFG 0x0 RW
GPIO38 input enable.
READ = 0x0 - Read the GPIO pin data
RDZERO = 0x1 - INTD = 0 - Readback will always be zero
READEN = 0x1 - INTD = 1 - Read the GPIO pin data