![]() |
![]() |
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 | SDSPIUSCIB_HWAttrs |
SDSPIUSCIB Hardware attributes. More... | |
struct | SDSPIUSCIB_Object |
SDSPIUSCIB Object. More... | |
Typedefs | |
typedef enum SDSPIUSCIB_CardType | SDSPIUSCIB_CardType |
SD Card type inserted. More... | |
typedef struct SDSPIUSCIB_HWAttrs | SDSPIUSCIB_HWAttrs |
typedef struct SDSPIUSCIB_Object | SDSPIUSCIB_Object |
SDSPIUSCIB Object. More... | |
typedef struct SDSPIUSCIB_Object * | SDSPIUSCIB_Handle |
Enumerations | |
enum | SDSPIUSCIB_CardType { SDSPIUSCIB_NOCARD = 0, SDSPIUSCIB_MMC = 1, SDSPIUSCIB_SDSC = 2, SDSPIUSCIB_SDHC = 3 } |
SD Card type inserted. More... | |
Variables | |
const SDSPI_FxnTable | SDSPIUSCIB_fxnTable |
typedef enum SDSPIUSCIB_CardType SDSPIUSCIB_CardType |
SD Card type inserted.
typedef struct SDSPIUSCIB_HWAttrs SDSPIUSCIB_HWAttrs |
typedef struct SDSPIUSCIB_Object SDSPIUSCIB_Object |
SDSPIUSCIB Object.
The application must not access any member variables of this structure!
typedef struct SDSPIUSCIB_Object * SDSPIUSCIB_Handle |
enum SDSPIUSCIB_CardType |
const SDSPI_FxnTable SDSPIUSCIB_fxnTable |