142
Platforms
©2000-2008 Tibbo Technology Inc.
buffer of socket 10.
17- PL_REDIR_SOCK11:
Redirects RX data of the serial port or socket to the TX
buffer of socket 11.
18- PL_REDIR_SOCK12:
Redirects RX data of the serial port or socket to the TX
buffer of socket 12.
19- PL_REDIR_SOCK13:
Redirects RX data of the serial port or socket to the TX
buffer of socket 13.
20- PL_REDIR_SOCK14:
Redirects RX data of the serial port or socket to the TX
buffer of socket 14.
21- PL_REDIR_SOCK15:
Redirects RX data of the serial port or socket to the TX
buffer of socket 15.
Enum pl_io_num
Enum pl_io_num contains the list of constants that refer to I/O lines available on
this platform. Use these constants when selecting the line with the
object
(see the
property).
All I/O lines of the EM1000(W) require explicit configuration as inputs or outputs --
this is done through the
property of the
object. On power-up,
all lines are configured as inputs. When the line is configured for input its output
driver is tri-stated. When the line is configured for output, its output driver is
enabled. It is possible to read the state of the line even when it is working as an
output.
Certain lines automatically become inputs and outputs in certain modes of
operation -- see below for details.
Enum pl_io_num includes the following constants:
0- PL_IO_NUM_0:
General-purpose I/O line 0 (P0.0).
1- PL_IO_NUM_1:
General-purpose I/O line 1 (P0.1).
2- PL_IO_NUM_2:
General-purpose I/O line 2 (P0.2).
3- PL_IO_NUM_3:
General-purpose I/O line 3 (P0.3).
4- PL_IO_NUM_4:
General-purpose I/O line 4 (P0.4).
5- PL_IO_NUM_5:
General-purpose I/O line 5 (P0.5).
6- PL_IO_NUM_6:
General-purpose I/O line 6 (P0.6).
7- PL_IO_NUM_7:
General-purpose I/O line 7 (P0.7).
8- PL_IO_NUM_8_RX0
(1)
:
General-purpose I/O line 8 (P1.0). This line is also
the
input of the serial port 0.
9- PL_IO_NUM_9_TX0
(2)
:
General-purpose I/O line 9 (P1.1). This line is also
the
output of the serial port 0.
10- PL_IO_NUM_10_RX1
(1)
:
General-purpose I/O line 10 (P1.2). This line is also
the RX/W0&1in/din input of the serial port 1.
11- PL_IO_NUM_11_TX1
(2)
:
General-purpose I/O line 11 (P1.3). This line is also
the TX/W1out/dout output of the serial port 1.
12- PL_IO_NUM_12_RX2
(1)
:
General-purpose I/O line 12 (P1.4). This line is also
the RX/W0&1in/din input of the serial port 2.
13- PL_IO_NUM_13_TX2
(2)
:
General-purpose I/O line 13 (P1.5). This line is also
the TX/W1out/dout output of the serial port 2.
14- PL_IO_NUM_14_RX3
(1)
:
General-purpose I/O line 14 (P1.6). This line is also
365
372
370
365
225
225