DW1000 User Manual
© Decawave Ltd 2017
Version 2.12
Page 140 of 242
Field
Description of fields within Sub-Register 0x26:18 – GPIO_IMODE
GIMOD8
reg:26:18
bit:8
GPIO IRQ Mode selection for GPIO8 input. Value 0 = Level, 1 = Edge.
-
reg:26:18
bits:31–9
Bits marked ‘-’ are reserved and should be written as zero.
7.2.39.8
Sub-Register 0x26:1C
– GPIO_IBES
ID
Length
(octets)
Type
Mnemonic
Description
26:1C
4
RW
GPIO_IBES
GPIO Interrupt “Both Edge” Select
Register file: 0x26 – GPIO control and status
, sub-register 0x1C is the GPIO interrupt “Both Edge” selection
register. This only applies when edge sensitive interrupts are enabled in the GPIO_IMODE register. In this
case the GPIO_ISEN register normally acts to select which edge triggers the interrupt. This GPIO_IBES
register overrides the GPIO_ISEN register to select both edges as which edge triggers the interrupt. The
GPIO_IBES register contains a bit for each GPIO pin to allow each to be individually configured. The bits are
as follows:
REG:26:1C – GPIO_IBES – GPIO Interrupt “Both Edge” selection register
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
- - - - - - - - - - - - - - - - - - - - - - -
GIB
ES8
GIB
ES7
GIB
ES6
GIB
ES5
GIB
ES4
GIB
ES3
GIB
ES2
GIB
ES1
GIB
ES0
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
The bits of the GPIO_IBES register identified above are individually described below:
Field
Description of fields within Sub-Register 0x26:1C – GPIO_IBES
GIBES0
reg:26:1C
bit:0
GPIO IRQ “Both Edge” selection for GPIO0 input. Value 0 = GPIO_IMODE register selects the
edge. Value 1 = Both edges trigger the interrupt.
GIBES1
bit:1
GPIO IRQ “Both Edge” selection for GPIO1 input. Value 0 = use GPIO_IMODE, 1 = Both Edges.
GIBES2
bit:2
GPIO IRQ “Both Edge” selection for GPIO2 input. Value 0 = use GPIO_IMODE, 1 = Both Edges.
GIBES3
bit:3
GPIO IRQ “Both Edge” selection for GPIO3 input. Value 0 = use GPIO_IMODE, 1 = Both Edges.
GIBES4
bit:4
GPIO IRQ “Both Edge” selection for GPIO4 input. Value 0 = use GPIO_IMODE, 1 = Both Edges.
GIBES5
bit:5
GPIO IRQ “Both Edge” selection for GPIO5 input. Value 0 = use GPIO_IMODE, 1 = Both Edges.
GIBES6
bit:6
GPIO IRQ “Both Edge” selection for GPIO6 input. Value 0 = use GPIO_IMODE, 1 = Both Edges.
GIBES7
bit:7
GPIO IRQ “Both Edge” selection for GPIO7 input. Value 0 = use GPIO_IMODE, 1 = Both Edges.