LUFA Library  140302
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
HID_ReportInfo_t Struct Reference

HID Parser State Structure. More...

#include <HIDParser.h>

Data Fields

HID_CollectionPath_t CollectionPaths [HID_MAX_COLLECTIONS]
uint16_t LargestReportSizeBits
HID_ReportSizeInfo_t ReportIDSizes [HID_MAX_REPORT_IDS]
HID_ReportItem_t ReportItems [HID_MAX_REPORTITEMS]
uint8_t TotalDeviceReports
uint8_t TotalReportItems
bool UsingReportIDs

Detailed Description

Type define for a complete processed HID report, including all report item data and collections.

Field Documentation

HID_CollectionPath_t HID_ReportInfo_t::CollectionPaths[HID_MAX_COLLECTIONS]

All collection items, referenced by the report items.

uint16_t HID_ReportInfo_t::LargestReportSizeBits

Largest report that the attached device will generate, in bits

HID_ReportSizeInfo_t HID_ReportInfo_t::ReportIDSizes[HID_MAX_REPORT_IDS]

Report sizes for each report in the interface

HID_ReportItem_t HID_ReportInfo_t::ReportItems[HID_MAX_REPORTITEMS]

Report items array, including all IN, OUT and FEATURE items.

uint8_t HID_ReportInfo_t::TotalDeviceReports

Number of reports within the HID interface

uint8_t HID_ReportInfo_t::TotalReportItems

Total number of report items stored in the ReportItems array.

bool HID_ReportInfo_t::UsingReportIDs

Indicates if the device has at least one REPORT ID element in its HID report descriptor.

The documentation for this struct was generated from the following file: