![]() |
![]() |
TI-RTOS Drivers
tidrivers_full_2_20_01_10
|
SDSPICC3200 Hardware attributes. More...
#include <SDSPICC3200.h>
Data Fields | |
uint32_t | baseAddr |
uint32_t | spiPRCM |
uint32_t | csGPIOBase |
uint32_t | csGPIOPin |
uint32_t | txGPIOBase |
uint32_t | txGPIOPin |
uint32_t | txGPIOMode |
uint32_t | txSPIMode |
uint32_t | txPackPin |
SDSPICC3200 Hardware attributes.
The SDSPICC3200 configuration structure describes to the SDSPICC3200 driver implementation hardware specifies on which SPI peripheral, GPIO Pins and Ports are to be used.
The SDSPICC3200 driver uses this information to:
These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For CCWare these definitions are found in:
An example configuration structure could look as the following:
uint32_t SDSPICC3200_HWAttrs::baseAddr |
< SPI Peripheral base address
uint32_t SDSPICC3200_HWAttrs::spiPRCM |
SPI PRCM peripheral number CS GPIO base
uint32_t SDSPICC3200_HWAttrs::csGPIOBase |
CS GPIO pin number
uint32_t SDSPICC3200_HWAttrs::csGPIOPin |
GPIO base addr when using MOSI as GPIO
uint32_t SDSPICC3200_HWAttrs::txGPIOBase |
GPIO pin number when using MOSI as GPIO
uint32_t SDSPICC3200_HWAttrs::txGPIOPin |
GPIO pin mode to use MOSI as GPIO
uint32_t SDSPICC3200_HWAttrs::txGPIOMode |
Pin mode to use MOSI
uint32_t SDSPICC3200_HWAttrs::txSPIMode |
Package pin number
uint32_t SDSPICC3200_HWAttrs::txPackPin |