TI-RTOS for TivaC  2.14.04.31
Data Structures | Macros | Typedefs | Enumerations | Variables
USBMSCHFatFsTiva.h File Reference

Detailed Description

USBMSCHFatFs driver implementation for a Tiva USB controller used with the USBMSCHFatFs driver.

============================================================================

The USBMSCHFatFs header file should be included in an application as follows:

This USBMSCHFatFs driver implementation is designed to operate with a Tiva' USB library. Only 1 instance of the USBMSCHFatFsTiva driver is supported.


#include <stdint.h>
#include <ti/drivers/USBMSCHFatFs.h>
#include <ti/sysbios/gates/GateMutex.h>
#include <ti/sysbios/family/arm/m3/Hwi.h>
#include <ti/sysbios/knl/Task.h>
#include <ti/sysbios/knl/Semaphore.h>
#include <ti/sysbios/fatfs/ff.h>
#include <ti/sysbios/fatfs/diskio.h>
Include dependency graph for USBMSCHFatFsTiva.h:

Go to the source code of this file.

Data Structures

struct  USBMSCHFatFsTiva_HWAttrs
 USBMSCHFatFsTiva Hardware attributes. More...
 
struct  USBMSCHFatFsTiva_Object
 USBMSCHFatFsTiva Object. More...
 

Macros

#define ti_sysbios_family_arm_m3_Hwi__nolocalnames
 
#define HCDMEMORYPOOLSIZE   128
 

Typedefs

typedef unsigned long USBMSCType
 
typedef enum USBMSCHFatFsTiva_USBState USBMSCHFatFsTiva_USBState
 USBMSCHFatFsTiva_USBState. More...
 
typedef struct USBMSCHFatFsTiva_HWAttrs USBMSCHFatFsTiva_HWAttrs
 USBMSCHFatFsTiva Hardware attributes. More...
 
typedef struct USBMSCHFatFsTiva_Object USBMSCHFatFsTiva_Object
 USBMSCHFatFsTiva Object. More...
 
typedef struct USBMSCHFatFsTiva_ObjectUSBMSCHFatFsTiva_Handle
 

Enumerations

enum  USBMSCHFatFsTiva_USBState {
  USBMSCHFatFsTiva_NO_DEVICE,
  USBMSCHFatFsTiva_CONNECTED,
  USBMSCHFatFsTiva_UNKNOWN,
  USBMSCHFatFsTiva_POWER_FAULT
}
 USBMSCHFatFsTiva_USBState. More...
 

Variables

const USBMSCHFatFs_FxnTable USBMSCHFatFsTiva_fxnTable
 

Macro Definition Documentation

#define ti_sysbios_family_arm_m3_Hwi__nolocalnames
#define HCDMEMORYPOOLSIZE   128

Typedef Documentation

typedef unsigned long USBMSCType

USBMSCHFatFsTiva_USBState.

USBMSCHFatFsTiva Hardware attributes.

USBMSCHFatFsTiva Object.

The application must not access any member variables of this structure!

Enumeration Type Documentation

USBMSCHFatFsTiva_USBState.

Enumerator
USBMSCHFatFsTiva_NO_DEVICE 

No device is present.

USBMSCHFatFsTiva_CONNECTED 

Mass storage device is being enumerated.

USBMSCHFatFsTiva_UNKNOWN 

An unsupported device has been attached.

USBMSCHFatFsTiva_POWER_FAULT 

A power fault has occurred.

Variable Documentation

const USBMSCHFatFs_FxnTable USBMSCHFatFsTiva_fxnTable
Copyright 2015, Texas Instruments Incorporated