MSP430™CapTIvateSoftwareLibraryAPIGuide  1_70_00_03
Data Fields
tUARTPort Struct Reference

#include <UART.h>

Data Fields

bool(* pbReceiveCallback )(uint8_t)
 
bool(* pbErrorCallback )(uint8_t)
 
EUSCI_A_UART_initParam peripheralParameters
 

Field Documentation

§ pbReceiveCallback

bool(* tUARTPort::pbReceiveCallback) (uint8_t)

Receive Callback. This function will be called after each UART byte is received. This fxn is called from the foreground (ISR), and as such it should be kept as short as possible.

Referenced by UART_ISR().

§ pbErrorCallback

bool(* tUARTPort::pbErrorCallback) (uint8_t)

Error Callback. This function will be called after a UART error is detected. The passed tUARTErrors parameter indicates what caused the error.

Referenced by UART_ISR().

§ peripheralParameters

EUSCI_A_UART_initParam tUARTPort::peripheralParameters

eUSCI_A initialization parameters. This structure is defined in the MSP430 peripheral driver library.

Referenced by UART_openPort().


The documentation for this struct was generated from the following file:
© Copyright 1995-2018, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale