Joshua Noble
/
nRF51822_esb
trying to get micro-esb working with nrf51822
uesb_error_codes.h@0:a01a54c0dc90, 2015-03-23 (annotated)
- Committer:
- joshuajnoble
- Date:
- Mon Mar 23 04:09:41 2015 +0000
- Revision:
- 0:a01a54c0dc90
trying esb
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
joshuajnoble | 0:a01a54c0dc90 | 1 | #ifndef __UESB_ERROR_CODES_H__ |
joshuajnoble | 0:a01a54c0dc90 | 2 | #define __UESB_ERROR_CODES_H__ |
joshuajnoble | 0:a01a54c0dc90 | 3 | |
joshuajnoble | 0:a01a54c0dc90 | 4 | #define UESB_SUCCESS 0x0000 |
joshuajnoble | 0:a01a54c0dc90 | 5 | |
joshuajnoble | 0:a01a54c0dc90 | 6 | // State related errors |
joshuajnoble | 0:a01a54c0dc90 | 7 | #define UESB_ERROR_NOT_INITIALIZED 0x0101 |
joshuajnoble | 0:a01a54c0dc90 | 8 | #define UESB_ERROR_ALREADY_INITIALIZED 0x0102 |
joshuajnoble | 0:a01a54c0dc90 | 9 | #define UESB_ERROR_NOT_IDLE 0x0103 |
joshuajnoble | 0:a01a54c0dc90 | 10 | #define UESB_ERROR_NOT_IN_RX_MODE 0x0104 |
joshuajnoble | 0:a01a54c0dc90 | 11 | |
joshuajnoble | 0:a01a54c0dc90 | 12 | // Invalid parameter errors |
joshuajnoble | 0:a01a54c0dc90 | 13 | #define UESB_ERROR_INVALID_PARAMETERS 0x0200 |
joshuajnoble | 0:a01a54c0dc90 | 14 | #define UESB_ERROR_DYN_ACK_NOT_ENABLED 0x0201 |
joshuajnoble | 0:a01a54c0dc90 | 15 | |
joshuajnoble | 0:a01a54c0dc90 | 16 | // FIFO related errors |
joshuajnoble | 0:a01a54c0dc90 | 17 | #define UESB_ERROR_TX_FIFO_FULL 0x0301 |
joshuajnoble | 0:a01a54c0dc90 | 18 | #define UESB_ERROR_TX_FIFO_EMPTY 0x0302 |
joshuajnoble | 0:a01a54c0dc90 | 19 | #define UESB_ERROR_RX_FIFO_EMPTY 0x0303 |
joshuajnoble | 0:a01a54c0dc90 | 20 | |
joshuajnoble | 0:a01a54c0dc90 | 21 | #endif |