164
Platforms
©2000-2008 Tibbo Technology Inc.
You can remap RTS/W0out/cout and CTS/W0&1in/cin lines of the serial
port
Two lines of the
-- RTS/W0out/cout output, and CTS/W0&1in/
cin input -- can be reassigned (remapped) to other I/O pins of the device. This is
done through
and
properties.
By default, the mapping of these two lines is different for each serial port. See
for details.
Positions of TX/W1out/dout output and RX/W1in/din input are fixed and
cannot be changed.
You have to explicitly configure certain I/O lines of the serial port as
inputs or outputs
On the EM1206(W), it is necessary to configure some lines of the
as
inputs our outputs. Depending on the mode of the serial port (see
)
you need to set the following:
ser.mode
TX/
W1out/
dout
output
RX/W1in/
din input
RTS/
W0out/
cout
output
CTS/
W0&1in/
cin input
Will auto-
configure as
output
(1)
Will auto-
configure
as input
(1)
Requires
configurati
on as
output
(2)
Requires
configuratio
n as input
(2)
Requires
configuratio
n as output
Requires
configuratio
n as input
Notes:
1. When This line does not require configuration, it will be configured
automatically as input or output when the port is opened. When the port is
closed the line will return to the input/output and high/low state it had before
the port was opened.
2. Please, remember that you need to configure the I/O pin to which this line of the
serial port is currently mapped.
Each serial port has 16 bytes of send FIFO
mode (
= 0- PL_SER_MODE_UART,
= 0- PL_SER_SI_FULLDUPLEX, and
= 1- ENABLED) the device is monitoring its CTS input to see if
attached serial device is ready to receive more data. If the CTS state changes to
"cannot transmit" the device will stop sending out data immediately. However, the
data that has already entered the FIFO will still be sent out. Therefore, after the
CTS state becomes "cannot transmit" the device can still send out up to 16
characters.
There is a PLL
224
261
249
142
224
255
226
229
232
224
226
255
255
253