|
Macros | |
| #define | BOT_CBW_LENGTH 31 |
| #define | BOT_CBW_SIGNATURE 0x43425355 |
| #define | BOT_CSW_LENGTH 13 |
| #define | BOT_CSW_SIGNATURE 0x53425355 |
| #define | BOT_DATA_IN 2 /* Data In state */ |
| #define | BOT_DATA_OUT 1 /* Data Out state */ |
| #define | BOT_IDLE 0 /* Idle state */ |
| #define | BOT_LAST_DATA_IN 3 /* Last Data In Last */ |
| #define | BOT_SEND_DATA 4 /* Send Immediate data */ |
| #define | BOT_STATE_ERROR 2 |
| #define | BOT_STATE_NORMAL 0 |
| #define | BOT_STATE_RECOVERY 1 |
| #define | BOTH_DIR 2 |
| #define | CSW_CMD_FAILED 0x01 |
| #define | CSW_CMD_PASSED 0x00 |
| #define | CSW_PHASE_ERROR 0x02 |
| #define | DIR_IN 0 |
| #define | DIR_OUT 1 |
Enumerations | |
| enum | USBD_Status { USBD_OK = 0, USBD_BUSY, USBD_FAIL } |
| #define BOT_CBW_LENGTH 31 |
Definition at line 57 of file usbd_msc_bot.h.
| #define BOT_CBW_SIGNATURE 0x43425355 |
Definition at line 55 of file usbd_msc_bot.h.
| #define BOT_CSW_LENGTH 13 |
Definition at line 58 of file usbd_msc_bot.h.
| #define BOT_CSW_SIGNATURE 0x53425355 |
Definition at line 56 of file usbd_msc_bot.h.
| #define BOT_DATA_IN 2 /* Data In state */ |
Definition at line 51 of file usbd_msc_bot.h.
| #define BOT_DATA_OUT 1 /* Data Out state */ |
Definition at line 50 of file usbd_msc_bot.h.
| #define BOT_IDLE 0 /* Idle state */ |
Definition at line 49 of file usbd_msc_bot.h.
| #define BOT_LAST_DATA_IN 3 /* Last Data In Last */ |
Definition at line 52 of file usbd_msc_bot.h.
| #define BOT_SEND_DATA 4 /* Send Immediate data */ |
Definition at line 53 of file usbd_msc_bot.h.
| #define BOT_STATE_ERROR 2 |
Definition at line 68 of file usbd_msc_bot.h.
| #define BOT_STATE_NORMAL 0 |
Definition at line 66 of file usbd_msc_bot.h.
| #define BOT_STATE_RECOVERY 1 |
Definition at line 67 of file usbd_msc_bot.h.
| #define BOTH_DIR 2 |
Definition at line 73 of file usbd_msc_bot.h.
| #define CSW_CMD_FAILED 0x01 |
Definition at line 62 of file usbd_msc_bot.h.
| #define CSW_CMD_PASSED 0x00 |
Definition at line 61 of file usbd_msc_bot.h.
| #define CSW_PHASE_ERROR 0x02 |
Definition at line 63 of file usbd_msc_bot.h.
| #define DIR_IN 0 |
Definition at line 71 of file usbd_msc_bot.h.
| #define DIR_OUT 1 |
Definition at line 72 of file usbd_msc_bot.h.
| enum USBD_Status |
| Enumerator | |
|---|---|
| USBD_OK | |
| USBD_BUSY | |
| USBD_FAIL | |
Definition at line 51 of file usbd_core.h.