LUN structure.
More...
#include <D:/git/git_canopus_1/softpack/samv7/libraries/libusb/include/MSDLun.h>
Detailed Description
LUN structure.
Definition at line 139 of file MSDLun.h.
Field Documentation
The start position of the media (blocks) allocated to the LUN.
Definition at line 159 of file MSDLun.h.
Sector size of the media in number of media blocks
Definition at line 163 of file MSDLun.h.
void(* MSDLun::dataMonitor)(uint8_t flowDirection, uint32_t dataLength, uint32_t fifoNullCount, uint32_t fifoFullCount) |
Pointer to a Monitor Function to analyse the flow of LUN.
- Parameters:
-
| flowDirection | 1 - device to host (READ10) 0 - host to device (WRITE10) |
| dataLength | Length of data transferred in bytes. |
| fifoNullCount | Times that FIFO is NULL to wait |
| fifoFullCount | Times that FIFO is filled to wait |
Definition at line 154 of file MSDLun.h.
Pointer to a SBCInquiryData instance.
Definition at line 142 of file MSDLun.h.
Fifo for USB transfer, must be assigned.
Definition at line 144 of file MSDLun.h.
Pointer to Media instance for the LUN.
Definition at line 146 of file MSDLun.h.
The LUN can be read-only even the media is writeable
Definition at line 165 of file MSDLun.h.
Data for the ReadCapacity command.
Definition at line 172 of file MSDLun.h.
Data for the RequestSense command.
Definition at line 170 of file MSDLun.h.
The size of the media (blocks) allocated to the LUN.
Definition at line 161 of file MSDLun.h.
The LUN status (Ejected/Changed/)
Definition at line 167 of file MSDLun.h.
The documentation for this struct was generated from the following file: