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

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

Collaboration diagram for ra8_usb_hhub_state_t:

Data Fields

bool initialized
 True after ra8_usb_hhub_init.
bool attached
 True after enumeration done.
ra8_usb_speed_t speed
 Underlying controller.
ra8_usb_hhub_step_t step
 Current enumeration step.
ra8_usb_hhub_attach_fn_t attach_cb
 Attach callback, or NULL.
void * attach_ctx
 Attach callback ctx.
ra8_usb_hhub_device_t device
 Snapshot of attached HUB.

Detailed Description

Singleton shadow state for the host-HUB driver.

Definition at line 110 of file ra8_usb_hhub.c.

Field Documentation

◆ attach_cb

ra8_usb_hhub_attach_fn_t ra8_usb_hhub_state_t::attach_cb

Attach callback, or NULL.

Definition at line 115 of file ra8_usb_hhub.c.

◆ attach_ctx

void* ra8_usb_hhub_state_t::attach_ctx

Attach callback ctx.

Definition at line 116 of file ra8_usb_hhub.c.

◆ attached

bool ra8_usb_hhub_state_t::attached

True after enumeration done.

Definition at line 112 of file ra8_usb_hhub.c.

◆ device

ra8_usb_hhub_device_t ra8_usb_hhub_state_t::device

Snapshot of attached HUB.

Definition at line 117 of file ra8_usb_hhub.c.

◆ initialized

bool ra8_usb_hhub_state_t::initialized

True after ra8_usb_hhub_init.

Definition at line 111 of file ra8_usb_hhub.c.

◆ speed

ra8_usb_speed_t ra8_usb_hhub_state_t::speed

Underlying controller.

Definition at line 113 of file ra8_usb_hhub.c.

◆ step

ra8_usb_hhub_step_t ra8_usb_hhub_state_t::step

Current enumeration step.

Definition at line 114 of file ra8_usb_hhub.c.


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