373
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
On_io_int Event
Function:
Generated when the change of state on one of the
enabled interrupt lines is detected.
Declaration:
on_io_int(linestate as byte)
See Also:
Part
Description
linestate
0-255. Each bit of this value corresponds to one interrupt
line in the order that these lines are declared in the
pl_int_num enum.
Details
Interrupt lines are enabled/disabled through the
property. Another
on_io_int event is never generated until the previous one is processed.
.Portenabled Property (Selected Platforms Only)
Function:
Sets/returns the state of the output buffers for the
currently selected I/O port (selection is made through
the
property).
Type:
Byte
Value Range:
Default= 0 (all eight I/O lines of the port are configured
as inputs)
See Also:
,
Details
Each I/O port groups eight I/O lines. Each bit of this property's byte value
corresponds to one "member" I/O line. Setting the bit to 0 keeps the output buffer
turned off, while setting the bit to 1 enables the output buffer.
Depending on the platform, explicit configuration of the output buffers may or may
not be required. See "Platform-dependent Programming Information" of your
platform documentation. The property is not available on platforms that do not
require explicit output buffer configuration.
.Portget Method
Function:
Returns the state of the I/O port specified by the num
argument.
Syntax:
io.portget(num as pl_io_port_num) as byte
Returns:
0-255. Each bit of this value corresponds to one member
I/O line of the 8-bit port.
369
370
374
368
375