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

Singleton shadow state for the host-CDC-ECM driver. More...

Collaboration diagram for ra8_usb_hcdc_ecm_state_t:

Data Fields

bool initialized
 True after _init.
bool attached
 True after enumeration.
ra8_usb_speed_t speed
 Underlying controller.
ra8_usb_hcdc_ecm_step_t step
 Current enum step.
ra8_usb_hcdc_ecm_attach_fn_t attach_cb
 Attach callback, or NULL.
void * attach_ctx
 Attach callback ctx.
ra8_usb_hcdc_ecm_device_t device
 Snapshot of attached dev.
ra8_usb_hcdc_ecm_link_t link
 Cached link state.

Detailed Description

Singleton shadow state for the host-CDC-ECM driver.

Definition at line 152 of file ra8_usb_hcdc_ecm.c.

Field Documentation

◆ attach_cb

ra8_usb_hcdc_ecm_attach_fn_t ra8_usb_hcdc_ecm_state_t::attach_cb

Attach callback, or NULL.

Definition at line 157 of file ra8_usb_hcdc_ecm.c.

◆ attach_ctx

void* ra8_usb_hcdc_ecm_state_t::attach_ctx

Attach callback ctx.

Definition at line 158 of file ra8_usb_hcdc_ecm.c.

◆ attached

bool ra8_usb_hcdc_ecm_state_t::attached

True after enumeration.

Definition at line 154 of file ra8_usb_hcdc_ecm.c.

◆ device

ra8_usb_hcdc_ecm_device_t ra8_usb_hcdc_ecm_state_t::device

Snapshot of attached dev.

Definition at line 159 of file ra8_usb_hcdc_ecm.c.

◆ initialized

bool ra8_usb_hcdc_ecm_state_t::initialized

True after _init.

Definition at line 153 of file ra8_usb_hcdc_ecm.c.

◆ link

ra8_usb_hcdc_ecm_link_t ra8_usb_hcdc_ecm_state_t::link

Cached link state.

Definition at line 160 of file ra8_usb_hcdc_ecm.c.

◆ speed

ra8_usb_speed_t ra8_usb_hcdc_ecm_state_t::speed

Underlying controller.

Definition at line 155 of file ra8_usb_hcdc_ecm.c.

◆ step

ra8_usb_hcdc_ecm_step_t ra8_usb_hcdc_ecm_state_t::step

Current enum step.

Definition at line 156 of file ra8_usb_hcdc_ecm.c.


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