![background image](http://html1.mh-extra.com/html/rabbit/rabbitcore-rcm3309/rabbitcore-rcm3309_user-manual_3119427184.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
User’s Manual
177
rn_comm_status
int rn_comm_status(int handle, char *retdata);
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.
184 / 191
184 / 191