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

Singleton shadow state for the device-MSC driver. More...

#include <ra8_usb_pmsc_internal.h>

Collaboration diagram for ra8_usb_pmsc_state_data_t:

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.

Detailed Description

Singleton shadow state for the device-MSC driver.

Definition at line 103 of file ra8_usb_pmsc_internal.h.

Field Documentation

◆ bot_state

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.

◆ cbw_cdb

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.

◆ cbw_cdb_len

uint8_t ra8_usb_pmsc_state_data_t::cbw_cdb_len

Cached bCBWCBLength.

Definition at line 114 of file ra8_usb_pmsc_internal.h.

◆ cbw_data_length

uint32_t ra8_usb_pmsc_state_data_t::cbw_data_length

Cached dCBWDataTransferLen.

Definition at line 110 of file ra8_usb_pmsc_internal.h.

◆ cbw_dir_in

bool ra8_usb_pmsc_state_data_t::cbw_dir_in

Cached bmCBWFlags direction.

Definition at line 111 of file ra8_usb_pmsc_internal.h.

◆ cbw_lun

uint8_t ra8_usb_pmsc_state_data_t::cbw_lun

Cached bCBWLUN.

Definition at line 112 of file ra8_usb_pmsc_internal.h.

◆ cbw_tag

uint32_t ra8_usb_pmsc_state_data_t::cbw_tag

Cached dCBWTag.

Definition at line 109 of file ra8_usb_pmsc_internal.h.

◆ initialized

bool ra8_usb_pmsc_state_data_t::initialized

True after init.

Definition at line 104 of file ra8_usb_pmsc_internal.h.

◆ last_data_len

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.

◆ speed

ra8_usb_speed_t ra8_usb_pmsc_state_data_t::speed

Underlying controller.

Definition at line 106 of file ra8_usb_pmsc_internal.h.

◆ storage

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.

◆ storage_attached

bool ra8_usb_pmsc_state_data_t::storage_attached

True after attach_storage.

Definition at line 105 of file ra8_usb_pmsc_internal.h.


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