Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: BSP_DISCO_F746NG_patch mbed-rtos mbed
usbh_hid.c File Reference
This file is the HID Layer Handlers for USB Host HID class. More...
Go to the source code of this file.
Functions | |
| static USBH_StatusTypeDef | USBH_HID_InterfaceInit (USBH_HandleTypeDef *phost) |
| USBH_HID_InterfaceInit The function init the HID class. | |
| static USBH_StatusTypeDef | USBH_HID_InterfaceDeInit (USBH_HandleTypeDef *phost) |
| USBH_HID_InterfaceDeInit The function DeInit the Pipes used for the HID class. | |
| static USBH_StatusTypeDef | USBH_HID_ClassRequest (USBH_HandleTypeDef *phost) |
| USBH_HID_ClassRequest The function is responsible for handling Standard requests for HID class. | |
| static USBH_StatusTypeDef | USBH_HID_Process (USBH_HandleTypeDef *phost) |
| USBH_HID_Process The function is for managing state machine for HID data transfers. | |
| static USBH_StatusTypeDef | USBH_HID_SOFProcess (USBH_HandleTypeDef *phost) |
| USBH_HID_SOFProcess The function is for managing the SOF Process. | |
| static void | USBH_HID_ParseHIDDesc (HID_DescTypeDef *desc, uint8_t *buf) |
| USBH_ParseHIDDesc This function Parse the HID descriptor. | |
| USBH_StatusTypeDef | USBH_HID_MouseInit (USBH_HandleTypeDef *phost) |
| USBH_HID_MouseInit The function init the HID mouse. | |
| USBH_StatusTypeDef | USBH_HID_KeybdInit (USBH_HandleTypeDef *phost) |
| USBH_HID_KeybdInit The function init the HID keyboard. | |
| USBH_StatusTypeDef | USBH_HID_GetHIDReportDescriptor (USBH_HandleTypeDef *phost, uint16_t length) |
| USBH_Get_HID_ReportDescriptor Issue report Descriptor command to the device. | |
| USBH_StatusTypeDef | USBH_HID_GetHIDDescriptor (USBH_HandleTypeDef *phost, uint16_t length) |
| USBH_Get_HID_Descriptor Issue HID Descriptor command to the device. | |
| USBH_StatusTypeDef | USBH_HID_SetIdle (USBH_HandleTypeDef *phost, uint8_t duration, uint8_t reportId) |
| USBH_Set_Idle Set Idle State. | |
| 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. | |
| 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. | |
| USBH_StatusTypeDef | USBH_HID_SetProtocol (USBH_HandleTypeDef *phost, uint8_t protocol) |
| USBH_Set_Protocol Set protocol State. | |
| HID_TypeTypeDef | USBH_HID_GetDeviceType (USBH_HandleTypeDef *phost) |
| USBH_HID_GetDeviceType Return Device function. | |
| uint8_t | USBH_HID_GetPollInterval (USBH_HandleTypeDef *phost) |
| USBH_HID_GetPollInterval Return HID device poll time. | |
| void | fifo_init (FIFO_TypeDef *f, uint8_t *buf, uint16_t size) |
| fifo_init Initialize FIFO. | |
| uint16_t | fifo_read (FIFO_TypeDef *f, void *buf, uint16_t nbytes) |
| fifo_read Read from FIFO. | |
| uint16_t | fifo_write (FIFO_TypeDef *f, const void *buf, uint16_t nbytes) |
| fifo_write Read from FIFO. | |
| __weak void | USBH_HID_EventCallback (USBH_HandleTypeDef *phost) |
| The function is a callback about HID Data events. | |
Detailed Description
This file is the HID Layer Handlers for USB Host HID class.
- 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.
Generated on Tue Jul 12 2022 14:58:32 by
1.7.2