DW1000 User Manual
© Decawave Ltd 2017
Version 2.12
Page 141 of 242
Field
Description of fields within Sub-Register 0x26:1C – GPIO_IBES
GIBES8
reg:26:1C
bit:8
GPIO IRQ “Both Edge” selection for GPIO8 input. Value 0 = use GPIO_IMODE, 1 = Both Edges.
-
reg:26:1C
bits:31–9
Bits marked ‘-’ are reserved and should be written as zero.
7.2.39.9
Sub-Register 0x26:20
– GPIO_ICLR
ID
Length
(octets)
Type
Mnemonic
Description
26:20
4
RW
GPIO_ICLR
GPIO Interrupt Latch Clear
Register file: 0x26 – GPIO control and status
, sub-register 0x20 is the GPIO interrupt clear register. When a
GPIO interrupt occurs that meets the configured criteria (edge/level etc.) that event is latched in an internal
interrupt latch. To clear the interrupt the host needs to write a 1 to the appropriate bit of this GPIO_ICLR
register. There is no way to read the interrupt latch, which means that only one GPIO can be enabled to
interrupt at a time, unless the host has some other external way to distinguish events. Although level
sensitive interrupts are latched, if the active level persists, then clearing the latch will be ineffective, since
the interrupt will occur again immediately. The GPIO_ICLR register contains a bit for each GPIO pin as
follows:
REG:26:20 – GPIO_ICLR – GPIO Interrupt latch clear
31 30 29 28 27 26 25 24 23 22 21 20 19 18 17 16 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
- - - - - - - - - - - - - - - - - - - - - - -
GICLR8
GICLR7
GICLR6
GICLR5
GICLR4
GICLR3
GICLR2
GICLR1
GICLR0
- - - - - - - - - - - - - - - - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
The bits of the GPIO_ICLR register identified above are individually described below:
Field
Description of fields within Sub-Register 0x26:20 – GPIO_ICLR
GICLR0
reg:26:20
bit:0
GPIO IRQ latch clear for GPIO0 input. Write 1 to clear the GPIO0 interrupt latch. Writing 0 has
no effect. Reading returns zero.
GICLR1
bit:1
GPIO IRQ latch clear for GPIO1 input. Write 1 to clear the interrupt latch.
GICLR2
bit:2
GPIO IRQ latch clear for GPIO2 input. Write 1 to clear the interrupt latch.
GICLR3
bit:3
GPIO IRQ latch clear for GPIO3 input. Write 1 to clear the interrupt latch.
GICLR4
bit:4
GPIO IRQ latch clear for GPIO4 input. Write 1 to clear the interrupt latch.
GICLR5
bit:5
GPIO IRQ latch clear for GPIO5 input. Write 1 to clear the interrupt latch.
GICLR6
bit:6
GPIO IRQ latch clear for GPIO6 input. Write 1 to clear the interrupt latch.