Z-World Fox LP3500 User Manual page 51

C-programmable single-board computer
Table of Contents

Advertisement

void serCommAlert(int lowpowermode, int
maxpowermode, int powersource, unsigned long
timeout);
Use this function to poll Serial Port E for any activity or until a timeout occurs. The function call forces
the LP3500 to enter the low-power mode using the battery for polling. Upon expiration of the timeout or
the receipt of a serial byte, this function will enable the normal power mode and exit.
Use devPowerSet(ALLDEVICES, int state) before and after this function call to deactivate
and activate all devices to operate at less power.
PARAMETERS
lowpowermode is the low-power mode setting to enter, usually 10 (see powerMode())
maxpowermode is the maximum operating power mode setting to enter, usually 1 (see power-
Mode())
powersource
1 = battery
2 = raw DC power
timeout is the timeout in seconds if no activity is detected on the RxE receiver line. Enter 0 for no
timeout
SEE ALSO
powerMode, digInAlert, timedAlert, devPowerSet
void timedAlert(int lowpowermode, int maxpowermode,
int powersource, unsigned long timeout)
Use this function to poll the real-time clock until a timeout occurs. The function call forces the LP3500 to
enter the low-power mode, disables the normal power source, and may enable the external battery for
polling. Upon expiration of the timeout this function will enable the normal power mode and exit. If the
normal power source is not available, the LP3500 will not be able to rsume operation at the maximum-
power mode, and may reset.
Use devPowerSet(ALLDEVICES, int state) before and after this function call to deactivate
and activate all devices to operate at less power.
PARAMETERS
lowpowermode is the low-power mode setting to enter, usually 10 (see powerMode())
maxpowermode is the maximum operating power mode setting to enter, usually 1 (see power-
Mode())
powersource
1 = battery
2 = raw DC power
timeout is the timeout in seconds if an input is not received.
SEE ALSO
powerMode, digInAlert, serCommAlert, devPowerSet
User's Manual
45

Advertisement

Table of Contents
loading

Related Products for Z-World Fox LP3500

Table of Contents