|
ra8-firmware 0.1.0
Bare-metal firmware for the Renesas RA8 family (RA8D2 / RA8P1)
|
Snapshot of the attached MSC device, passed to the attach callback. More...
#include <ra8_usb_hmsc.h>
Data Fields | |
| uint8_t | device_address |
| Assigned USB address (1..127). | |
| uint8_t | bulk_in_ep |
| Attached device's bulk IN EP num. | |
| uint8_t | bulk_out_ep |
| Attached device's bulk OUT EP num. | |
| uint8_t | max_lun |
| Get-Max-LUN response (0..15). | |
| uint8_t | interface_number |
| MSC bInterfaceNumber. | |
| uint16_t | bulk_in_max_packet |
| Attached bulk-IN wMaxPacketSize. | |
| uint16_t | bulk_out_max_packet |
| Attached bulk-OUT wMaxPacketSize. | |
| uint16_t | vendor_id |
| idVendor from device descriptor. | |
| uint16_t | product_id |
| idProduct from device descriptor. | |
Snapshot of the attached MSC device, passed to the attach callback.
Populated by the host-MSC driver once the descriptor walk completes and Get-Max-LUN comes back. The pipe numbers are the controller-side handles wired up against the attached device's bulk endpoints. The recipient should hold onto this struct (or copy it) so subsequent SCSI calls land on the right LUN.
Definition at line 186 of file ra8_usb_hmsc.h.
| uint8_t ra8_usb_hmsc_device_t::bulk_in_ep |
Attached device's bulk IN EP num.
Definition at line 188 of file ra8_usb_hmsc.h.
| uint16_t ra8_usb_hmsc_device_t::bulk_in_max_packet |
Attached bulk-IN wMaxPacketSize.
Definition at line 192 of file ra8_usb_hmsc.h.
| uint8_t ra8_usb_hmsc_device_t::bulk_out_ep |
Attached device's bulk OUT EP num.
Definition at line 189 of file ra8_usb_hmsc.h.
| uint16_t ra8_usb_hmsc_device_t::bulk_out_max_packet |
Attached bulk-OUT wMaxPacketSize.
Definition at line 193 of file ra8_usb_hmsc.h.
| uint8_t ra8_usb_hmsc_device_t::device_address |
Assigned USB address (1..127).
Definition at line 187 of file ra8_usb_hmsc.h.
| uint8_t ra8_usb_hmsc_device_t::interface_number |
MSC bInterfaceNumber.
Definition at line 191 of file ra8_usb_hmsc.h.
| uint8_t ra8_usb_hmsc_device_t::max_lun |
Get-Max-LUN response (0..15).
Definition at line 190 of file ra8_usb_hmsc.h.
Referenced by microsd_host_enumerate(), mlun_host_enumerate(), ospirw_host_enumerate(), and wlun_host_enumerate().
| uint16_t ra8_usb_hmsc_device_t::product_id |
idProduct from device descriptor.
Definition at line 195 of file ra8_usb_hmsc.h.
Referenced by fileops_print_attach(), microsd_host_enumerate(), mlun_host_enumerate(), ospirw_host_enumerate(), selftest_host_enumerate(), selftest_host_enumerate(), selftest_host_enumerate(), selftest_host_enumerate(), selftest_host_enumerate(), and wlun_host_enumerate().
| uint16_t ra8_usb_hmsc_device_t::vendor_id |
idVendor from device descriptor.
Definition at line 194 of file ra8_usb_hmsc.h.
Referenced by fileops_print_attach(), selftest_host_enumerate(), selftest_host_enumerate(), selftest_host_enumerate(), selftest_host_enumerate(), and selftest_host_enumerate().