#include <string.h>#include "lpcusb\target\type.h"#include "lpcusb\target\debug.h"#include "lpcusb\target\usbapi.h"#include "msc_bot.h"#include "msc_scsi.h"Go to the source code of this file.
Data Structures | |
| struct | TCBW |
| struct | TCSW |
Defines | |
| #define | CBW_SIGNATURE 0x43425355 |
| #define | CSW_SIGNATURE 0x53425355 |
| #define | STATUS_PASSED 0x00 |
| #define | STATUS_FAILED 0x01 |
| #define | STATUS_PHASE_ERR 0x02 |
Enumerations | |
| enum | EBotState { eCBW, eDataOut, eDataIn, eCSW, eStalled } |
Functions | |
| void | MSCBotReset (void) |
| void | MSCBotBulkOut (U8 bEP, U8 bEPStatus) |
| void | MSCBotBulkIn (U8 bEP, U8 bEPStatus) |
Bulk-only-transfer layer for mass storage.
This layers sits between the generic USB layers and the SCSI layer and performs data transfer according to the BOT protocol.
Definition in file msc_bot.c.
| #define STATUS_PHASE_ERR 0x02 |
1.6.2