LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
MassStorageHost.c File Reference
#include "MassStorageHost.h"

Go to the source code of this file.

Functions

int main (void)
 
void SetupHardware (void)
 Hardware setup event callback function.
 
void MassStorageHost_Task (void)
 
void EVENT_USB_Host_DeviceAttached (const uint8_t corenum)
 
void EVENT_USB_Host_DeviceUnattached (const uint8_t corenum)
 
void EVENT_USB_Host_DeviceEnumerationComplete (const uint8_t corenum)
 
void EVENT_USB_Host_HostError (const uint8_t corenum, const uint8_t ErrorCode)
 
void EVENT_USB_Host_DeviceEnumerationFailed (const uint8_t corenum, const uint8_t ErrorCode, const uint8_t SubErrorCode)
 

Variables

USB_ClassInfo_MS_Host_t FlashDisk_MS_Interface
 

Function Documentation

int main ( void  )

Main program entry point. This routine configures the hardware required by the application, then enters a loop to run the application tasks in sequence.

Definition at line 52 of file MassStorageHost.c.

Variable Documentation

USB_ClassInfo_MS_Host_t FlashDisk_MS_Interface
Initial value:
= {
.Config = {
.DataINPipeNumber = 1,
.DataINPipeDoubleBank = false,
.DataOUTPipeNumber = 2,
.DataOUTPipeDoubleBank = false,
},
}

LPCUSBlib Mass Storage Class driver interface configuration and state information. This structure is passed to all Mass Storage Class driver functions, so that multiple instances of the same class within a device can be differentiated from one another.

Definition at line 39 of file MassStorageHost.c.