| NUC472_NUC442_BSP V3.03.003 The Board Support Package for NUC472/NUC442

Modules | Macros
USB Host HID Driver Exported Constants
NUC472/NUC442 Device Driver » USB Host HID Driver
Collaboration diagram for USB Host HID Driver Exported Constants:

## Modules
| USB Host HID Driver Exported Type Define

## Macros
#define | CONFIG_HID_MAX_DEV
#define | HID_MAX_BUFFER_SIZE
#define | HID_CLIENT_SIZE
#define | HID_RET_OK
#define | HID_RET_DEV_NOT_FOUND
#define | HID_RET_IO_ERR
#define | HID_RET_INVALID_PARAMETER
#define | HID_RET_OUT_OF_MEMORY
#define | HID_RET_NOT_SUPPORTED
#define | HID_REPORT_GET
#define | HID_GET_IDLE
#define | HID_GET_PROTOCOL
#define | HID_REPORT_SET
#define | HID_SET_IDLE
#define | HID_SET_PROTOCOL
#define | RT_INPUT
#define | RT_OUTPUT
#define | RT_FEATURE

## Detailed Description

## Macro Definition Documentation

## ◆ CONFIG_HID_MAX_DEV

#define CONFIG_HID_MAX_DEV

Maximum number of HID device.

Definition at line 35 of file usbh_hid.h.

## ◆ HID_CLIENT_SIZE

#define HID_CLIENT_SIZE

Maximum size of HID device client data area

Definition at line 37 of file usbh_hid.h.

## ◆ HID_GET_IDLE

#define HID_GET_IDLE

Get_Idle code.

Definition at line 51 of file usbh_hid.h.

## ◆ HID_GET_PROTOCOL

#define HID_GET_PROTOCOL

Get_Protocol code.

Definition at line 52 of file usbh_hid.h.

## ◆ HID_MAX_BUFFER_SIZE

#define HID_MAX_BUFFER_SIZE

HID interrupt in transfer buffer size

Definition at line 36 of file usbh_hid.h.

## ◆ HID_REPORT_GET

#define HID_REPORT_GET

Get_Report_Request code.

Definition at line 50 of file usbh_hid.h.

## ◆ HID_REPORT_SET

#define HID_REPORT_SET

Set_Report_Request code.

Definition at line 53 of file usbh_hid.h.

## ◆ HID_RET_DEV_NOT_FOUND

#define HID_RET_DEV_NOT_FOUND

HID device not found or removed.

Definition at line 43 of file usbh_hid.h.

## ◆ HID_RET_INVALID_PARAMETER

#define HID_RET_INVALID_PARAMETER

Invalid parameter.

Definition at line 45 of file usbh_hid.h.

## ◆ HID_RET_IO_ERR

#define HID_RET_IO_ERR

USB transfer failed.

Definition at line 44 of file usbh_hid.h.

## ◆ HID_RET_NOT_SUPPORTED

#define HID_RET_NOT_SUPPORTED

Function not supported.

Definition at line 47 of file usbh_hid.h.

## ◆ HID_RET_OK

#define HID_RET_OK

Return with no errors.

Definition at line 42 of file usbh_hid.h.

## ◆ HID_RET_OUT_OF_MEMORY

#define HID_RET_OUT_OF_MEMORY

Out of memory.

Definition at line 46 of file usbh_hid.h.

## ◆ HID_SET_IDLE

#define HID_SET_IDLE

Set_Idle code.

Definition at line 54 of file usbh_hid.h.

## ◆ HID_SET_PROTOCOL

#define HID_SET_PROTOCOL

Set_Protocol code.

Definition at line 55 of file usbh_hid.h.

## ◆ RT_FEATURE

#define RT_FEATURE

Report type: Feature

Definition at line 63 of file usbh_hid.h.

## ◆ RT_INPUT

#define RT_INPUT

Report type: Input

Definition at line 61 of file usbh_hid.h.

## ◆ RT_OUTPUT

#define RT_OUTPUT

Report type: Output

Definition at line 62 of file usbh_hid.h.