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.
 
void EVENT_USB_Device_StartOfFrame (void)
 
bool CALLBACK_HID_Device_CreateHIDReport (USB_ClassInfo_HID_Device_t *const HIDInterfaceInfo, uint8_t *const ReportID, const uint8_t ReportType, void *ReportData, uint16_t *const ReportSize)
 HID class driver callback function for the creation of HID reports to the host.
 
void CALLBACK_HID_Device_ProcessHIDReport (USB_ClassInfo_HID_Device_t *const HIDInterfaceInfo, const uint8_t ReportID, const uint8_t ReportType, const void *ReportData, const uint16_t ReportSize)
 HID class driver callback function for the processing of HID reports from the host.
 

Detailed Description

Function Documentation

bool CALLBACK_HID_Device_CreateHIDReport ( USB_ClassInfo_HID_Device_t *const  HIDInterfaceInfo,
uint8_t *const  ReportID,
const uint8_t  ReportType,
void *  ReportData,
uint16_t *const  ReportSize 
)

HID class driver callback function for the creation of HID reports to the host.

Parameters
HIDInterfaceInfo: Pointer to the HID class interface configuration structure being referenced
ReportID: Report ID requested by the host if non-zero, otherwise callback should set to the generated report ID
ReportType: Type of the report to create, either HID_REPORT_ITEM_In or HID_REPORT_ITEM_Feature
ReportData: Pointer to a buffer where the created report should be stored
ReportSize: Number of bytes written in the report (or zero if no report is to be sent
Returns
Boolean true to force the sending of the report, false to let the library determine if it needs to be sent

Definition at line 130 of file GenericHID.c.

void CALLBACK_HID_Device_ProcessHIDReport ( USB_ClassInfo_HID_Device_t *const  HIDInterfaceInfo,
const uint8_t  ReportID,
const uint8_t  ReportType,
const void *  ReportData,
const uint16_t  ReportSize 
)

HID class driver callback function for the processing of HID reports from the host.

Parameters
HIDInterfaceInfo: Pointer to the HID class interface configuration structure being referenced
ReportID: Report ID of the received report from the host
ReportType: The type of report that the host has sent, either HID_REPORT_ITEM_Out or HID_REPORT_ITEM_Feature
ReportData: Pointer to a buffer where the received report has been stored
ReportSize: Size in bytes of the received HID report
Returns
Nothing

Definition at line 168 of file GenericHID.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 EVENT_USB_Device_StartOfFrame ( void  )

Event handler for the USB device Start Of Frame event.

Definition at line 123 of file GenericHID.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.