2015-10-27 22:09:53 -04:00
|
|
|
#ifndef _gcn64txrx_h__
|
|
|
|
#define _gcn64txrx_h__
|
|
|
|
|
2015-10-28 23:30:26 -04:00
|
|
|
void gcn64_sendBytes(const unsigned char *data, unsigned char n_bytes);
|
2015-10-28 23:03:16 -04:00
|
|
|
|
|
|
|
/**
|
|
|
|
* \brief Receive up to \max_bytes bytes
|
|
|
|
* \param dstbuf Destination buffer
|
|
|
|
* \param max_bytes The maximum number of bytes
|
2015-12-06 16:11:29 -05:00
|
|
|
* \return The number of received bytes. 0xFF in case of error, 0xFE in case of overflow (max_bytes too small)
|
2015-10-28 23:03:16 -04:00
|
|
|
*/
|
|
|
|
unsigned char gcn64_receiveBytes(unsigned char *dstbuf, unsigned char max_bytes);
|
2015-10-27 22:09:53 -04:00
|
|
|
|
|
|
|
#endif // _gcn64txrx_h__
|