TI-RTOS Drivers  tidrivers_full_2_20_00_08
Data Fields
SDHostCC3200_HWAttrs Struct Reference

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
 

Detailed Description

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:

const SDHostCC3200_HWAttrs sdhostCC3200HWattrs[] = {
{
.clkRate = 8000000,
.intPriority = ~0,
.baseAddr = SDHOST_BASE,
.dataPin = PIN_06,
.dataPinMode = PIN_MODE_8,
.cmdPin = PIN_08,
.cmdPinMode = PIN_MODE_8,
.clkPin = PIN_07,
.clkPinMode = PIN_MODE_8,
}
};

Field Documentation

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

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