Data Fields
SDSPI_HWAttrs Struct Reference

SDSPI Hardware attributes. More...

#include <SDSPI.h>

Data Fields

uint_least8_t spiIndex
 
uint16_t spiCsGpioIndex
 

Detailed Description

SDSPI Hardware attributes.

The SDSPI_HWAttrs configuration structure contains the index of the SPI peripheral to be used for data transfers & the index of the GPIO Pin which will act as chip select. This driver uses this information to:

An example configuration structure could look as the following:

const SDSPI_HWAttrs sdspiHWAttrs[1] = {
{
// SPI driver index
.spiIndex = 0,
// GPIO driver pin index
.spiCsGpioIndex = 3
}
};

Field Documentation

§ spiIndex

uint_least8_t SDSPI_HWAttrs::spiIndex

§ spiCsGpioIndex

uint16_t SDSPI_HWAttrs::spiCsGpioIndex

The documentation for this struct was generated from the following file:
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale