TI-RTOS Drivers  tidrivers_tivac_2_16_00_08
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:

Refer to USBMSCHFatFs.h for a complete description of APIs & example of use.

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/mw/fatfs/ff.h>
#include <ti/mw/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.

intPriority is the USB peripheral's interrupt priority, as defined by the underlying OS. It is passed unmodified to the underlying OS's interrupt handler creation code, so you need to refer to the OS documentation for usage. For example, for SYS/BIOS applications, refer to the ti.sysbios.family.arm.m3.Hwi documentation for SYS/BIOS usage of interrupt priorities. If the driver uses the ti.drivers.ports interface instead of making OS calls directly, then the HwiP port handles the interrupt priority in an OS specific way. In the case of the SYS/BIOS port, intPriority is passed unmodified to Hwi_create().

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 2016, Texas Instruments Incorporated