DW1000 User Manual
© Decawave Ltd 2017
Version 2.12
Page 142 of 242
Field
Description of fields within Sub-Register 0x26:20 – GPIO_ICLR
GICLR7
bit:7
GPIO IRQ latch clear for GPIO7 input. Write 1 to clear the interrupt latch.
GICLR8
reg:26:20
bit:8
GPIO IRQ latch clear for GPIO8 input. Write 1 to clear the interrupt latch.
-
reg:26:20
bits:31–9
Bits marked ‘-’ are reserved and should be written as zero.
7.2.39.10
Sub-Register 0x26:24
– GPIO_IDBE
ID
Length
(octets)
Type
Mnemonic
Description
26:24
4
RW
GPIO_IDBE
GPIO Interrupt De-bounce Enable
Register file: 0x26 – GPIO control and status
, sub-register 0x24 is the GPIO interrupt de-bounce enable
register. The GPIO_IDBE controls a filtering function that operates on the GPIO inputs prior to their
presentation into the GPIO interrupt logic. This de-bounce filter circuit removes short transients by using the
kilohertz clock (as enabled by the KHZCLKEN bit in
Sub-Register 0x36:00 – PMSC_CTRL0
) to sample the input
signal. See KHZCLKDIV in
Sub-Register 0x36:04 – PMSC_CTRL1
for a description of the kilohertz clock. The
de-bounce filter is active when a state change of the GPIO input needs to persist for two cycles of this clock
before it will be seen by the interrupt handling logic. The GPIO_IDBE register contains a bit for each GPIO
pin as follows:
REG:26:24 – GPIO_IDBE – GPIO Interrupt De-Bounce Enable
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
- - - - - - - - - - - - - - - - - - - - - - -
GIDBE
8
GIDBE
7
GIDBE
6
GIDBE
5
GIDBE
4
GIDBE
3
GIDBE
2
GIDBE
1
GIDBE
0
- - - - - - - - - - - - - - - - 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
The bits of the GPIO_IDBE register identified above are individually described below:
Field
Description of fields within Sub-Register 0x26:24 – GPIO_IDBE
GIDBE0
reg:26:24
bit:0
GPIO IRQ de-bounce enable for GPIO0. Value 1 = de-bounce enabled. Value 0 = de-bounce
disabled.
GIDBE1
bit:1
GPIO1 IRQ de-bounce configuration. Value 1 = de-bounce enabled, 0 = de-bounce disabled.
GIDBE2
bit:2
GPIO2 IRQ de-bounce configuration. Value 1 = de-bounce enabled, 0 = de-bounce disabled.
GIDBE3
bit:3
GPIO3 IRQ de-bounce configuration. Value 1 = de-bounce enabled, 0 = de-bounce disabled.
GIDBE4
bit:4
GPIO4 IRQ de-bounce configuration. Value 1 = de-bounce enabled, 0 = de-bounce disabled.
GIDBE5
bit:5
GPIO5 IRQ de-bounce configuration. Value 1 = de-bounce enabled, 0 = de-bounce disabled.