145
TIDE and Tibbo BASIC User Manual
©2000-2008 Tibbo Technology Inc.
PL_INT_NUM_2:
Interrupt line 2 (mapped onto I/O line 18).
PL_INT_NUM_3:
Interrupt line 3 (mapped onto I/O line 19).
PL_INT_NUM_4:
Interrupt line 4 (mapped onto I/O line 20).
PL_INT_NUM_5:
Interrupt line 5 (mapped onto I/O line 21).
PL_INT_NUM_6:
Interrupt line 6 (mapped onto I/O line 22).
PL_INT_NUM_7:
Interrupt line 7 (mapped onto I/O line 23).
PL_INT_NULL:
This is a NULL interrupt line that does not physically
exist.
Enum pl_sock_interfaces
Enum pl_sock_interfaces contains the list of network interfaces supported by the
EM1000(W). The EM1000 and EM1000W platforms differ in that the EM1000W has
a W-Fi interface, which the EM1000 does not, and the pl_sock_interfaces reflects
this.
EM1000 platform
0- PL_SOCK_INTERFACE_NULL:
Null (empty) interface.
1- PL_SOCK_INTERFACE_NET (default):
Ethernet interface.
EM1000W platform
0- PL_SOCK_INTERFACE_NULL:
Null (empty) interface.
1- PL_SOCK_INTERFACE_NET (default):
Ethernet interface.
2- PL_SOCK_INTERFACE_WLN:
Wi-Fi interface.
8.1.2.4
Platform-dependent Programming Information
This section contains miscellaneous information pertaining to the EM1000(W).
Various objects described in the
direct you to this topic in all
cases when object capabilities or behavior depends on the platform and, hence,
cannot be described in the object reference itself. Each platform section in this
manual has its own "Platform-dependent Programming Information" topic. If you
are reading documentation top-to-bottom (we have never actually met anyone
who does) you can skip this section now.
You have to explicitly configure I/O lines as inputs or outputs
On the EM1000(W) you need to explicitly enable or disable the output driver of
each I/O line (controlled by the
property allows
you to do this. When the driver is enabled (ser.enabled= 1-YES) and you read the
state of the pin you will get back the state of your own output buffer. To turn the
line into an input switch the output buffer off (ser.enabled= 0- NO). This will allow
212
365
370