![]() |
![]() |
TI-RTOS Drivers
tidrivers_full_2_20_01_10
|
SDSPI driver implementation for a USCI SPI peripheral used with the SDSPI driver.
============================================================================
The SDSPI header file should be included in an application as follows:
Refer to SDSPI.h for a complete description of APIs & example of use.
This SDSPI driver implementation is designed to operate on a USCI SPI controller in a simple polling method.
#include <stdint.h>
#include <ti/drivers/SDSPI.h>
#include <ti/mw/fatfs/ff.h>
#include <ti/mw/fatfs/diskio.h>
Go to the source code of this file.
Data Structures | |
struct | SDSPIUSCIA_HWAttrs |
SDSPIUSCIA Hardware attributes. More... | |
struct | SDSPIUSCIA_Object |
SDSPIUSCIA Object. More... | |
Typedefs | |
typedef enum SDSPIUSCIA_CartType | SDSPIUSCIA_CardType |
SD Card type inserted. More... | |
typedef struct SDSPIUSCIA_HWAttrs | SDSPIUSCIA_HWAttrs |
typedef struct SDSPIUSCIA_Object | SDSPIUSCIA_Object |
SDSPIUSCIA Object. More... | |
typedef struct SDSPIUSCIA_Object * | SDSPIUSCIA_Handle |
Enumerations | |
enum | SDSPIUSCIA_CartType { SDSPIUSCIA_NOCARD = 0, SDSPIUSCIA_MMC = 1, SDSPIUSCIA_SDSC = 2, SDSPIUSCIA_SDHC = 3 } |
SD Card type inserted. More... | |
Variables | |
const SDSPI_FxnTable | SDSPIUSCIA_fxnTable |
typedef enum SDSPIUSCIA_CartType SDSPIUSCIA_CardType |
SD Card type inserted.
typedef struct SDSPIUSCIA_HWAttrs SDSPIUSCIA_HWAttrs |
typedef struct SDSPIUSCIA_Object SDSPIUSCIA_Object |
SDSPIUSCIA Object.
The application must not access any member variables of this structure!
typedef struct SDSPIUSCIA_Object * SDSPIUSCIA_Handle |
enum SDSPIUSCIA_CartType |
const SDSPI_FxnTable SDSPIUSCIA_fxnTable |