Enum pl_int_num

Top  Previous  Next

Enum pl_int_num contains the list of constants that refer to interrupt I/O lines available on this platform. Interrupt lines are mapped onto general-purpose I/O lines. Interrupt line 0 corresponds to I/O line 16, interrupt line 1- to I/O lines 17 and so on. Keep in mind that for an interrupt line to work you need to configure corresponding I/O line as input. Do this through the io.num property of the io object.

 

Enum pl_int_num for this platform includes the following constants:

PL_INT_NUM_0:Interrupt line 0 (mapped onto I/O line 16). By default, this line also acts as CTS/W0&1in/cin input of the serial port 0 (this can be "remapped" using ser.ctsmap property).
PL_INT_NUM_1:Interrupt line 1 (mapped onto I/O line 17). By default, this line also acts as CTS/W0&1in/cin input of the serial port 1 (this can be "remapped" using ser.ctsmap property).
PL_INT_NUM_2:Interrupt line 2 (mapped onto I/O line 18). By default, this line also acts as CTS/W0&1in/cin input of the serial port 2 (this can be "remapped" using ser.ctsmap property).
PL_INT_NUM_3:Interrupt line 3 (mapped onto I/O line 19). By default, this line also acts as CTS/W0&1in/cin input of the serial port 3 (this can be "remapped" using ser.ctsmap property).
PL_INT_NUM_4:Interrupt line 4 (mapped onto I/O line 20).
PL_INT_NUM_5:Interrupt line 5 (mapped onto I/O line 21).
PL_INT_NUM_6:Interrupt line 6 (mapped onto I/O line 22).
PL_INT_NUM_7:Interrupt line 7 (mapped onto I/O line 23).