BSPACM  20150113
Board Support Package for ARM Cortex-M Microcontrollers
Data Structures | Typedefs | Functions | Variables
uart_.h File Reference

TM4C series-specific UART interface for BSPACM. More...

#include <bspacm/periph/gpio.h>

Go to the source code of this file.

Data Structures

struct  sBSPACMdeviceTM4CperiphUARTdevcfg
 

Typedefs

typedef struct sBSPACMdeviceTM4CperiphUARTdevcfg sBSPACMdeviceTM4CperiphUARTdevcfg
 

Functions

void vBSPACMdeviceTM4CperiphUARTirqhandler (sBSPACMperiphUARTstate *const usp)
 

Variables

const sBSPACMperiphUARToperations xBSPACMdeviceTM4CperiphUARToperations
 
const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART0devcfg
 
const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART1devcfg
 
const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART2devcfg
 
const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART3devcfg
 
const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART4devcfg
 
const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART5devcfg
 
const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART6devcfg
 
const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART7devcfg
 
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART0
 
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART1
 
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART2
 
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART3
 
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART4
 
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART5
 
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART6
 
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART7
 

Detailed Description

TM4C series-specific UART interface for BSPACM.

Declares the public objects and functions that are required to make use of a UART peripheral.

Warning
Peripheral instance objects such as xBSPACMdeviceTM4CperiphUART0 will exist only if they are supported on the device being used and a definition is provided in the peripheral configuration source file identified in the PERIPH_CONFIG_SRC make variable.
Homepage
http://github.com/pabigot/bspacm

Typedef Documentation

Pin assignment structure for UART devices.

Function Documentation

void vBSPACMdeviceTM4CperiphUARTirqhandler ( sBSPACMperiphUARTstate *const  usp)

The IRQHandler for UART interrupts.

The handler in the vector table invokes this with the appropriate state reference.

Variable Documentation

sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART0

State for UART0 peripheral, where this exists.

const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART0devcfg

Device configuration information for UART0 peripheral, where this exists. The board periph_cfg.c file provides a weak definition of this that may be overridden by the application.

sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART1

State for UART1 peripheral, where this exists.

const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART1devcfg
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART2

State for UART2 peripheral, where this exists.

const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART2devcfg
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART3

State for UART3 peripheral, where this exists.

const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART3devcfg
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART4

State for UART4 peripheral, where this exists.

const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART4devcfg
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART5

State for UART5 peripheral, where this exists.

const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART5devcfg
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART6

State for UART6 peripheral, where this exists.

const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART6devcfg
sBSPACMperiphUARTstate xBSPACMdeviceTM4CperiphUART7

State for UART7 peripheral, where this exists.

const sBSPACMdeviceTM4CperiphUARTdevcfg xBSPACMdeviceTM4CperiphUART7devcfg
const sBSPACMperiphUARToperations xBSPACMdeviceTM4CperiphUARToperations

The operations table for UART devices.

This is used to initialize sBSPACMperiphUARTstate::ops.