SAMV71 Xplained Ultra Software Package 1.4

PMSDIOFifo Struct Reference
[Usbd_msd]

FIFO buffer for READ/WRITE (disk) operation of a mass storage device. More...

#include <D:/git/git_canopus_1/softpack/samv7/libraries/libusb/include/MSDIOFifo.h>

Data Fields

unsigned char * pBuffer
unsigned int bufferSize
unsigned int inputNdx
unsigned int inputTotal
unsigned int outputNdx
unsigned int outputTotal
unsigned int dataTotal
unsigned short blockSize
unsigned int chunkSize
unsigned char inputState
unsigned char outputState
unsigned short nullCnt
unsigned short fullCnt

Detailed Description

FIFO buffer for READ/WRITE (disk) operation of a mass storage device.

Definition at line 78 of file MSDIOFifo.h.


Field Documentation

unsigned short PMSDIOFifo::blockSize

The size of the block in bytes

Definition at line 100 of file MSDIOFifo.h.

unsigned int PMSDIOFifo::bufferSize

The size of the buffer allocated

Definition at line 83 of file MSDIOFifo.h.

unsigned int PMSDIOFifo::chunkSize

The size of one chunk (1 block, or several blocks for large amount data R/W)

Definition at line 104 of file MSDIOFifo.h.

unsigned int PMSDIOFifo::dataTotal

The total size of the data

Definition at line 98 of file MSDIOFifo.h.

unsigned short PMSDIOFifo::fullCnt

Times when fifo can not load more input data

Definition at line 115 of file MSDIOFifo.h.

unsigned int PMSDIOFifo::inputNdx

The index of input data (loaded to fifo buffer)

Definition at line 89 of file MSDIOFifo.h.

unsigned char PMSDIOFifo::inputState

State of input & output

Definition at line 107 of file MSDIOFifo.h.

unsigned int PMSDIOFifo::inputTotal

The total size of the loaded data

Definition at line 91 of file MSDIOFifo.h.

unsigned short PMSDIOFifo::nullCnt

Times when fifo has no data to send

Definition at line 113 of file MSDIOFifo.h.

unsigned int PMSDIOFifo::outputNdx

The index of output data (sent from the fifo buffer)

Definition at line 93 of file MSDIOFifo.h.

unsigned int PMSDIOFifo::outputTotal

The total size of the output data

Definition at line 95 of file MSDIOFifo.h.

unsigned char* PMSDIOFifo::pBuffer

Pointer to the ring buffer allocated for read/write

Definition at line 81 of file MSDIOFifo.h.


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Defines