| LPCOpen Platform v1.03 LPCOpen Platform for NXP LPC Microcontrollers

- Main Page
- Modules
- Data Structures
- Files
- Related Pages

- File List
- Globals

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
KeyboardHost.c File Reference
`#include "KeyboardHost.h"`

Go to the source code of this file.

## Functions
static void | KeyboardHost_Task (void)
static void | SetupHardware (void)
int | main (void)
| Main program entry point.
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)
bool | CALLBACK_HIDParser_FilterHIDReportItem (HID_ReportItem_t *const CurrentItem)

## Variables
static USB_ClassInfo_HID_Host_t | Keyboard_HID_Interface

## Function Documentation

static void KeyboardHost_Task | ( | void |  | ) |
| static

Definition at line 65 of file KeyboardHost.c.

static void SetupHardware | ( | void |  | ) |
| static

Definition at line 108 of file KeyboardHost.c.

## Variable Documentation

USB_ClassInfo_HID_Host_t Keyboard_HID_Interface
| static

Initial value:
= {
.Config = {
.DataINPipeNumber = 1,
.DataINPipeDoubleBank = false,
.DataOUTPipeNumber = 2,
.DataOUTPipeDoubleBank = false,
.HIDInterfaceProtocol = HID_CSCP_KeyboardBootProtocol,
.PortNumber = 0,
},
}

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

Definition at line 43 of file KeyboardHost.c.