175 #ifndef ti_drivers_SDSPI__include 176 #define ti_drivers_SDSPI__include 201 #define SDSPI_CMD_RESERVED (32) 215 #define SDSPI_STATUS_RESERVED (-32) 230 #define SDSPI_STATUS_SUCCESS (0) 238 #define SDSPI_STATUS_ERROR (-1) 247 #define SDSPI_STATUS_UNDEFINEDCMD (-2) 402 extern int_fast16_t
SDSPI_control(SDSPI_Handle handle, uint_fast16_t cmd,
437 extern SDSPI_Handle
SDSPI_open(uint_least8_t index, uint_least8_t drv,
SDSPI Parameters.
Definition: SDSPI.h:278
struct SDSPI_FxnTable_ SDSPI_FxnTable
The definition of a SDSPI function table that contains the required set of functions to control a spe...
struct SDSPI_Config_ SDSPI_Config
SDSPI Global configuration.
void * object
Definition: SDSPI.h:346
SDSPI_InitFxn initFxn
Definition: SDSPI.h:318
struct SDSPI_Params_ SDSPI_Params
SDSPI Parameters.
SDSPI_FxnTable const * fxnTablePtr
Definition: SDSPI.h:343
void(* SDSPI_InitFxn)(SDSPI_Handle handle)
A function pointer to a driver specific implementation of SDSPI_init().
Definition: SDSPI.h:287
SDSPI Global configuration.
Definition: SDSPI.h:341
SDSPI_Handle SDSPI_open(uint_least8_t index, uint_least8_t drv, SDSPI_Params *params)
This function registers the SDSPI driver with BIOS' FatFs module and mounts the FatFs file system...
void * custom
Definition: SDSPI.h:280
struct SDSPI_Config_ * SDSPI_Handle
A handle that is returned from a SDSPI_open() call.
Definition: SDSPI.h:267
SDSPI_CloseFxn closeFxn
Definition: SDSPI.h:324
int_fast16_t SDSPI_control(SDSPI_Handle handle, uint_fast16_t cmd, void *arg)
Function performs implementation specific features on a given SDSPI_Handle.
void SDSPI_init(void)
This function initializes the SDSPI driver module.
int_fast16_t(* SDSPI_ControlFxn)(SDSPI_Handle handle, uint_fast16_t cmd, void *arg)
A function pointer to a driver specific implementation of SDSPI_control().
Definition: SDSPI.h:307
The definition of a SDSPI function table that contains the required set of functions to control a spe...
Definition: SDSPI.h:316
void const * hwAttrs
Definition: SDSPI.h:349
SDSPI_ControlFxn controlFxn
Definition: SDSPI.h:327
void(* SDSPI_CloseFxn)(SDSPI_Handle handle)
A function pointer to a driver specific implementation of SDSPI_close().
Definition: SDSPI.h:301
void SDSPI_Params_init(SDSPI_Params *params)
Function to initialize the SDSPI_Params struct to its defaults.
uint32_t bitRate
Definition: SDSPI.h:279
SDSPI_OpenFxn openFxn
Definition: SDSPI.h:321
void SDSPI_close(SDSPI_Handle handle)
Function to close a SDSPI peripheral specified by the SDSPI handle. This function unmounts the file s...
SDSPI_Handle(* SDSPI_OpenFxn)(SDSPI_Handle handle, uint_least8_t drv, SDSPI_Params *params)
A function pointer to a driver specific implementation of SDSPI_open().
Definition: SDSPI.h:293