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.

20 lines
942 B

  1. #ifndef _gcn64txrx_h__
  2. #define _gcn64txrx_h__
  3. void gcn64_sendBytes0(const unsigned char *data, unsigned char n_bytes);
  4. void gcn64_sendBytes1(const unsigned char *data, unsigned char n_bytes);
  5. void gcn64_sendBytes2(const unsigned char *data, unsigned char n_bytes);
  6. void gcn64_sendBytes3(const unsigned char *data, unsigned char n_bytes);
  7. /**
  8. * \brief Receive up to \max_bytes bytes
  9. * \param dstbuf Destination buffer
  10. * \param max_bytes The maximum number of bytes
  11. * \return The number of received bytes. 0xFF in case of error, 0xFE in case of overflow (max_bytes too small)
  12. */
  13. unsigned char gcn64_receiveBytes0(unsigned char *dstbuf, unsigned char max_bytes);
  14. unsigned char gcn64_receiveBytes1(unsigned char *dstbuf, unsigned char max_bytes);
  15. unsigned char gcn64_receiveBytes2(unsigned char *dstbuf, unsigned char max_bytes);
  16. unsigned char gcn64_receiveBytes3(unsigned char *dstbuf, unsigned char max_bytes);
  17. #endif // _gcn64txrx_h__