ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
Loading...
Searching...
No Matches
ra8_usb_hhid_state_t Struct Reference

Singleton shadow state for the host-HID driver. More...

Collaboration diagram for ra8_usb_hhid_state_t:

Data Fields

bool initialized
 True after ra8_usb_hhid_init.
bool attached
 True after enumeration done.
ra8_usb_speed_t speed
 Underlying controller.
ra8_usb_hhid_step_t step
 Current enumeration step.
ra8_usb_hhid_attach_fn_t attach_cb
 Attach callback, or NULL.
void * attach_ctx
 Attach callback ctx.
ra8_usb_hhid_device_t device
 Snapshot of attached device.
uint8_t hid_desc [k_ra8_hhid_hid_desc_len]
 HID class descriptor cache.
uint8_t report_desc [k_ra8_hhid_report_desc_max]
 HID Report descriptor cache.

Detailed Description

Singleton shadow state for the host-HID driver.

Definition at line 132 of file ra8_usb_hhid.c.

Field Documentation

◆ attach_cb

ra8_usb_hhid_attach_fn_t ra8_usb_hhid_state_t::attach_cb

Attach callback, or NULL.

Definition at line 137 of file ra8_usb_hhid.c.

◆ attach_ctx

void* ra8_usb_hhid_state_t::attach_ctx

Attach callback ctx.

Definition at line 138 of file ra8_usb_hhid.c.

◆ attached

bool ra8_usb_hhid_state_t::attached

True after enumeration done.

Definition at line 134 of file ra8_usb_hhid.c.

◆ device

ra8_usb_hhid_device_t ra8_usb_hhid_state_t::device

Snapshot of attached device.

Definition at line 139 of file ra8_usb_hhid.c.

◆ hid_desc

uint8_t ra8_usb_hhid_state_t::hid_desc[k_ra8_hhid_hid_desc_len]

HID class descriptor cache.

Definition at line 140 of file ra8_usb_hhid.c.

◆ initialized

bool ra8_usb_hhid_state_t::initialized

True after ra8_usb_hhid_init.

Definition at line 133 of file ra8_usb_hhid.c.

◆ report_desc

uint8_t ra8_usb_hhid_state_t::report_desc[k_ra8_hhid_report_desc_max]

HID Report descriptor cache.

Definition at line 142 of file ra8_usb_hhid.c.

◆ speed

ra8_usb_speed_t ra8_usb_hhid_state_t::speed

Underlying controller.

Definition at line 135 of file ra8_usb_hhid.c.

◆ step

ra8_usb_hhid_step_t ra8_usb_hhid_state_t::step

Current enumeration step.

Definition at line 136 of file ra8_usb_hhid.c.


The documentation for this struct was generated from the following file: