Distributor of Digi International: Excellent Integrated System Limited
Datasheet of 20-101-1194 - MODULE RABBITCORE RCM3309 ROHS
Contact us: [email protected] Website: www.integrated-circuit.com
User’s Manual
175
rn_hitwd
int rn_hitwd(int handle, char *count);
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
peripheral card is connected to a master.
PARAMETERS
handle
is an address index to device information. Use
rn_device()
or
rn_find()
to establish the handle.
count
is a 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
182 / 191
182 / 191