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 the EM500. 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 line 17, and so on. Keep in mind that for an interrupt line to work you need to configure a corresponding I/O line as input. Do this through the io.num property of the io object.

 

Enum pl_int_num includes the following constants:

PL_INT_NUM_0:Interrupt line 0 (mapped onto I/O line 16).
PL_INT_NUM_1:Interrupt line 1 (mapped onto I/O line 17).
PL_INT_NUM_2:Interrupt line 2 (mapped onto I/O line 18).
PL_INT_NUM_3:Interrupt line 3 (mapped onto I/O line 19).
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).
PL_INT_NULL:This is a NULL interrupt line that does not physically exist.