TI-RTOS for SimpleLink Wireless MCUs  2.14.02.22
Data Structures | Typedefs | Variables
UARTCC3200DMA.h File Reference

Detailed Description

UART driver implementation for a CC3200 UART controller, using the micro DMA controller.

============================================================================

The UART header file should be included in an application as follows:


#include <stdint.h>
#include <stdbool.h>
#include <ti/drivers/ports/ClockP.h>
#include <ti/drivers/ports/HwiP.h>
#include <ti/drivers/ports/SemaphoreP.h>
#include <ti/drivers/Power.h>
#include <ti/drivers/UART.h>
Include dependency graph for UARTCC3200DMA.h:

Go to the source code of this file.

Data Structures

struct  UARTCC3200DMA_HWAttrs
 UARTCC3200DMA Hardware attributes. More...
 
struct  UARTCC3200DMA_Object
 UARTCC3200DMA Object. More...
 

Typedefs

typedef struct UARTCC3200DMA_HWAttrs UARTCC3200DMA_HWAttrs
 UARTCC3200DMA Hardware attributes. More...
 
typedef struct UARTCC3200DMA_Object UARTCC3200DMA_Object
 UARTCC3200DMA Object. More...
 
typedef struct UARTCC3200DMA_ObjectUARTCC3200DMA_Handle
 

Variables

const UART_FxnTable UARTCC3200DMA_fxnTable
 

Typedef Documentation

UARTCC3200DMA Hardware attributes.

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

  • inc/hw_memmap.h
  • inc/hw_ints.h

A sample structure is shown below:

1 const UARTCC3200DMA_HWAttrs uartCC3200HWAttrs[] = {
2  {
3  .baseAddr = UARTA0_BASE,
4  .intNum = INT_UARTA0,
5  .intPriority = (~0),
6  .rxChannelIndex = DMA_CH8_UARTA0_RX,
7  .txChannelIndex = UDMA_CH9_UARTA0_TX
8  },
9  {
10  .baseAddr = UARTA1_BASE,
11  .intNum = INT_UARTA1,
12  .intPriority = (~0),
13  .rxChannelIndex = UDMA_CH10_UARTA1_RX,
14  .txChannelIndex = UDMA_CH11_UARTA1_TX
15  },
16 };

UARTCC3200DMA Object.

The application must not access any member variables of this structure!

Variable Documentation

const UART_FxnTable UARTCC3200DMA_fxnTable
Copyright 2015, Texas Instruments Incorporated