MSP430™CapTIvateSoftwareLibraryAPIGuide  1_70_00_03
Data Structures | Macros | Enumerations | Functions
UART.h File Reference
#include "UART_Definitions.h"
Include dependency graph for UART.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  tUARTPort
 

Macros

#define UART__EUSCI_VECTOR   (USCI_A0_VECTOR)
 
#define UART__EUSCI_IV   (UCA0IV)
 
#define UART__ERROR_MASK   (0x60)
 

Enumerations

enum  tUARTStates { eUARTIsClosed, eUARTIsIdle, eUARTIsTransmitting }
 enumerates the possible UART driver states. More...
 
enum  tUARTErrors { eUARTFramingError = 0x40, eUARTOverrunError = 0x20 }
 

Functions

void UART_openPort (const tUARTPort *pPort)
 
void UART_closePort (void)
 This API closes the UART port on the specified HW eUSCI_A peripheral. More...
 
uint8_t UART_getPortStatus (void)
 
void UART_transmitBuffer (const uint8_t *pBuffer, uint16_t ui16Length)
 
void UART_transmitByteImmediately (uint8_t ui8Data)
 
© Copyright 1995-2018, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale