GPIO_INT_CFG

Bit Field

Read/Write

Field Name

Description

12

RW

NS_ACCESS

Non-Secure code can access this GPIO_INT (can only be written by a secure code)

11

RW

DEBOUNCE_ENABLE

Interrupt button debounce filter enable/disable

10:8

RW

EVENT

Interrupt event configuration

4:0

RW

SRC

Interrupt input selection

Bit Field

Field Name

Value Symbol

Value Description

Hex Value

12

NS_ACCESS

NS_CANNOT_ACCESS_GPIO_INT

Non-Secure code cannot access the GPIO_INT

0x0*

NS_CAN_ACCESS_GPIO_INT

Non-Secure code can access the GPIO_INT

0x1

11

DEBOUNCE_ENABLE

GPIO_DEBOUNCE_DISABLE

Button debounce filter disabled

0x0*

GPIO_DEBOUNCE_ENABLE

Button debounce filter enabled

0x1

10:8

EVENT

GPIO_EVENT_NONE

Interrupt not triggered

0x0*

GPIO_EVENT_HIGH_LEVEL

Interrupt triggered on high state

0x1

GPIO_EVENT_LOW_LEVEL

Interrupt triggered on low state

0x2

GPIO_EVENT_RISING_EDGE

Interrupt triggered on rising edge

0x3

GPIO_EVENT_FALLING_EDGE

Interrupt triggered on falling edge

0x4

GPIO_EVENT_TRANSITION

Interrupt triggered on any edge

0x5

4:0

SRC

GPIO_SRC_GPIO_0

Select GPIO[0] as source

0x0*

GPIO_SRC_GPIO_1

Select GPIO[1] as source

0x1

GPIO_SRC_GPIO_2

Select GPIO[2] as source

0x2

GPIO_SRC_GPIO_3

Select GPIO[3] as source

0x3

GPIO_SRC_GPIO_4

Select GPIO[4] as source

0x4

GPIO_SRC_GPIO_5

Select GPIO[5] as source

0x5

GPIO_SRC_GPIO_6

Select GPIO[6] as source

0x6

GPIO_SRC_GPIO_7

Select GPIO[7] as source

0x7

GPIO_SRC_GPIO_8

Select GPIO[8] as source

0x8

GPIO_SRC_GPIO_9

Select GPIO[9] as source

0x9

GPIO_SRC_GPIO_10

Select GPIO[10] as source

0xA

GPIO_SRC_GPIO_11

Select GPIO[11] as source

0xB

GPIO_SRC_GPIO_12

Select GPIO[12] as source

0xC

GPIO_SRC_GPIO_13

Select GPIO[13] as source

0xD

GPIO_SRC_GPIO_14

Select GPIO[14] as source

0xE

GPIO_SRC_GPIO_15

Select GPIO[15] as source

0xF