TI-RTOS for SimpleLink Wireless MCUs  2.14.03.28
Data Fields
UARTCC3200DMA_HWAttrs Struct Reference

UARTCC3200DMA Hardware attributes. More...

#include <UARTCC3200DMA.h>

Data Fields

unsigned int baseAddr
 
unsigned int intNum
 
unsigned int intPriority
 
unsigned long rxChannelIndex
 
unsigned long txChannelIndex
 

Detailed Description

UARTCC3200DMA Hardware attributes.

These fields, with the exception of intPriority, are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For CC3200Ware these definitions are found in:

intPriority is the UART peripheral's interrupt priority, as defined by the underlying OS. It is passed unmodified to the underlying OS's interrupt handler creation code, so you need to refer to the OS documentation for usage. For example, for SYS/BIOS applications, refer to the ti.sysbios.family.arm.m3.Hwi documentation for SYS/BIOS usage of interrupt priorities. If the driver uses the ti.drivers.ports interface instead of making OS calls directly, then the HwiP port handles the interrupt priority in an OS specific way. In the case of the SYS/BIOS port, intPriority is passed unmodified to Hwi_create().

A sample structure is shown below:

const UARTCC3200DMA_HWAttrs uartCC3200HWAttrs[] = {
{
.baseAddr = UARTA0_BASE,
.intNum = INT_UARTA0,
.intPriority = (~0),
.rxChannelIndex = DMA_CH8_UARTA0_RX,
.txChannelIndex = UDMA_CH9_UARTA0_TX
},
{
.baseAddr = UARTA1_BASE,
.intNum = INT_UARTA1,
.intPriority = (~0),
.rxChannelIndex = UDMA_CH10_UARTA1_RX,
.txChannelIndex = UDMA_CH11_UARTA1_TX
},
};

Field Documentation

unsigned int UARTCC3200DMA_HWAttrs::baseAddr

UART Peripheral's base address

unsigned int UARTCC3200DMA_HWAttrs::intNum

UART Peripheral's interrupt vector

unsigned int UARTCC3200DMA_HWAttrs::intPriority

UART Peripheral's interrupt priority

unsigned long UARTCC3200DMA_HWAttrs::rxChannelIndex

uDMA controlTable receive channel index

unsigned long UARTCC3200DMA_HWAttrs::txChannelIndex

uDMA controlTable transmit channel index


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