USBUS HID context struct. More...
#include <hid.h>
Data Fields | |
usbus_handler_t | handler_ctrl |
control handler | |
usbus_interface_t | iface |
HID interface. | |
usbus_endpoint_t * | ep_out |
OUT endpoint. | |
usbus_endpoint_t * | ep_in |
IN endpoint. | |
usbus_descr_gen_t | hid_descr |
HID descriptor generator. | |
const uint8_t * | report_desc |
report descriptor reference | |
size_t | report_desc_size |
report descriptor size | |
usbus_t * | usbus |
USBUS reference. | |
size_t | occupied |
Number of bytes for the host. | |
usbus_hid_cb_t | cb |
Callback for data handlers. | |
event_t | tx_ready |
Transmit ready event. | |
mutex_t | in_lock |
mutex used for locking hid send | |
usbdev_ep_buf_t | out_buf [CONFIG_USBUS_HID_INTERRUPT_EP_SIZE] |
Host to device data buffer. | |
usbdev_ep_buf_t | in_buf [CONFIG_USBUS_HID_INTERRUPT_EP_SIZE] |
Device to host data buffer. | |
usbus_hid_cb_t usbus_hid_device::cb |
usbus_endpoint_t* usbus_hid_device::ep_in |
usbus_endpoint_t* usbus_hid_device::ep_out |
usbus_handler_t usbus_hid_device::handler_ctrl |
usbus_descr_gen_t usbus_hid_device::hid_descr |
usbus_interface_t usbus_hid_device::iface |
usbdev_ep_buf_t usbus_hid_device::in_buf[CONFIG_USBUS_HID_INTERRUPT_EP_SIZE] |
mutex_t usbus_hid_device::in_lock |
size_t usbus_hid_device::occupied |
usbdev_ep_buf_t usbus_hid_device::out_buf[CONFIG_USBUS_HID_INTERRUPT_EP_SIZE] |
const uint8_t* usbus_hid_device::report_desc |
size_t usbus_hid_device::report_desc_size |