Data Structures

group group_usb_dev_hid_data_structures

Typedefs

typedef cy_en_usb_dev_status_t (*cy_cb_usbfs_dev_hid_get_report_t)(uint32_t intf, uint32_t type, uint32_t id, uint8_t **report, uint32_t *size)

Handler for GET_REPORT request received.

typedef cy_en_usb_dev_status_t (*cy_cb_usbfs_dev_hid_set_report_t)(uint32_t intf, uint32_t type, uint32_t id, uint8_t *report, uint32_t size)

Handler for SET_REPORT request completed.

The Host sent report data to Device.

struct cy_stc_usb_dev_hid_config_t
#include <cy_usb_dev_hid.h>

HID class configuration structure.

struct cy_stc_usb_dev_hid_context_t
#include <cy_usb_dev_hid.h>

HID class context structure.

All fields for the HID context structure are internal. Firmware never reads or writes these values. Firmware allocates the structure and provides the address of the structure to the middleware in HID function calls. Firmware must ensure that the defined instance of this structure remains in scope while the middleware is in use.