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 MassStorageHost_Task (void)
 
void EVENT_USB_Host_HostError (const uint8_t corenum, const uint8_t ErrorCode)
 
void EVENT_USB_Host_DeviceAttached (const uint8_t corenum)
 
void EVENT_USB_Host_DeviceUnattached (const uint8_t corenum)
 
void EVENT_USB_Host_DeviceEnumerationFailed (const uint8_t corenum, const uint8_t ErrorCode, const uint8_t SubErrorCode)
 
void EVENT_USB_Host_DeviceEnumerationComplete (const uint8_t corenum)
 

Detailed Description

Function Documentation

void EVENT_USB_Host_DeviceAttached ( const uint8_t  corenum)

Event handler for the USB_DeviceAttached event. This indicates that a device has been attached to the host, and starts the library USB task to begin the enumeration and USB management process.

Definition at line 141 of file AudioOutputHost.c.

void EVENT_USB_Host_DeviceEnumerationComplete ( const uint8_t  corenum)

Event handler for the USB_DeviceEnumerationComplete event. This indicates that a device has been successfully enumerated by the host and is now ready to be used by the application.

Definition at line 160 of file AudioOutputHost.c.

void EVENT_USB_Host_DeviceEnumerationFailed ( const uint8_t  corenum,
const uint8_t  ErrorCode,
const uint8_t  SubErrorCode 
)

Event handler for the USB_DeviceEnumerationFailed event. This indicates that a problem occurred while enumerating an attached USB device.

Definition at line 225 of file AudioOutputHost.c.

void EVENT_USB_Host_DeviceUnattached ( const uint8_t  corenum)

Event handler for the USB_DeviceUnattached event. This indicates that a device has been removed from the host, and stops the library USB task management process.

Definition at line 150 of file AudioOutputHost.c.

void EVENT_USB_Host_HostError ( const uint8_t  corenum,
const uint8_t  ErrorCode 
)

Event handler for the USB_HostError event. This indicates that a hardware error occurred while in host mode.

Definition at line 210 of file AudioOutputHost.c.

void MassStorageHost_Task ( void  )

Task to manage an enumerated USB Mass Storage device once connected, to print out data from the device.

Definition at line 82 of file MassStorageHost.c.

void SetupHardware ( void  )

Hardware setup event callback 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.