TI-RTOS for SimpleLink Wireless MCUs
2.14.02.22
|
SDSPIEUSCIB Hardware attributes. More...
#include <SDSPIEUSCIB.h>
Data Fields | |
uint32_t | baseAddr |
uint8_t | clockSource |
uint8_t | portSCK |
uint32_t | pinSCK |
uint8_t | portMISO |
uint32_t | pinMISO |
uint8_t | portMOSI |
uint32_t | pinMOSI |
uint8_t | portCS |
uint32_t | pinCS |
SDSPIEUSCIB Hardware attributes.
The SDSPIEUSCIB configuration structure describes to the SDSPIEUSCIB driver implementation hardware specifies on which SPI peripheral, GPIO Pins and Ports are to be used.
The SDSPIEUSCIB driver uses this information to:
These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For TivaWare these definitions are found in:
An example configuration structure could look as the following:
uint32_t SDSPIEUSCIB_HWAttrs::baseAddr |
SPI Peripheral's base address
uint8_t SDSPIEUSCIB_HWAttrs::clockSource |
SPIUSCI Clock source
uint8_t SDSPIEUSCIB_HWAttrs::portSCK |
SPI port uses for the SCK, MISO, and MOSI pins
uint32_t SDSPIEUSCIB_HWAttrs::pinSCK |
SPI SCK pin
uint8_t SDSPIEUSCIB_HWAttrs::portMISO |
SPI port uses for the SCK, MISO, and MOSI pins
uint32_t SDSPIEUSCIB_HWAttrs::pinMISO |
SPI MISO pin
uint8_t SDSPIEUSCIB_HWAttrs::portMOSI |
SPI port uses for the SCK, MISO, and MOSI pins
uint32_t SDSPIEUSCIB_HWAttrs::pinMOSI |
SPI MOSI pin
uint8_t SDSPIEUSCIB_HWAttrs::portCS |
GPIO Port used for the chip select
uint32_t SDSPIEUSCIB_HWAttrs::pinCS |
GPIO Pin used for the chip select