BL4S200 User’s Manual
200
rn_hitwd
int rn_hitwd(int handle, char *count);
FUNCTION DESCRIPTION
Hits software watchdog. Set the timeout period and enable the software watchdog prior
to using this function.
This function will
check device information to determine that the pe-
ripheral card is connected to a master.
PARAMETERS
handle
address index to device information. Use
rn_device()
or
rn_find()
to establish the handle.
count
pointer to return the present count of the software watchdog timer.
The equivalent time left in seconds can be determined from
count
× 0.025 seconds.
RETURN VALUE
The status byte from the previous command. -1 means that device information indicates
the peripheral card is not connected to the master.
SEE ALSO
rn_enable_wdt, rn_sw_wdt