SAM3S8/SD8 Software Package: libraries/usb/include/HIDReports.h File Reference

SAM3S8/SD8 Software Package 1.2
Data Structures | Defines

# HIDReports.h File Reference

`#include <stdint.h>`

Go to the source code of this file.

## Data Structures

struct | HIDShortItem
struct | HIDLongItem
struct | HIDReportNoID
struct | HIDReport

## Defines

#define | HIDItemSize_0B 0
#define | HIDItemSize_1B 1
#define | HIDItemSize_2B 2
#define | HIDItemSize_4B 3
#define | HIDItemType_MAIN 0
#define | HIDItemType_GLOBAL 1
#define | HIDItemType_LOCAL 2
#define | HIDItem_LONGITEM 0xFE
#define | HIDReport_INPUT 0x80
#define | HIDReport_OUTPUT 0x90
#define | HIDReport_FEATURE 0xB0
#define | HIDReport_COLLECTION 0xA0
#define | HIDReport_ENDCOLLECTION 0xC0
#define | HIDReport_CONSTANT (1 << 0)
#define | HIDReport_VARIABLE (1 << 1)
#define | HIDReport_RELATIVE (1 << 2)
#define | HIDReport_WRAP (1 << 3)
#define | HIDReport_NONLINEAR (1 << 4)
#define | HIDReport_NOPREFERRED (1 << 5)
#define | HIDReport_NULLSTATE (1 << 6)
#define | HIDReport_VOLATILE (1 << 7)
#define | HIDReport_BUFFEREDBYTES (1 << 8)
#define | HIDReport_COLLECTION_PHYSICAL 0x00
#define | HIDReport_COLLECTION_APPLICATION 0x01
#define | HIDReport_COLLECTION_LOGICAL 0x02
#define | HIDReport_COLLECTION_REPORT 0x03
#define | HIDReport_COLLECTION_NAMEDARRAY 0x04
#define | HIDReport_COLLECTION_USAGESWITCH 0x05
#define | HIDReport_COLLECTION_USAGEMODIFIER 0x06
#define | HIDReport_GLOBAL_USAGEPAGE 0x04
#define | HIDReport_GLOBAL_LOGICALMINIMUM 0x14
#define | HIDReport_GLOBAL_LOGICALMAXIMUM 0x24
#define | HIDReport_GLOBAL_PHYSICALMINIMUM 0x34
#define | HIDReport_GLOBAL_PHYSICALMAXIMUM 0x44
#define | HIDReport_GLOBAL_UNITEXPONENT 0x54
#define | HIDReport_GLOBAL_UNIT 0x64
#define | HIDReport_GLOBAL_REPORTSIZE 0x74
#define | HIDReport_GLOBAL_REPORTID 0x84
#define | HIDReport_GLOBAL_REPORTCOUNT 0x94
#define | HIDReport_GLOBAL_PUSH 0xA4
#define | HIDReport_GLOBAL_POP 0xB4
#define | HIDReport_LOCAL_USAGE 0x08
#define | HIDReport_LOCAL_USAGEMINIMUM 0x18
#define | HIDReport_LOCAL_USAGEMAXIMUM 0x28
#define | HIDReport_LOCAL_DESIGNATORINDEX 0x38
#define | HIDReport_LOCAL_DESIGNATORMINIMUM 0x48
#define | HIDReport_LOCAL_DESIGNATORMAXIMUM 0x58
#define | HIDReport_LOCAL_STRINGINDEX 0x78
#define | HIDReport_LOCAL_STRINGMINIMUM 0x88
#define | HIDReport_LOCAL_STRINGMAXIMUM 0x98
#define | HIDReport_LOCAL_DELIMITER 0xA8

## Detailed Description

## Purpose

Definitions used when declaring an HID report descriptors.

## Usage

Use the definitions provided here when declaring a report descriptor, which shall be an uint8_t array.

Definition in file HIDReports.h.

All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines