- Main Page
- Modules
- Data Structures
- Files

- Data Structures
- Data Structure Index
- Data Fields

Data Fields
CSL_MscInitStructApp Struct Reference
USB MSC Data Structures

MSC application data structure. More...

`#include <csl_msc.h>`

## Data Fields
void * | pMscObj
| Pointer to MSC Class Handle defined in MSC Module.
Uint16 | pId
| Device Descriptor units.
Uint16 | vId
| Device Descriptor units.
Uint16 | numLun
| Logical unit number.
char ** | strDescrApp
| User specific string descriptor pointer.
Uint16 * | lbaBufferApp
| Buffer ptr passed by the system to the module in order to enable data transfer to/from the media/USB API layer.
CSL_MscRequestStruct * | mscReqTableApp
| Pointer to the request Table which is specified by user.
void(* | bulkHandler )()
| Pointer to the Bulk Function Handler which is needed during Configuration of the Bulk Endpoint.
void(* | ctrlHandler )()
| Pointer to the Control Function Handler which is needed during Configuration of the Control Endpoint.
CSL_MscMediaStatus(* | readMediaApp )(Uint16, Uint16 *, Uint32, Uint16)
| Function for Media Read.
CSL_MscMediaStatus(* | writeMediaApp )(Uint16, Uint16 *, Uint32, Uint16)
| Function for Media Write.
CSL_MscMediaStatus(* | mediaGetPresentStateApp )(Uint16)
| Function checks for Media Present etc.
CSL_MscMediaStatus(* | mediaInitApp )(Uint16)
| Function Handler for Init Media.
CSL_MscMediaStatus(* | mediaEjectApp )(Uint16)
| Function to eject Media.
CSL_MscMediaStatus(* | mediaLockUnitApp )(Uint16, CSL_MscMediaLockStatus)
| Function to lock Media.
Uint32(* | getMediaSizeApp )(Uint16)
| Function to get the size of the media.

## Detailed Description

MSC application data structure.

Holds the structure used by the application to fill in application specific data handler

The documentation for this struct was generated from the following file:

- csl_msc.h