![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm3309/rabbitcore-rcm3309_user-manual_3119427183.webp)
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
176
RabbitCore RCM3309/RCM3319
rn_rst_status
int rn_rst_status(int handle, char *retdata);
DESCRIPTION
Reads the status of which reset occurred and whether any watchdogs are enabled.
PARAMETERS
handle
is an address index to device information. Use
rn_device()
or
rn_find()
to establish the handle.
retdata
is a pointer to the return address of the communication byte. A set
bit indicates which error occurred. This register is cleared when
read.
7—HW reset has occurred
6—SW reset has occurred
5—HW watchdog enabled
4—SW watchdog enabled
3,2,1,0—Reserved
RETURN VALUE
The status byte from the previous command.
183 / 191
183 / 191