![]() |
PDL for FM4
Version1.2
Peripheral Driverl Library for FM4
|
#include "UsbHostHidKeyboard.h"
Go to the source code of this file.
Macros | |
| #define | __USBHOSTHIDKEYBOARD_C__ |
Functions | |
| static void | UsbHostHidKeyboard_DataReceivedCallback (stc_usbn_t *pstcUsb) |
| boolean_t | UsbHostHidKeyboard_InitHandler (stc_usbn_t *pstcUsb, uint8_t *pu8Configuration, uint32_t u32Length) |
| boolean_t | UsbHostHidKeyboard_DeinitHandler (stc_usbn_t *pstcUsb) |
| boolean_t | UsbHostHidKeyboard_DriverActive (void) |
| void | UsbHostHidKeyboard_SetCallback (void(*Handler)(KeyboardData_t *stcData)) |
| void | UsbHostHidKeyboard_RemoveCallback (void) |
| char_t | UsbHostHidKeyboard_GetCh (volatile uint32_t u32TimeOut) |
| void | HidKeyboard_SetLeds (uint8_t u8Data) |
Variables | |
| static stc_host_endpoint_t * | EndpointIN |
| static stc_host_endpoint_t * | EndpointOUT |
| static uint8_t | u8MouseData [8] |
| static uint8_t | u8EndpointIN |
| static uint8_t | u8EndpointOUT |
| static uint16_t | u16MaxPackageSizeIN |
| static uint16_t | u16MaxPackageSizeOUT |
| static KeyboardData_t | stcKeyboardData |
| static uint8_t | pu8OldData [8] |
| static boolean_t | bKeyboardChanged = FALSE |
| static stc_usbn_t * | pstcUsbHandle = NULL |
| void(* | KeyEventHandler )(KeyboardData_t *stcData) |
| const uint8_t | u8Keycodes [] |
| uint8_t | OutData [4] |
Part of Spansion USB Host Driver Module
A detailed description is available at USB Host HID Keyboard Module description
History:
Definition in file UsbHostHidKeyboard.c.
| #define __USBHOSTHIDKEYBOARD_C__ |
Definition at line 63 of file UsbHostHidKeyboard.c.
| void HidKeyboard_SetLeds | ( | uint8_t | u8Data | ) |
Definition at line 571 of file UsbHostHidKeyboard.c.
References stc_usb_request::bmRequestType, stc_usb_request::bRequest, pstcUsbHandle, stc_usb_request::wIndex, stc_usb_request::wLength, and stc_usb_request::wValue.
|
static |
Definition at line 468 of file UsbHostHidKeyboard.c.
References bKeyboardChanged, EndpointIN, FALSE, KeyEventHandler, pu8OldData, TRUE, KeyboardData::u8KeyCode1, KeyboardData::u8KeyCode2, KeyboardData::u8KeyCode3, KeyboardData::u8KeyCode4, KeyboardData::u8KeyCode5, KeyboardData::u8KeyCode6, KeyboardData::u8ModifierKeys, and KeyboardData::u8Reserved.
Referenced by UsbHostHidKeyboard_InitHandler().

Definition at line 91 of file UsbHostHidKeyboard.c.
Referenced by UsbHostHidKeyboard_DataReceivedCallback(), and UsbHostHidKeyboard_GetCh().
|
static |
Definition at line 85 of file UsbHostHidKeyboard.c.
Referenced by UsbHostHidKeyboard_DataReceivedCallback(), and UsbHostHidKeyboard_InitHandler().
|
static |
Definition at line 85 of file UsbHostHidKeyboard.c.
Referenced by UsbHostHidKeyboard_InitHandler().
| void(* KeyEventHandler)(KeyboardData_t *stcData) |
Definition at line 93 of file UsbHostHidKeyboard.c.
Referenced by UsbHostHidKeyboard_DataReceivedCallback(), UsbHostHidKeyboard_RemoveCallback(), and UsbHostHidKeyboard_SetCallback().
| uint8_t OutData[4] |
Definition at line 569 of file UsbHostHidKeyboard.c.
|
static |
Definition at line 92 of file UsbHostHidKeyboard.c.
Referenced by HidKeyboard_SetLeds(), UsbHostHidKeyboard_DeinitHandler(), UsbHostHidKeyboard_DriverActive(), UsbHostHidKeyboard_GetCh(), and UsbHostHidKeyboard_InitHandler().
|
static |
Definition at line 90 of file UsbHostHidKeyboard.c.
Referenced by UsbHostHidKeyboard_DataReceivedCallback().
|
static |
Definition at line 89 of file UsbHostHidKeyboard.c.
|
static |
Definition at line 88 of file UsbHostHidKeyboard.c.
Referenced by UsbHostHidKeyboard_InitHandler().
|
static |
Definition at line 88 of file UsbHostHidKeyboard.c.
Referenced by UsbHostHidKeyboard_InitHandler().
|
static |
Definition at line 87 of file UsbHostHidKeyboard.c.
Referenced by UsbHostHidKeyboard_InitHandler().
|
static |
Definition at line 87 of file UsbHostHidKeyboard.c.
Referenced by UsbHostHidKeyboard_InitHandler().
|
static |
Definition at line 86 of file UsbHostHidKeyboard.c.
Referenced by UsbHostHidKeyboard_InitHandler().