![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm5400w/rabbitcore-rcm5400w_user-manual_3121494058.webp)
52
RabbitCore RCM4400W
5.2.6.2 Alerts
These function calls can be found in the Dynamic C
LIB\Rabbit4000\RCM4xxx\
RCM4xxx.LIB
library.
timedAlert
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
the duration of the timeout in seconds
RETURN VALUE
None
.
digInAlert
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
the input port data register to poll (e.g., PADR)
portbit
the input port bit (0–7) to poll
value
the value of 0 or 1 to receive
timeout
the duration of the timeout in seconds (enter 0 for no timeout)
RETURN VALUE
None.
Summary of Contents for RabbitCore RCM5400W
Page 1: ...RabbitCore RCM5400W C Programmable Wi Fi Core Module OEM User s Manual 019 0169 080630 A...
Page 6: ...RabbitCore RCM5400W...
Page 24: ...18 RabbitCore RCM5400W...
Page 32: ...26 RabbitCore RCM5400W...
Page 52: ...46 RabbitCore RCM5400W...
Page 60: ...54 RabbitCore RCM4400W...
Page 96: ...90 RabbitCore RCM5400W...
Page 114: ...108 RabbitCore RCM4400W...
Page 118: ...112 RabbitCore RCM4400W...
Page 120: ......