15 #ifndef __SILICON_LABS_HIDKBD_H__
16 #define __SILICON_LABS_HIDKBD_H__
HIDKBD_SetReportFunc_t setReportFunc
#define EFM32_PACK_START(x)
void HIDKBD_StateChangeEvent(USBD_State_TypeDef oldState, USBD_State_TypeDef newState)
Handle USB state change events, this function must be called each time the USB device state is change...
const char HIDKBD_ReportDescriptor[69]
USB Setup request package.
USBD_State_TypeDef
USB device state enumerator.
int HIDKBD_SetupCmd(const USB_Setup_TypeDef *setup)
Handle USB setup commands. Implements HID class specific commands. This function must be called each ...
void HIDKBD_Init(HIDKBD_Init_t *init)
Initialize HID Keyboard driver.
USB protocol stack library API for EFM32/EZR32.
void(* HIDKBD_SetReportFunc_t)(uint8_t report)
Callback function pointer for HID output reports. This function will be called by the driver each tim...
void HIDKBD_KeyboardEvent(HIDKBD_KeyReport_t *report)
Report a keyboard press/release event.