PDL for FM4  Version1.2
Peripheral Driverl Library for FM4
UsbHostHidKeyboard.h File Reference
#include "usb.h"
#include "UsbHost.h"
Include dependency graph for UsbHostHidKeyboard.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  KeyboardData
 

Macros

#define USBHOSTHIDKEYBOARD_ENABLED   OFF
 
#define KEYCODE_ASCII(keycode)   u8Keycodes[keycode]
 

Typedefs

typedef struct KeyboardData KeyboardData_t
 

Functions

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)
 

Variables

const uint8_t u8Keycodes []
 

Detailed Description

Part of Spansion USB Host Driver Module

A detailed description is available at USB Host HID Keyboard Module description

History:

  • 2010-12-13 1.0 MSc First version (works with 16FX)
  • 2010-01-05 1.1 MSc API Updates
  • 2011-03-30 1.2 MSc Public Release
  • 2011-08-24 1.3 MSc Bug fixes
  • 2012-06-05 1.4 MSc New verison for use with new USB driver for FM3 L3 Rename HidKeyboard.h -> UsbHostHidKeyboard.h
  • 2013-10-14 1.5 MSc PDL support added

Definition in file UsbHostHidKeyboard.h.

Macro Definition Documentation

#define USBHOSTHIDKEYBOARD_ENABLED   OFF

Definition at line 69 of file UsbHostHidKeyboard.h.