272
Platforms
©2000-2008 Tibbo Technology Inc.
See Also:
---
Details
Multiple on_net_link_change events may be waiting in the event queue. This event
does not "bring" with it new link state at the time of event generation. Current link
state can be queried through the
property.
On_net_overrun Event
Function:
Generated when overflow occurs on the internal RX buffer
of the Network Interface Controller (NIC) IC.
Declaration:
on_net_overrun
See Also:
---
Details
Another on_net_overrun event is never generated until the previous one is
processed. Notice, that this event signifies the overrun of the hardware RX buffer
of the NIC itself. This has nothing to do with the overrun of RX buffers of individual
sockets (see
event).
Button Object
All external devices and board offered by Tibbo feature a single button called
"setup button". Our modules have a line to connect such a button externally. The
setup button has a special system function: powering-up a Tibbo device with this
button pressed (setup button line held LOW) causes the device to enter the serial
upgrade mode. This mode is for uploading new
(firmware) file into the
device through the serial port.
The button is not doing anything system-related at other times, so it can be used
by your Tibbo BASIC application -- hence, the button object. The object offers the
folloing:
property returns current (immediate) state of the button.
event is generated when the button is pressed. The
event is generated when the button is released.
read-only property returns the time (in 0.5 intervals) elapsed
since the button was last pressed or released. You can use this property, for
instance, to separate button pressing into "short" and "long":
271
343
7
274
273
273
274