APM:Libraries
|
Macros | |
#define | BOT_CBW_SIGNATURE 0x43425355 |
#define | BOT_CSW_SIGNATURE 0x53425355 |
#define | BOT_CBW_LENGTH 31 |
#define | BOT_CSW_LENGTH 13 |
#define | CSW_CMD_PASSED 0x00 |
#define | CSW_CMD_FAILED 0x01 |
#define | CSW_PHASE_ERROR 0x02 |
#define | BOT_STATE_NORMAL 0 |
#define | BOT_STATE_RECOVERY 1 |
#define | BOT_STATE_ERROR 2 |
#define | DIR_IN 0 |
#define | DIR_OUT 1 |
#define | BOTH_DIR 2 |
Enumerations | |
enum | BOT_STATE { BOT_IDLE = 0, BOT_DATA_OUT = 1, BOT_DATA_IN = 2, BOT_LAST_DATA_IN = 3, BOT_SEND_DATA = 4 } |
enum | USBD_Status { USBD_OK = 0, USBD_BUSY, USBD_FAIL } |
#define BOT_CBW_LENGTH 31 |
Definition at line 59 of file usbd_msc_bot.h.
Referenced by MSC_BOT_Abort(), MSC_BOT_CBW_Decode(), MSC_BOT_Init(), MSC_BOT_Reset(), and MSC_BOT_SendCSW().
#define BOT_CBW_SIGNATURE 0x43425355 |
Definition at line 57 of file usbd_msc_bot.h.
Referenced by MSC_BOT_CBW_Decode().
#define BOT_CSW_LENGTH 13 |
Definition at line 60 of file usbd_msc_bot.h.
Referenced by MSC_BOT_SendCSW().
#define BOT_CSW_SIGNATURE 0x53425355 |
Definition at line 58 of file usbd_msc_bot.h.
Referenced by MSC_BOT_SendCSW().
#define BOT_STATE_ERROR 2 |
Definition at line 70 of file usbd_msc_bot.h.
Referenced by MSC_BOT_Abort(), MSC_BOT_CBW_Decode(), and MSC_BOT_CplClrFeature().
#define BOT_STATE_NORMAL 0 |
Definition at line 68 of file usbd_msc_bot.h.
Referenced by MSC_BOT_Abort(), MSC_BOT_CplClrFeature(), and MSC_BOT_Init().
#define BOT_STATE_RECOVERY 1 |
Definition at line 69 of file usbd_msc_bot.h.
Referenced by MSC_BOT_CplClrFeature(), and MSC_BOT_Reset().
#define BOTH_DIR 2 |
Definition at line 75 of file usbd_msc_bot.h.
#define CSW_CMD_FAILED 0x01 |
Definition at line 64 of file usbd_msc_bot.h.
Referenced by MSC_BOT_CplClrFeature(), MSC_BOT_DataIn(), MSC_BOT_DataOut(), and usb_task().
#define CSW_CMD_PASSED 0x00 |
Definition at line 63 of file usbd_msc_bot.h.
Referenced by MSC_BOT_CBW_finish(), MSC_BOT_DataIn(), MSC_BOT_SendData(), and SCSI_ProcessWrite().
#define CSW_PHASE_ERROR 0x02 |
Definition at line 65 of file usbd_msc_bot.h.
#define DIR_IN 0 |
Definition at line 73 of file usbd_msc_bot.h.
#define DIR_OUT 1 |
Definition at line 74 of file usbd_msc_bot.h.
enum BOT_STATE |
Enumerator | |
---|---|
BOT_IDLE | |
BOT_DATA_OUT | |
BOT_DATA_IN | |
BOT_LAST_DATA_IN | |
BOT_SEND_DATA |
Definition at line 49 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.