TI-RTOS for SimpleLink Wireless MCUs  2.14.03.28
Data Fields
SPI_Params Struct Reference

SPI Parameters. More...

#include <SPI.h>

Collaboration diagram for SPI_Params:
Collaboration graph
[legend]

Data Fields

SPI_TransferMode transferMode
 
uint32_t transferTimeout
 
SPI_CallbackFxn transferCallbackFxn
 
SPI_Mode mode
 
uint32_t bitRate
 
uint32_t dataSize
 
SPI_FrameFormat frameFormat
 
void * custom
 

Detailed Description

SPI Parameters.

SPI Parameters are used to with the SPI_open() call. Default values for these parameters are set using SPI_Params_init().

See also
SPI_Params_init()

Field Documentation

SPI_TransferMode SPI_Params::transferMode

Blocking or Callback mode

uint32_t SPI_Params::transferTimeout

Transfer timeout in system ticks (Not supported with all implementations

SPI_CallbackFxn SPI_Params::transferCallbackFxn

Callback function pointer

SPI_Mode SPI_Params::mode

Master or Slave mode

uint32_t SPI_Params::bitRate

SPI bit rate in Hz

uint32_t SPI_Params::dataSize

SPI data frame size in bits

SPI_FrameFormat SPI_Params::frameFormat

SPI frame format

void* SPI_Params::custom

Custom argument used by driver implementation


The documentation for this struct was generated from the following file:
Copyright 2015, Texas Instruments Incorporated