370
Platforms
©2000-2008 Tibbo Technology Inc.
Another such event will not be generated unless the previous one is processed
(this prevents the event queue from getting overflown). Therefore, some short-
lived state changes may remain undetected.
Bottom line: the "interrupts" of the io object should be viewed as a more
convenient alternative to programmatic polling of the I/O lines.
Note that interrupt line names, such as "PL_INT_NUM_0" are defined by the
pl_int_num enum, which is platform-specific. The declaration of this enum can be
found in the "Platform-dependent Constants" section of your platform
documentation.
8.3.6.2
Properties, Events, Methods
This section provides an alphabetical list of all properties, methods, and events of
the io object.
.Enabled Property (Selected Platforms Only)
Function:
Sets/returns the state of the output buffer for the
currently selected I/O line (selection is made through the
property).
Type:
Enum (no_yes, byte)
Value Range:
0- NO (default): disabled, I/O line works as an input
1- YES: enabled, I/O line works as an output
See Also:
,
Details
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.
.Intenabled Property
Function:
Enabled/disables currently selected interrupt line
(selection is made through the
property).
Type:
Enum (no_yes, byte)
Value Range:
0- NO (default): the interrupt line is disabled
1- YES: the interrupt line is enabled
See Also:
Details
Change of state of any enabled interrupt line leads to the
event
generation. State change of disabled interrupt lines produces no effect.
372
368
375
371
369
373