Wait for Interrupts from all the GPIO Inputs to Exit

Zynq UltraScale+ Device Technical Reference Manual (UG1085)

Document ID
UG1085
Release Date
2023-12-21
Revision
2.4 English

The tasks in Table: Enable the GPIO Interrupts of Bank 0 outline the flow used for interrupt handling and to drive a GPIO write to glow LED.

Table 27-11:      Wait for Interrupts from all the GPIO Inputs to Exit

Task

Register Name

Register Field

Register Offset

Bits

Value

Bank 0 interrupt status read

gpio.INT_STAT_0

INT_STATUS_0

0x218

31:0

 

Get the interrupt mask status

gpio.INT_MASK_0

INT_MASK_0

0x20C

31:0

 

Clear interrupt status

gpio.INT_STAT_0

INT_STATUS_0

0x218

31:0

Write a 1 to clear the particular interrupt.

Drive the corresponding LEDs

gpio.DATA_1

DATA_1

0x44

31:0

Accumulated interrupt status.