TI-RTOS Drivers  tidrivers_tivac_2_16_00_08
Data Structures | Typedefs | Enumerations | Variables
SDSPITiva.h File Reference

Detailed Description

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>
Include dependency graph for SDSPITiva.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_ObjectSDSPITiva_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 Documentation

typedef unsigned long SDSPIBaseAddrType
typedef unsigned long SDSPIDataType

SD Card type inserted.

SDSPITiva Object.

The application must not access any member variables of this structure!

Enumeration Type Documentation

SD Card type inserted.

Enumerator
SDSPITiva_NOCARD 

Unrecognized Card

SDSPITiva_MMC 

Multi-media Memory Card (MMC)

SDSPITiva_SDSC 

Standard SDCard (SDSC)

SDSPITiva_SDHC 

High Capacity SDCard (SDHC)

Variable Documentation

const SDSPI_FxnTable SDSPITiva_fxnTable
Copyright 2016, Texas Instruments Incorporated