Wouter van Kleunen
/
nrf52_esb
NRF52_esb
Embed:
(wiki syntax)
Show/hide line numbers
uesb_error_codes.h
00001 #ifndef __UESB_ERROR_CODES_H__ 00002 #define __UESB_ERROR_CODES_H__ 00003 00004 #define UESB_SUCCESS 0x0000 00005 00006 // State related errors 00007 #define UESB_ERROR_NOT_INITIALIZED 0x0101 00008 #define UESB_ERROR_ALREADY_INITIALIZED 0x0102 00009 #define UESB_ERROR_NOT_IDLE 0x0103 00010 #define UESB_ERROR_NOT_IN_RX_MODE 0x0104 00011 00012 // Invalid parameter errors 00013 #define UESB_ERROR_INVALID_PARAMETERS 0x0200 00014 #define UESB_ERROR_DYN_ACK_NOT_ENABLED 0x0201 00015 00016 // FIFO related errors 00017 #define UESB_ERROR_TX_FIFO_FULL 0x0301 00018 #define UESB_ERROR_TX_FIFO_EMPTY 0x0302 00019 #define UESB_ERROR_RX_FIFO_EMPTY 0x0303 00020 00021 #endif
Generated on Sun Jul 17 2022 00:47:52 by 1.7.2