|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Caller-owned storage backend bound to the device-MSC class. More...
#include <ra8_usb_pmsc.h>
Data Fields | |
| ra8_usb_pmsc_read_block_fn_t | read_block |
| Block read hook. | |
| ra8_usb_pmsc_write_block_fn_t | write_block |
| Block write hook. | |
| ra8_usb_pmsc_get_capacity_fn_t | get_capacity |
| Capacity hook. | |
| ra8_usb_pmsc_get_inquiry_fn_t | get_inquiry |
| INQUIRY hook. | |
| void * | ctx |
| Opaque context. | |
Caller-owned storage backend bound to the device-MSC class.
All four function pointers must be non-NULL; the device cannot answer SCSI commands without them. ctx is opaque to the driver and threaded back into each callback unchanged.
Definition at line 310 of file ra8_usb_pmsc.h.
| void* ra8_usb_pmsc_storage_t::ctx |
Opaque context.
Definition at line 315 of file ra8_usb_pmsc.h.
| ra8_usb_pmsc_get_capacity_fn_t ra8_usb_pmsc_storage_t::get_capacity |
Capacity hook.
Definition at line 313 of file ra8_usb_pmsc.h.
Referenced by ra8_usb_pmsc_attach_storage().
| ra8_usb_pmsc_get_inquiry_fn_t ra8_usb_pmsc_storage_t::get_inquiry |
INQUIRY hook.
Definition at line 314 of file ra8_usb_pmsc.h.
Referenced by ra8_usb_pmsc_attach_storage().
| ra8_usb_pmsc_read_block_fn_t ra8_usb_pmsc_storage_t::read_block |
Block read hook.
Definition at line 311 of file ra8_usb_pmsc.h.
Referenced by ra8_usb_pmsc_attach_storage().
| ra8_usb_pmsc_write_block_fn_t ra8_usb_pmsc_storage_t::write_block |
Block write hook.
Definition at line 312 of file ra8_usb_pmsc.h.
Referenced by ra8_usb_pmsc_attach_storage().