You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

14 lines
472 B

#ifndef _gcn64txrx_h__
#define _gcn64txrx_h__
void gcn64_sendBytes(const unsigned char *data, unsigned char n_bytes);
/**
* \brief Receive up to \max_bytes bytes
* \param dstbuf Destination buffer
* \param max_bytes The maximum number of bytes
* \return The number of received bytes. 0xFF in case of error, 0xFE in case of overflow (max_bytes too small)
*/
unsigned char gcn64_receiveBytes(unsigned char *dstbuf, unsigned char max_bytes);
#endif // _gcn64txrx_h__