![background image](http://html1.mh-extra.com/html/rabbit/rcm3365/rcm3365_user-manual_3124182157.webp)
User’s Manual
151
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.
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—Data available and waiting to be processed MOSI (master out, slave in)
6—Write collision MISO (master in, slave out)
5—Overrun MOSI (master out, slave in)
4—Mode fault, device detected hardware fault
3—Data compare error detected by device
2,1,0—Reserved
RETURN VALUE
The status byte from the previous command.
int rn_rst_status(int handle, char *retdata);
int rn_comm_status(int handle, char *retdata);
Содержание RCM3365
Страница 6: ...RabbitCore RCM3365 RCM3375 Schematics 157...
Страница 14: ...8 RabbitCore RCM3365 RCM3375...
Страница 24: ...18 RabbitCore RCM3365 RCM3375...
Страница 72: ...66 RabbitCore RCM3365 RCM3375...
Страница 108: ...102 RabbitCore RCM3365 RCM3375...
Страница 142: ...136 RabbitCore RCM3365 RCM3375...
Страница 148: ...142 RabbitCore RCM3365 RCM3375...
Страница 164: ......