LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions prototypes

Functions

void SetupHardware (void)
 Hardware setup event callback function.
 
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.
 

Detailed Description

Function Documentation

bool CALLBACK_MS_Device_SCSICommandReceived ( USB_ClassInfo_MS_Device_t *const  MSInterfaceInfo)

Mass Storage class driver callback function.

Mass Storage class driver callback for the user processing of a received SCSI command. This callback will fire each time the host sends a SCSI command which requires processing by the user application. Inside this callback the user is responsible for the processing of the received SCSI command from the host. The SCSI command is available in the CommandBlock structure inside the Mass Storage class state structure passed as a parameter to the callback function.

Parameters
MSInterfaceInfo: Pointer to the Mass Storage class interface configuration structure
Returns
true : On success false : On failure Mass Storage class driver callback function for the reception of SCSI commands from the host, which must be processed.

Mass Storage class driver callback for the user processing of a received SCSI command. This callback will fire each time the host sends a SCSI command which requires processing by the user application. Inside this callback the user is responsible for the processing of the received SCSI command from the host. The SCSI command is available in the CommandBlock structure inside the Mass Storage class state structure passed as a parameter to the callback function.

Mass Storage class driver callback function the reception of SCSI commands from the host, which must be processed.

Definition at line 106 of file MassStorage.c.

void EVENT_USB_Device_ConfigurationChanged ( void  )

USB Device configuration change event callback.

Returns
None This is the USB Device configuration change event call back function

Event handler for the library USB Configuration Changed event.

Definition at line 92 of file MassStorage.c.

void EVENT_USB_Device_Connect ( void  )

USB Device connect event callback.

Returns
None This is the USB Device connect event call back function

Event handler for the library USB Connection event.

Definition at line 84 of file MassStorage.c.

void EVENT_USB_Device_ControlRequest ( void  )

USB Device control request receive event callback.

Returns
None This is the USB Device control request receive event call back function

Event handler for the library USB Control Request reception event.

Definition at line 100 of file MassStorage.c.

void EVENT_USB_Device_Disconnect ( void  )

USB Device disconnect event callback.

Returns
None This is the USB Device disconnect event call back function

Event handler for the library USB Disconnection event.

Definition at line 88 of file MassStorage.c.

void SetupHardware ( void  )

Hardware setup event callback function.

Returns
None This is the USB HW set up event call back function

Configures the board hardware and chip peripherals for the demo's functionality.

Under development, not working yet.

Under development, not working yet.

Under development, not working yet.

Under development, not working yet.

Under development, not working yet.

Definition at line 97 of file AudioInput.c.