STM32F769IDiscovery  1.00
uDANTE Audio Networking with STM32F7 DISCO board
Functions | Variables
usbh_hid.c File Reference

This file is the HID Layer Handlers for USB Host HID class. More...

#include "usbh_hid.h"
#include "usbh_hid_parser.h"

Go to the source code of this file.

Functions

USBH_StatusTypeDef USBH_HID_MouseInit (USBH_HandleTypeDef *phost)
 USBH_HID_MouseInit The function init the HID mouse. More...
 
USBH_StatusTypeDef USBH_HID_KeybdInit (USBH_HandleTypeDef *phost)
 USBH_HID_KeybdInit The function init the HID keyboard. More...
 
USBH_StatusTypeDef USBH_HID_GetHIDReportDescriptor (USBH_HandleTypeDef *phost, uint16_t length)
 USBH_Get_HID_ReportDescriptor Issue report Descriptor command to the device. Once the response received, parse the report descriptor and update the status. More...
 
USBH_StatusTypeDef USBH_HID_GetHIDDescriptor (USBH_HandleTypeDef *phost, uint16_t length)
 USBH_Get_HID_Descriptor Issue HID Descriptor command to the device. Once the response received, parse the report descriptor and update the status. More...
 
USBH_StatusTypeDef USBH_HID_SetIdle (USBH_HandleTypeDef *phost, uint8_t duration, uint8_t reportId)
 USBH_Set_Idle Set Idle State. More...
 
USBH_StatusTypeDef USBH_HID_SetReport (USBH_HandleTypeDef *phost, uint8_t reportType, uint8_t reportId, uint8_t *reportBuff, uint8_t reportLen)
 USBH_HID_Set_Report Issues Set Report. More...
 
USBH_StatusTypeDef USBH_HID_GetReport (USBH_HandleTypeDef *phost, uint8_t reportType, uint8_t reportId, uint8_t *reportBuff, uint8_t reportLen)
 USBH_HID_GetReport retreive Set Report. More...
 
USBH_StatusTypeDef USBH_HID_SetProtocol (USBH_HandleTypeDef *phost, uint8_t protocol)
 USBH_Set_Protocol Set protocol State. More...
 
HID_TypeTypeDef USBH_HID_GetDeviceType (USBH_HandleTypeDef *phost)
 USBH_HID_GetDeviceType Return Device function. More...
 
uint8_t USBH_HID_GetPollInterval (USBH_HandleTypeDef *phost)
 USBH_HID_GetPollInterval Return HID device poll time. More...
 
void fifo_init (FIFO_TypeDef *f, uint8_t *buf, uint16_t size)
 fifo_init Initialize FIFO. More...
 
uint16_t fifo_read (FIFO_TypeDef *f, void *buf, uint16_t nbytes)
 fifo_read Read from FIFO. More...
 
uint16_t fifo_write (FIFO_TypeDef *f, const void *buf, uint16_t nbytes)
 fifo_write Read from FIFO. More...
 
__weak void USBH_HID_EventCallback (USBH_HandleTypeDef *phost)
 The function is a callback about HID Data events. More...
 

Variables

USBH_ClassTypeDef HID_Class
 

Detailed Description

This file is the HID Layer Handlers for USB Host HID class.

Author
MCD Application Team
Version
V3.2.2
Date
07-July-2015
*      
*          ===================================================================      
*                                HID Class  Description
*          =================================================================== 
*           This module manages the HID class V1.11 following the "Device Class Definition
*           for Human Interface Devices (HID) Version 1.11 Jun 27, 2001".
*           This driver implements the following aspects of the specification:
*             - The Boot Interface Subclass
*             - The Mouse and Keyboard protocols
*      
*  
Attention

© COPYRIGHT 2015 STMicroelectronics

Licensed under MCD-ST Liberty SW License Agreement V2, (the "License"); You may not use this file except in compliance with the License. You may obtain a copy of the License at:

   http://www.st.com/software_license_agreement_liberty_v2

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Definition in file usbh_hid.c.