USB Library
HID_ITEM_INFO Structure
Syntax
typedef struct _HID_ITEM_INFO {
  union {
    struct {
      uint8_t ItemSize : 2;
      uint8_t ItemType : 2;
      uint8_t ItemTag : 4;
    }
    uint8_t val;
  } ItemDetails;
  union {
    int32_t sItemData;
    uint32_t uItemData;
    uint8_t bItemData[4];
  } Data;
} HID_ITEM_INFO;
Description

HID Item Information 

This structure contains information about each Item of the report descriptor.

Members
Members 
Description 
uint8_t ItemSize : 2; 
Numeric expression specifying size of data 
uint8_t ItemType : 2; 
This field identifies type of item(Main, Global or Local) 
uint8_t ItemTag : 4; 
This field specifies the function of the item 
uint8_t val; 
to access the data in byte format 
int32_t sItemData; 
Item Data is stored in signed format 
uint32_t uItemData; 
Item Data is stored in unsigned format 
MLA - USB Library Help Version : 2.16
http://www.microchip.com/mla