TI-RTOS Drivers
tidrivers_full_2_20_00_08
|
SDHostCC3200 Hardware attributes. More...
#include <SDHostCC3200.h>
Data Fields | |
uint_fast32_t | clkRate |
int_fast32_t | intPriority |
uint_fast32_t | baseAddr |
int_least8_t | dataPin |
int_least8_t | dataPinMode |
int_least8_t | cmdPin |
int_least8_t | cmdPinMode |
int_least8_t | clkPin |
int_least8_t | clkPinMode |
SDHostCC3200 Hardware attributes.
The SDHostCC3200 configuration structure is passed to the SDHostCC3200 driver implementation with hardware specifics regarding GPIO Pins and Ports to be used.
The SDHostCC3200 driver uses this information to:
These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For CC32xxWare these definitions are found in:
An example configuration structure could look as the following:
uint_fast32_t SDHostCC3200_HWAttrs::clkRate |
< SD interface clock rate Internal SDHost ISR command/transfer priorty
int_fast32_t SDHostCC3200_HWAttrs::intPriority |
SDHost Peripheral base address
uint_fast32_t SDHostCC3200_HWAttrs::baseAddr |
SD Host Data pin
int_least8_t SDHostCC3200_HWAttrs::dataPin |
Pin Mode to use for SD Host Data line
int_least8_t SDHostCC3200_HWAttrs::dataPinMode |
SD Host CMD pin
int_least8_t SDHostCC3200_HWAttrs::cmdPin |
Pin Mode to use for SD Host cmd line
int_least8_t SDHostCC3200_HWAttrs::cmdPinMode |
SD Host CLK pin
int_least8_t SDHostCC3200_HWAttrs::clkPin |
Pin Mode to use for SD Host CLK line
int_least8_t SDHostCC3200_HWAttrs::clkPinMode |