You are here

HID out report example | Cypress Semiconductor

Support & Community

HID out report example

Last Updated: October 08, 2014

Do you have an code example that demonstrates HID Out report transfer ?


The code example attached does a key board report transfer. Accoeding to the input keyboard report sent the output report sent by the HID driver is displayed on the LCD.

For information on HID Key board report structure in page 60 of HID specification.

Please find the code example attached that demonstrates a out report transfer.

1. In the project  'capslock' + 'a' is sent all the time via EP1.
2. Open a note pad and place the cursor there
3. In the OUT Endpoint EP2 , a value of 0x02  is observed indicating that the caps lock is pressed. The contents of EP2 by transferred to rxbuf and displayed on an LCD

File TitleLanguageFile SizeLast Updated
Download HID out report exampleEnglish538.58 KB04/05/11

Provide feedback on this article

Browse KB By Product

Browse KB by Type