TI-RTOS Drivers
tidrivers_c2000_2_16_01_13
|
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>
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_Object * | USBMSCHFatFsTiva_Handle |
Enumerations | |
enum | USBMSCHFatFsTiva_USBState { USBMSCHFatFsTiva_NO_DEVICE, USBMSCHFatFsTiva_CONNECTED, USBMSCHFatFsTiva_UNKNOWN, USBMSCHFatFsTiva_POWER_FAULT } |
USBMSCHFatFsTiva_USBState. More... | |
Variables | |
const USBMSCHFatFs_FxnTable | USBMSCHFatFsTiva_fxnTable |
#define ti_sysbios_family_arm_m3_Hwi__nolocalnames |
#define HCDMEMORYPOOLSIZE 128 |
typedef unsigned long USBMSCType |
typedef enum USBMSCHFatFsTiva_USBState USBMSCHFatFsTiva_USBState |
USBMSCHFatFsTiva_USBState.
typedef struct USBMSCHFatFsTiva_HWAttrs USBMSCHFatFsTiva_HWAttrs |
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().
typedef struct USBMSCHFatFsTiva_Object USBMSCHFatFsTiva_Object |
USBMSCHFatFsTiva Object.
The application must not access any member variables of this structure!
typedef struct USBMSCHFatFsTiva_Object * USBMSCHFatFsTiva_Handle |
const USBMSCHFatFs_FxnTable USBMSCHFatFsTiva_fxnTable |