170
Platforms
©2000-2008 Tibbo Technology Inc.
1.
Should be configured as an input.
mode
= 0- PL_SER_MODE_UART) this line is automatically configured to
be an input when this serial port is enabled (
= 1- YES) and
returns to the previous input/output and high/low state when this serial port is
closed (ser.enabled= 0- NO). When a serial port is in the
or
mode (ser.mode= 1- PL_SER_MODE_WIEGAND or ser.mode= 2-
PL_SER_MODE_CLOCKDATA), the line has to be configured as input by the
application- this will not happen automatically.
2.
Should be configured as an output.
When a serial port is in the UART mode
(ser.mode= 0- PL_SER_MODE_UART) this line is automatically configured to be
an output when the serial port is enabled (ser.enabled= 1- YES) and returns to
the previous input/output and high/low state when the serial port is closed (ser.
enabled= 0- NO). When a serial port is in the Wiegand or clock/data mode (ser.
mode= 1- PL_SER_MODE_WIEGAND or ser.mode= 2-
PL_SER_MODE_CLOCKDATA), the line has to be configured as output by the
application- this will not happen automatically.
Enum pl_int_num
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
. 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
property of the
object.
Enum pl_int_num includes the following constants:
PL_INT_NUM_0:
Interrupt line 0 (mapped onto I/O line 0).
PL_INT_NUM_1:
Interrupt line 1 (mapped onto I/O line 2).
PL_INT_NUM_2:
Interrupt line 2 (mapped onto I/O line 4).
PL_INT_NUM_3:
Interrupt line 3 (mapped onto I/O line 6).
PL_INT_NUM_4:
Interrupt line 4 (mapped onto I/O line 1).
PL_INT_NUM_5:
Interrupt line 5 (mapped onto I/O line 3).
PL_INT_NUM_6:
Interrupt line 6 (mapped onto I/O line 5).
PL_INT_NUM_7:
Interrupt line 7 (mapped onto I/O line 7).
PL_INT_NULL:
This is a NULL interrupt line that does not physically
exist.
Enum pl_sock_interfaces
Enum pl_sock_interfaces contains the list of network interfaces supported by the
platform:
0- PL_SOCK_INTERFACE_NULL:
Null (empty) interface.
1- PL_SOCK_INTERFACE_NET (default):
Ethernet interface.
226
255
251
229
232
142
372
365