|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Singleton shadow state for the host-MSC driver. More...
#include <ra8_hal_internal.h>
Data Fields | |
| bool | initialized |
| True after init. | |
| bool | attached |
| True after enum done. | |
| ra8_usb_speed_t | speed |
| Underlying controller. | |
| ra8_usb_hmsc_attach_fn_t | attach_cb |
| Attach callback, or NULL. | |
| void * | attach_ctx |
| Attach callback ctx. | |
| ra8_usb_hmsc_device_t | device |
| Snapshot of attached dev. | |
| uint32_t | next_cbw_tag |
| Monotonic BOT tag. | |
Singleton shadow state for the host-MSC driver.
Shared across the ra8_usb_hmsc split. The lifecycle / command-path TU (ra8_usb_hmsc.c) and the enumeration-ladder TU (ra8_usb_hmsc_enum.c) both read and write this object, so it remains a single instance with the type declared here in the shared private header.
Definition at line 220 of file ra8_hal_internal.h.
| ra8_usb_hmsc_attach_fn_t ra8_usb_hmsc_state_t::attach_cb |
Attach callback, or NULL.
Definition at line 224 of file ra8_hal_internal.h.
| void* ra8_usb_hmsc_state_t::attach_ctx |
Attach callback ctx.
Definition at line 225 of file ra8_hal_internal.h.
| bool ra8_usb_hmsc_state_t::attached |
True after enum done.
Definition at line 222 of file ra8_hal_internal.h.
| ra8_usb_hmsc_device_t ra8_usb_hmsc_state_t::device |
Snapshot of attached dev.
Definition at line 226 of file ra8_hal_internal.h.
| bool ra8_usb_hmsc_state_t::initialized |
True after init.
Definition at line 221 of file ra8_hal_internal.h.
| uint32_t ra8_usb_hmsc_state_t::next_cbw_tag |
Monotonic BOT tag.
Definition at line 227 of file ra8_hal_internal.h.
| ra8_usb_speed_t ra8_usb_hmsc_state_t::speed |
Underlying controller.
Definition at line 223 of file ra8_hal_internal.h.