|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Singleton shadow state for the device-MSC driver. More...
#include <ra8_usb_pmsc_internal.h>
Data Fields | |
| bool | initialized |
| True after init. | |
| bool | storage_attached |
| True after attach_storage. | |
| ra8_usb_speed_t | speed |
| Underlying controller. | |
| ra8_usb_pmsc_state_t | bot_state |
| BOT state machine phase. | |
| ra8_usb_pmsc_storage_t | storage |
| Storage backend snapshot. | |
| uint32_t | cbw_tag |
| Cached dCBWTag. | |
| uint32_t | cbw_data_length |
| Cached dCBWDataTransferLen. | |
| bool | cbw_dir_in |
| Cached bmCBWFlags direction. | |
| uint8_t | cbw_lun |
| Cached bCBWLUN. | |
| uint8_t | cbw_cdb [k_ra8_pmsc_cdb_max_len] |
| Cached CDB. | |
| uint8_t | cbw_cdb_len |
| Cached bCBWCBLength. | |
| uint32_t | last_data_len |
| Last data byte count. | |
Singleton shadow state for the device-MSC driver.
Definition at line 103 of file ra8_usb_pmsc_internal.h.
| ra8_usb_pmsc_state_t ra8_usb_pmsc_state_data_t::bot_state |
BOT state machine phase.
Definition at line 107 of file ra8_usb_pmsc_internal.h.
| uint8_t ra8_usb_pmsc_state_data_t::cbw_cdb[k_ra8_pmsc_cdb_max_len] |
Cached CDB.
Definition at line 113 of file ra8_usb_pmsc_internal.h.
| uint8_t ra8_usb_pmsc_state_data_t::cbw_cdb_len |
Cached bCBWCBLength.
Definition at line 114 of file ra8_usb_pmsc_internal.h.
| uint32_t ra8_usb_pmsc_state_data_t::cbw_data_length |
Cached dCBWDataTransferLen.
Definition at line 110 of file ra8_usb_pmsc_internal.h.
| bool ra8_usb_pmsc_state_data_t::cbw_dir_in |
Cached bmCBWFlags direction.
Definition at line 111 of file ra8_usb_pmsc_internal.h.
| uint8_t ra8_usb_pmsc_state_data_t::cbw_lun |
Cached bCBWLUN.
Definition at line 112 of file ra8_usb_pmsc_internal.h.
| uint32_t ra8_usb_pmsc_state_data_t::cbw_tag |
Cached dCBWTag.
Definition at line 109 of file ra8_usb_pmsc_internal.h.
| bool ra8_usb_pmsc_state_data_t::initialized |
True after init.
Definition at line 104 of file ra8_usb_pmsc_internal.h.
| uint32_t ra8_usb_pmsc_state_data_t::last_data_len |
Last data byte count.
Definition at line 115 of file ra8_usb_pmsc_internal.h.
| ra8_usb_speed_t ra8_usb_pmsc_state_data_t::speed |
Underlying controller.
Definition at line 106 of file ra8_usb_pmsc_internal.h.
| ra8_usb_pmsc_storage_t ra8_usb_pmsc_state_data_t::storage |
Storage backend snapshot.
Definition at line 108 of file ra8_usb_pmsc_internal.h.
| bool ra8_usb_pmsc_state_data_t::storage_attached |
True after attach_storage.
Definition at line 105 of file ra8_usb_pmsc_internal.h.