Alerts - Rabbit RabbitCore RCM5400W User Manual

C-programmable wi-fi core module
Table of Contents

Advertisement

5.2.6.2 Alerts

These function calls can be found in the Dynamic C
library.
RCM4xxx.LIB
void timedAlert(unsigned long timeout);
DESCRIPTION
Polls the real-time clock until a timeout occurs. The RCM5400W will be in a low-power
mode during this time. Once the timeout occurs, this function call will enable the normal
power source.
PARAMETER
timeout
RETURN VALUE
.
None
void digInAlert(int dataport, int portbit, int value,
unsigned long timeout);
DESCRIPTION
Polls a digital input for a set value or until a timeout occurs. The RCM5400W will be
in a low-power mode during this time. Once a timeout occurs or the correct byte is
received, this function call will enable the normal power source and exit.
PARAMETERS
dataport
portbit
value
timeout
RETURN VALUE
None.
52
timedAlert
the duration of the timeout in seconds
digInAlert
the input port data register to poll (e.g., PADR)
the input port bit (0–7) to poll
the value of 0 or 1 to receive
the duration of the timeout in seconds (enter 0 for no timeout)
LIB\Rabbit4000\RCM4xxx\
RabbitCore RCM4400W

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the RabbitCore RCM5400W and is the answer not in the manual?

Questions and answers

Table of Contents