46
RabbitCore RCM4000
5.2.4.2 Alerts
Polls the real-time clock until a timeout occurs. The RCM4000 will be in a low-power mode during this
time. Once the timeout occurs, this function call will enable the normal power source. The A/D converter
oscillator will be disabled and enabled.
PARAMETERS
timeout
is the duration of the timeout in seconds
RETURN VALUE
None.
SEE ALSO
brdInit
Polls a digital input for a set value or until a timeout occurs. The RCM4000 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
is the input port data register to poll (e.g., PADR).
portbit
is the input port bit (0–7) to poll.
value
is the value of 0 or 1 to receive.
timeout
is the duration of the timeout in seconds (enter 0 for no timeout).
RETURN VALUE
None.
void timedAlert(unsigned long timeout);
void digInAlert(int dataport, int portbit,
int value, unsigned long timeout);
Summary of Contents for RabbitCore RCM4000
Page 6: ...RabbitCore RCM4100...
Page 12: ...6 RabbitCore RCM4000...
Page 20: ...14 RabbitCore RCM4000...
Page 46: ...40 RabbitCore RCM4000...
Page 68: ...62 RabbitCore RCM4000...
Page 82: ...76 RabbitCore RCM4000...
Page 96: ...90 RabbitCore RCM4000...
Page 114: ...108 RabbitCore RCM4000...
Page 118: ...112 RabbitCore RCM4000...
Page 122: ...116 RabbitCore RCM4000...
Page 124: ......