1
0
mirror of https://github.com/raphnet/gc_n64_usb-v3 synced 2024-11-16 14:15:04 -05:00
gc_n64_usb-v3/gcn64txrx.h

15 lines
424 B
C
Raw Normal View History

#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
*/
unsigned char gcn64_receiveBytes(unsigned char *dstbuf, unsigned char max_bytes);
#endif // _gcn64txrx_h__