![]() |
![]() |
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 | SDSPIEUSCIA_HWAttrsV1 |
SDSPIEUSCIA Hardware attributes. More... | |
struct | SDSPIEUSCIA_Object |
SDSPIEUSCIA Object. More... | |
Typedefs | |
typedef enum SDSPIEUSCIA_CardType | SDSPIEUSCIA_CardType |
SD Card type inserted. More... | |
typedef struct SDSPIEUSCIA_HWAttrsV1 | SDSPIEUSCIA_HWAttrsV1 |
typedef struct SDSPIEUSCIA_Object | SDSPIEUSCIA_Object |
SDSPIEUSCIA Object. More... | |
typedef struct SDSPIEUSCIA_Object * | SDSPIEUSCIA_Handle |
Enumerations | |
enum | SDSPIEUSCIA_CardType { SDSPIEUSCIA_NOCARD = 0, SDSPIEUSCIA_MMC = 1, SDSPIEUSCIA_SDSC = 2, SDSPIEUSCIA_SDHC = 3 } |
SD Card type inserted. More... | |
Variables | |
const SDSPI_FxnTable | SDSPIEUSCIA_fxnTable |
typedef enum SDSPIEUSCIA_CardType SDSPIEUSCIA_CardType |
SD Card type inserted.
typedef struct SDSPIEUSCIA_HWAttrsV1 SDSPIEUSCIA_HWAttrsV1 |
typedef struct SDSPIEUSCIA_Object SDSPIEUSCIA_Object |
SDSPIEUSCIA Object.
The application must not access any member variables of this structure!
typedef struct SDSPIEUSCIA_Object * SDSPIEUSCIA_Handle |
enum SDSPIEUSCIA_CardType |
const SDSPI_FxnTable SDSPIEUSCIA_fxnTable |