92
Coyote (BL2500)
Enables the hardware and/or software watchdog timers on a peripheral card. The software on the periph-
eral card will keep the hardware watchdog timer updated, but will hard reset if the time expires. The
hardware watchdog cannot be disabled except by a hard reset on the peripheral card. The software watch-
dog timer must be updated by software on the master. The peripheral card will soft reset if the timeout set
by
rn_sw_wdt()
expires.
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.
wdttype
0 enables both hardware and software watchdog timers
1 enables hardware watchdog timer
2 enables software watchdog timer
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_hitwd, rn_sw_wdt
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
int rn_enable_wdt(int handle, int wdttype);
int rn_hitwd(int handle, char *count);
Содержание Coyote BL2500
Страница 1: ...Coyote BL2500 C Programmable Single Board Computer with Ethernet User s Manual 019 0120_M...
Страница 6: ...Coyote BL2500...
Страница 71: ...User s Manual 65 APPENDIX A SPECIFICATIONS Appendix A provides the specifications for the Coyote...
Страница 90: ...84 Coyote BL2500...
Страница 103: ...User s Manual 97 function calls readUserBlock 36 writeUserBlock 36 sample programs USERBLOCK_INFO C 52 55 56...
Страница 104: ...98 Coyote BL2500...
Страница 106: ......