|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Caller-owned private state for a USB mass-storage block device. More...
#include <ra8_io_blockdev_usbmsc.h>
Data Fields | |
| uint8_t | lun |
| SCSI logical unit this handle addresses (private). | |
Caller-owned private state for a USB mass-storage block device.
Zero-initialise and pass to ra8_io_blockdev_usbmsc_init, which fills it and binds it into a ra8_io_blockdev_t. Treat the field as private. The state must out-live every call made through the device. The attached device itself is owned by the ra8_usb_hmsc class layer, so nothing but the LUN selection lives here.
Definition at line 84 of file ra8_io_blockdev_usbmsc.h.
| uint8_t ra8_io_blockdev_usbmsc_state_t::lun |
SCSI logical unit this handle addresses (private).
Definition at line 85 of file ra8_io_blockdev_usbmsc.h.
Referenced by internal_usbmsc_get_caps(), internal_usbmsc_read(), internal_usbmsc_write(), and ra8_io_blockdev_usbmsc_init().