251
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
9600bps may be different at different times. For example, some devices have PLLs
(see
). Enabling and disabling PLL changes the clock frequency of
the device and this affects the value returned by ser.div9600.
.Enabled Property
Function:
Enables/disables currently selected serial port (selection
is made through
).
Type:
Enum (no_yes, byte)
Value Range:
0- NO (default): not enabled
1- YES: enabled
See Also:
Details
Enabling/disabling the serial port does not automatically clear its buffers, this is
done via
and
. Notice that certain properties can only
be changed and methods executed when the port is not enabled. These are
,
,
. You also cannot allocate
buffer memory for the port (do
) when the port is enabled.
.Escchar Property
Function:
For selected serial port (selection is made through
) sets/retrieves ASCII code of the escape character
used for type1 or type2 serial escape sequences.
Type:
Byte
Value Range:
0-255, default=1 (SOH character)
See Also:
,
Details
Which escape sequence is enabled is defined by the
property. This
property is irrelevant when ser.esctype= 0- PL_SER_ET_DISABLED or when the
serial port is in the
mode (ser.mode= 1-
PL_SER_MODE_WIEGAND or ser.mode= 2- PL_SER_MODE_CLOCKDATA) -- serial
escape sequences are only recognized in the UART data.
.Esctype Property
Function:
Defines, for selected serial port (selection is made
through
), whether serial escape sequence
recognition is enabled and, if yes, what type of escape
sequence is to be recognised.
218
257
240
263
266
261
249
255
260
217
257
226
236
251
229
232
257