| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
usbmsdev.h File Reference

## Detailed Description

Header file for usbmsdev.c.

Definition in file usbmsdev.h.

`#include "board.h"`
`#include "lpc43xx_dualcore_config.h"`
`#include "USB.h"`
`#include <string.h>`
`#include "Descriptors.h"`
`#include "Lib/SCSI.h"`

Go to the source code of this file.

## Macros
#define | LOOP_TASKS 0
#define | LEDMASK_USB_NOTREADY LEDS_LED1
#define | LEDMASK_USB_ENUMERATING (LEDS_LED2 | LEDS_LED3)
#define | LEDMASK_USB_READY (LEDS_LED2 | LEDS_LED4)
#define | LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3)
#define | LEDMASK_USB_BUSY LEDS_LED2
#define | TOTAL_LUNS 1
#define | LUN_MEDIA_BLOCKS (VIRTUAL_MEMORY_BLOCKS / TOTAL_LUNS)
#define | DISK_READ_ONLY false

## Functions
void | EVENT_USB_Device_Connect (void)
| USB Device connect event callback.
void | EVENT_USB_Device_Disconnect (void)
| USB Device disconnect event callback.
void | EVENT_USB_Device_ConfigurationChanged (void)
| USB Device configuration change event callback.
void | EVENT_USB_Device_ControlRequest (void)
| USB Device control request receive event callback.
bool | CALLBACK_MS_Device_SCSICommandReceived (USB_ClassInfo_MS_Device_t *const MSInterfaceInfo)
| Mass Storage class driver callback function.

## Macro Definition Documentation

#define LOOP_TASKS 0

Definition at line 64 of file usbmsdev.h.