| LUFA Library 140302 |

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
HID_ReportItem_t Struct Reference
HID Report Parser

HID Parser Report Item Details Structure. More...

`#include <HIDParser.h>`

## Data Fields
HID_ReportItem_Attributes_t | Attributes
uint16_t | BitOffset
HID_CollectionPath_t * | CollectionPath
uint16_t | ItemFlags
uint8_t | ItemType
uint32_t | PreviousValue
uint8_t | ReportID
uint32_t | Value

## Detailed Description

Type define for a report item (IN, OUT or FEATURE) layout attributes and other details.

## Field Documentation

HID_ReportItem_Attributes_t HID_ReportItem_t::Attributes

Report item attributes.

uint16_t HID_ReportItem_t::BitOffset

Bit offset in the IN, OUT or FEATURE report of the item.

HID_CollectionPath_t* HID_ReportItem_t::CollectionPath

Collection path of the item.

uint16_t HID_ReportItem_t::ItemFlags

Item data flags, a mask of `HID_IOF_*` constants.

uint8_t HID_ReportItem_t::ItemType

Report item type, a value in HID_ReportItemTypes_t.

uint32_t HID_ReportItem_t::PreviousValue

Previous value of the report item.

uint8_t HID_ReportItem_t::ReportID

Report ID this item belongs to, or 0x00 if device has only one report

uint32_t HID_ReportItem_t::Value

Current value of the report item - use HID_ALIGN_DATA() when processing a retrieved value so that it is aligned to a specific type.

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

- Drivers/USB/Class/Common/HIDParser.h