LUFA Library  210130
HID_ReportItem_t Struct Reference

HID Parser Report Item Details Structure. More...

#include <HIDParser.h>

Data Fields

HID_ReportItem_Attributes_t Attributes
uint16_t BitOffset
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

◆ Attributes

HID_ReportItem_Attributes_t HID_ReportItem_t::Attributes

Report item attributes.

◆ BitOffset

uint16_t HID_ReportItem_t::BitOffset

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

◆ CollectionPath

HID_CollectionPath_t* HID_ReportItem_t::CollectionPath

Collection path of the item.

◆ ItemFlags

uint16_t HID_ReportItem_t::ItemFlags

Item data flags, a mask of HID_IOF_* constants.

◆ ItemType

uint8_t HID_ReportItem_t::ItemType

Report item type, a value in HID_ReportItemTypes_t.

◆ PreviousValue

uint32_t HID_ReportItem_t::PreviousValue

Previous value of the report item.

◆ ReportID

uint8_t HID_ReportItem_t::ReportID

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

◆ Value

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: