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 KeyboardHost_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)
 
char keyboard (void)
 
void SetupHardwareKeyboard (void)
 

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.

char keyboard ( 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 55 of file KeyboardHost.c.

void KeyboardHost_Task ( void  )

Task to manage an enumerated USB keyboard once connected, to display key state data as it is received.

Definition at line 86 of file KeyboardHost.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.

void SetupHardwareKeyboard ( void  )

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

Definition at line 70 of file KeyboardHost.c.