#include "sceptre.h"#include "lpcusb\target\type.h"#include "lpcusb\target\debug.h"#include "lpcusb\target\usbapi.h"#include "msc_bot.h"#include "blockdev.h"Go to the source code of this file.
Defines | |
| #define | __SKIP_FATFS__ |
| #define | MAX_PACKET_SIZE 64 |
| #define | LE_WORD(x) ((x)&0xFF),((x)>>8) |
Functions | |
| bool_t | usb_mass_storage_init (void) |
| bool_t | usb_mass_storage_tick (void) |
Mass storage main interface.
This is based on the mass storage example msc from lpcusb.
Definition in file usb_mass_storage.c.
| bool_t usb_mass_storage_init | ( | void | ) |
Initialise the USB stack as a mass storage device.
Definition at line 183 of file usb_mass_storage.c.
| bool_t usb_mass_storage_tick | ( | void | ) |
Run the USB stack.
Call as often and fast as possible.
Definition at line 224 of file usb_mass_storage.c.
1.6.2