Overview of USB Host HID RTOS Example
masterThis example demonstrates how to use the STM32F105x/107x USB OTG Host peripheral to interact with USB Human Interface Devices (HID), specifically mice and keyboards, within an RTOS environment (FreeRTOS with CMSIS-OS).
Key Features
- Device Enumeration: Automatically detects connected HID devices and extracts VID, PID, manufacturer name, serial number, and product name.
- Mouse Support: Moving a mouse moves a pointer on the LCD; button presses highlight rectangles in blue.
- Keyboard Support: Tapped characters are displayed on the LCD.
- RTOS Integration: Uses a normal priority thread to execute the HID routine.
- User Interface: A menu allows users to start HID applications or re-enumerate the device using joystick buttons.