AN249 Silicon_Laboratories, AN249 Datasheet - Page 35

no-image

AN249

Manufacturer Part Number
AN249
Description
Human Interface Device Tutorial
Manufacturer
Silicon_Laboratories
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AN2490NFHP
Manufacturer:
PANASONIC/松下
Quantity:
20 000
Part Number:
AN2491NFHP
Manufacturer:
PANASON
Quantity:
5 510
Part Number:
AN2491NFHP
Manufacturer:
MAXIM
Quantity:
5 510
8.2.1.4. Report Descriptor
This example uses six different Reports, each with a unique Report Structure. Two input reports are created: one to
transmit the potentiometer value, and one to transmit device statistics that are displayed in the application window.
Three output reports are created: one to transfer selected LED blinking patterns, one for enable and disable LED
blinking, and one command sends a two-byte blinking rate to the device. One feature report is created to transmit
LED dimmer levels and dimmer acknowledgement signalling. The Report Descriptor for this example appears as
follows:
{
0x06, 0x00, 0xff,
0x09, 0x01,
0xa1, 0x01,
0x09, 0x01,
0x85, OUT_Blink_PatternID,
0x95, OUT_Blink_PatternSize,
0x75, 0x08,
0x26, 0xff, 0x00,
0x15, 0x00,
0x09, 0x01,
0x91, 0x02,
0x85, OUT_Blink_EnableID,
0x95, OUT_Blink_EnableSize,
0x75, 0x08,
0x26, 0xff, 0x00,
0x15, 0x00,
0x09, 0x01,
0x91, 0x02,
0x85, OUT_Blink_RateID,
0x95, OUT_Blink_RateSize,
0x75, 0x08,
0x26, 0xff, 0x00,
0x15, 0x00,
0x09, 0x01,
0x91, 0x02,
0x85, IN_Blink_SelectorID,
0x95, IN_Blink_SelectorSize,
// Report ID
// REPORT_COUNT ()
// USAGE_PAGE (Vendor Defined Page 1)
// USAGE (Vendor Usage 1)
// COLLECTION (Application)
// USAGE (Vendor Usage 1)
// Report ID
// REPORT_COUNT ()
// REPORT_SIZE (8)
// LOGICAL_MAXIMUM (255)
// LOGICAL_MINIMUM (0)
// USAGE (Vendor Usage 1)
// OUTPUT (Data,Var,Abs)
// Report ID
// REPORT_COUNT ()
// REPORT_SIZE (8)
// LOGICAL_MAXIMUM (255)
// LOGICAL_MINIMUM (0)
// USAGE (Vendor Usage 1)
// OUTPUT (Data,Var,Abs)
// Report ID
// REPORT_COUNT ()
// REPORT_SIZE (8)
// LOGICAL_MAXIMUM (255)
// LOGICAL_MINIMUM (0)
// USAGE (Vendor Usage 1)
// OUTPUT (Data,Var,Abs)
Rev. 0.2
AN249
35

Related parts for AN249