![]() |
LPCOpen Platform
LPCOpen Platform for NXP LPC Microcontrollers
|
#include "board.h"
#include "USB.h"
#include <stdbool.h>
#include <string.h>
#include "Descriptors.h"
Go to the source code of this file.
Macros | |
#define | LEDMASK_USB_NOTREADY LEDS_LED1 |
#define | LEDMASK_USB_ENUMERATING (LEDS_LED2 | LEDS_LED3) |
#define | LEDMASK_USB_READY (LEDS_LED2 | LEDS_LED4) |
#define | LEDMASK_USB_ERROR (LEDS_LED1 | LEDS_LED3) |
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. | |