Renesas H8SX1664 User Manual page 12

Starter kit usb sample code
Table of Contents

Advertisement

Input Report:
Byte 1
Bit 0 = LED status.
Bit 1 = ADC value valid indicator.
Bit 2 = Switch pressed indicator.
Byte 2-5 = 32 bit, little endian ADC Value.
Output Report:
Byte 1
Bit 0 = LED toggle request.
Bit 1 = ADC read request.
Bit 2 = LCD set request.
Byte 2-17 = 16 ASCII Characters for LCD.
An input report is sent whenever a switch on the RSK is pressed or when the host requests a report.
An output report is sent whenever a user clicks on one of the dialog buttons.
The HID application functionality specific to USB consists of the following files:-
Target:
usb_hid_app.c
usb_hid_app.h
Host Application:
\PC\RSK_HID\*
12

Advertisement

Table of Contents
loading

Table of Contents