TI-RTOS Drivers  tidrivers_full_2_20_00_08
Data Fields
PWMTimerCC3200_HWAttrsV1 Struct Reference

PWMTimerCC3200 Hardware attributes. More...

#include <PWMTimerCC3200.h>

Data Fields

uint32_t timerBaseAddr
 
uint16_t halfTimer
 
uint8_t pinTimerPwmMode
 
uint8_t pinId
 
uint32_t gpioBaseAddr
 
uint8_t gpioPinIndex
 

Detailed Description

PWMTimerCC3200 Hardware attributes.

These fields are used by CC3200 driverlib APIs and therefore must be populated by driverlib macro definitions. For CC3200 driverlib these definitions are found in:

A sample structure is shown below:

const PWMTimerCC3200_HWAttrsV1 pwmTimerCC3200HWAttrs[] = {
{
.timerBaseAddr = TIMERA3_BASE,
.halfTimer = TIMER_A,
.pinTimerPwmMode = PIN_MODE_3,
.pinId = PIN_01,
.gpioBaseAddr = GPIOA1_BASE,
.gpioPinIndex = GPIO_PIN_2
},
{
.timerBaseAddr = TIMERA3_BASE,
.halfTimer = TIMER_B,
.pinTimerPwmMode = PIN_MODE_3,
.pinId = PIN_02,
.gpioBaseAddr = GPIOA1_BASE,
.gpioPinIndex = GPIO_PIN_3
}
};

Field Documentation

uint32_t PWMTimerCC3200_HWAttrsV1::timerBaseAddr

< Timer peripheral base address Half-timer to generate outputs (ex.: TIMER_A or TIMER_B)

uint16_t PWMTimerCC3200_HWAttrsV1::halfTimer

Timer output pin mode (ex.: PIN_MODE_3, PIN_MODE_6, etc.)

uint8_t PWMTimerCC3200_HWAttrsV1::pinTimerPwmMode

Pin number (ex.: PIN_01, PIN_02, etc.)

uint8_t PWMTimerCC3200_HWAttrsV1::pinId

GPIO port base address for the device pin.

uint32_t PWMTimerCC3200_HWAttrsV1::gpioBaseAddr

GPIO port pin index (ex.: GPIO_PIN_1, GPIO_PIN_3, etc.)

uint8_t PWMTimerCC3200_HWAttrsV1::gpioPinIndex

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