250
Platforms
©2000-2008 Tibbo Technology Inc.
Programming Information" topic inside your platform specifications section.
.Dircontrol Property
Function:
Sets/returns the polarity of the direction control line
(RTS) for selected serial port (selection is made through
).
Type:
Enum (pl_ser_dircontrol, byte)
Value Range:
0- PL_SER_DCP_LOWFORINPUT (default): The RTS
output will be LOW when the serial port is ready to RX
data and HIGH when the serial port is TXing data.
1- PL_SER_SI_HIGHFORINPUT: The RTS output will be
HIGH when the serial port is ready to rx data and LOW
when the serial port is txing.
See Also:
,
Details
This property is only relevant in the UART/half-duplex mode (
= 0-
= 1- PL_SER_SI_HALFDUPLEX).
Note, that HIGH/LOW states specified above are for the TTL-serial interface of the
MODULE-level products. If you are dealing with the RS232 port then the states will
be in reverse (for example, 1- PL_SER_SI_HIGHFORINPUT will mean "RTS LOW for
input, HIGH for output").
Depending on your platform, you may be allowed to remap RTS line to other I/O
pins of the device through the
and
properties. Also,
you may be required to correctly configure RTS line as an input through the
property of the
object. See "Platform-dependent Programming
Information" topic inside your platform specifications section.
When the serial port is in the UART/half-duplex mode you can use the CTS line as
a regular I/O line of your device.
.Div9600 R/O Property
Function:
Returns the value to which the
property
must be set in order to achieve the baudrate of 9600bps
on the current device and under present conditions.
Type:
Word
Value Range:
---
See Also:
Details
"Smart" applications will use this property to set baudrates in a platform-
independent fashion. Even for the same device, the value required to achieve
257
226
236
255
255
261
249
370
365
248
236