Enum pl_int_num

The enum pl_int_num contains a list of the constants that refer to available interrupt lines. Interrupt lines are mapped to GPIO lines (this mapping can't be altered). For example, interrupt line 0 corresponds to GPIO line 2. Keep in mind that for an interrupt line to work, you need to configure the corresponding GPIO line as an input.

The enum pl_int_num consists of the following constants:

0- PL_INT_NUM_0

Interrupt line 0 (mapped to GPIO line 2).

1- PL_INT_NUM_1

Interrupt line 1 (mapped to GPIO line 3).

2- PL_INT_NULL

This is a NULL interrupt line that does not physically exist.