TI-RTOS Drivers
tidrivers_tivac_2_16_00_08
|
SDSPI driver implementation for a Tiva 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 Tiva SPI controller using a 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 | SDSPITiva_HWAttrs |
SDSPITiva Hardware attributes. More... | |
struct | SDSPITiva_Object |
SDSPITiva Object. More... | |
Typedefs | |
typedef unsigned long | SDSPIBaseAddrType |
typedef unsigned long | SDSPIDataType |
typedef enum SDSPITiva_CardType | SDSPITiva_CardType |
SD Card type inserted. More... | |
typedef struct SDSPITiva_HWAttrs | SDSPITiva_HWAttrs |
typedef struct SDSPITiva_Object | SDSPITiva_Object |
SDSPITiva Object. More... | |
typedef struct SDSPITiva_Object * | SDSPITiva_Handle |
Enumerations | |
enum | SDSPITiva_CardType { SDSPITiva_NOCARD = 0, SDSPITiva_MMC = 1, SDSPITiva_SDSC = 2, SDSPITiva_SDHC = 3 } |
SD Card type inserted. More... | |
Variables | |
const SDSPI_FxnTable | SDSPITiva_fxnTable |
typedef unsigned long SDSPIBaseAddrType |
typedef unsigned long SDSPIDataType |
typedef enum SDSPITiva_CardType SDSPITiva_CardType |
SD Card type inserted.
typedef struct SDSPITiva_HWAttrs SDSPITiva_HWAttrs |
typedef struct SDSPITiva_Object SDSPITiva_Object |
SDSPITiva Object.
The application must not access any member variables of this structure!
typedef struct SDSPITiva_Object * SDSPITiva_Handle |
enum SDSPITiva_CardType |
const SDSPI_FxnTable SDSPITiva_fxnTable |