152
Platforms
©2000-2008 Tibbo Technology Inc.
operation -- see below for details.
If you are using the EM1202 platform to work with the EM1202EV
board or DS1202 controller, please keep in mind that these two
products interconnect the I/O lines of the EM1202 in a certain way.
Specifically, each line of the 8-bit port 1 is connected to a
corresponding line from port 2. For example, line PL_IO_NUM_9_TX0 is
connected to the line PL_IO_NUM17_INT1. Be careful to avoid
configuring both lines in such pairs as outputs. This can permanently
damage the EM1202. If the PL_IO_NUM_9_TX0 is an output, then the
PL_IO_NUM17_INT1 should not be an output as well. Alternatively, just
use a dedicated
to work with the EM1202EV or the
DS1202. This platform defines the I/O lines differently and you have
nothing to worry about there.
Enum pl_io_num for this platform includes the following constants:
PL_IO_NUM_0:
Selects general-purpose I/O line 0 (P0.0).
PL_IO_NUM_1:
Selects general-purpose I/O line 1 (P0.1).
PL_IO_NUM_2:
Selects general-purpose I/O line 2 (P0.2).
PL_IO_NUM_3:
Selects general-purpose I/O line 3 (P0.3).
PL_IO_NUM_4:
Selects general-purpose I/O line 4 (P0.4).
PL_IO_NUM_5:
Selects general-purpose I/O line 5 (P0.5).
PL_IO_NUM_6:
Selects general-purpose I/O line 6 (P0.6).
PL_IO_NUM_7:
Selects general-purpose I/O line 7 (P0.7).
PL_IO_NUM_8_RX0:
Selects general-purpose I/O line 8 (P1.0). This line is
also the
input of the serial port 0.
PL_IO_NUM_9_TX0:
Selects general-purpose I/O line 9 (P1.1). This line is
also the
output of the serial port 0.
PL_IO_NUM_10_RX1:
Selects general-purpose I/O line 10 (P1.2). This line is
also the RX/W0&1in/din input of the serial port 1.
PL_IO_NUM_11_TX1:
Selects general-purpose I/O line 11 (P1.3). This line is
also the TX/W1out/dout output of the serial port 1.
PL_IO_NUM_12_RX2:
Selects general-purpose I/O line 12 (P1.4). This line is
also the RX/W0&1in/din input of the serial port 2.
PL_IO_NUM_13_TX2:
Selects general-purpose I/O line 13 (P1.5). This line is
also the TX/W1out/dout output of the serial port 2.
PL_IO_NUM_14_RX3:
Selects general-purpose I/O line 14 (P1.6). This line is
also the RX/W0&1in/din input of the serial port 3.
PL_IO_NUM_15_TX3:
Selects general-purpose I/O line 15 (P1.7). This line is
also the TX/W1out/dout output of the serial port 3.
PL_IO_NUM_16_INT0:
Selects general-purpose I/O line 16 (P2.0).
PL_IO_NUM_17_INT1:
Selects general-purpose I/O line 17 (P2.1).
PL_IO_NUM_18_INT2:
Selects general-purpose I/O line 18 (P2.2).
PL_IO_NUM_19_INT3:
Selects general-purpose I/O line 19 (P2.3).
PL_IO_NUM_20_INT4:
Selects general-purpose I/O line 20 (P2.4).
PL_IO_NUM_21_INT5:
Selects general-purpose I/O line 21 (P2.5).
166
225
225