TI-RTOS Drivers  tidrivers_cc13xx_cc26xx_2_20_00_08
Data Fields
GPTimerCC26XX_HWAttrs Struct Reference

GPTimer26XX Hardware attributes. More...

#include <GPTimerCC26XX.h>

Data Fields

uint32_t baseAddr
 
uint8_t intNum
 
uint8_t intPriority
 
uint8_t powerMngrId
 
GPTimerCC26XX_Part timer
 
GPTimerCC26XX_PinMux pinMux
 

Detailed Description

GPTimer26XX Hardware attributes.

These fields are used by the driver to set up underlying GPTimer driver statically. A sample structure is shown below:

// GPTimer hardware attributes, one per timer unit (Timer 0A, 0B, 1A, 1B..)
const GPTimerCC26XX_HWAttrs gptimerCC26xxHWAttrs[CC2650_GPTIMERPARTSCOUNT] = {
{.baseAddr = GPT0_BASE, .intNum = INT_TIMER0A, .powerMngrId = PERIPH_GPT0, .pinMux = GPT_PIN_0A, },
{.baseAddr = GPT0_BASE, .intNum = INT_TIMER0B, .powerMngrId = PERIPH_GPT0, .pinMux = GPT_PIN_0B, },
{.baseAddr = GPT1_BASE, .intNum = INT_TIMER1A, .powerMngrId = PERIPH_GPT1, .pinMux = GPT_PIN_1A, },
{.baseAddr = GPT1_BASE, .intNum = INT_TIMER1B, .powerMngrId = PERIPH_GPT1, .pinMux = GPT_PIN_1B, },
{.baseAddr = GPT2_BASE, .intNum = INT_TIMER2A, .powerMngrId = PERIPH_GPT2, .pinMux = GPT_PIN_2A, },
{.baseAddr = GPT2_BASE, .intNum = INT_TIMER2B, .powerMngrId = PERIPH_GPT2, .pinMux = GPT_PIN_2B, },
{.baseAddr = GPT3_BASE, .intNum = INT_TIMER3A, .powerMngrId = PERIPH_GPT3, .pinMux = GPT_PIN_3A, },
{.baseAddr = GPT3_BASE, .intNum = INT_TIMER3B, .powerMngrId = PERIPH_GPT3, .pinMux = GPT_PIN_3B, },
};

Field Documentation

uint32_t GPTimerCC26XX_HWAttrs::baseAddr

< GPTimer peripheral base address

uint8_t GPTimerCC26XX_HWAttrs::intNum

GPTimer peripheral interrupt vector

uint8_t GPTimerCC26XX_HWAttrs::intPriority

GPTimer peripheral's interrupt priority. The CC26xx uses three of the priority bits, meaning ~0 has the same effect as (7 << 5). (7 << 5) will apply the lowest priority. (1 << 5) will apply the highest priority. Setting the priority to 0 is not supported by this driver. HWI's with priority 0 ignore the HWI dispatcher to support zero-latency interrupts, thus invalidating the critical sections in this driver.GPTimer peripheral's power manager ID

uint8_t GPTimerCC26XX_HWAttrs::powerMngrId
GPTimerCC26XX_Part GPTimerCC26XX_HWAttrs::timer

GPTimer half timer unit

GPTimerCC26XX_PinMux GPTimerCC26XX_HWAttrs::pinMux

PIN driver MUX


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