TI-RTOS Drivers
tidrivers_msp43x_2_16_01_13
|
UART driver implementation for a EUSCIA peripheral.
============================================================================
The UART header file should be included in an application as follows:
Refer to UART.h for a complete description of APIs & example of use.
This UART driver implementation is designed to operate on a EUSCI controller in UART mode. It uses the APIs for a EUSCIA controller.
Go to the source code of this file.
Data Structures | |
struct | UARTEUSCIA_BaudrateConfig |
UARTEUSCIA Baudrate configuration. More... | |
struct | UARTEUSCIA_HWAttrs |
UARTEUSCIA Hardware attributes. More... | |
struct | UARTEUSCIA_Object |
UARTEUSCIA Object. More... | |
Typedefs | |
typedef struct UARTEUSCIA_BaudrateConfig | UARTEUSCIA_BaudrateConfig |
UARTEUSCIA Baudrate configuration. More... | |
typedef struct UARTEUSCIA_HWAttrs | UARTEUSCIA_HWAttrs |
UARTEUSCIA Hardware attributes. More... | |
typedef struct UARTEUSCIA_Object | UARTEUSCIA_Object |
UARTEUSCIA Object. More... | |
typedef struct UARTEUSCIA_Object * | UARTEUSCIA_Handle |
Variables | |
const UART_FxnTable | UARTEUSCIA_fxnTable |
typedef struct UARTEUSCIA_BaudrateConfig UARTEUSCIA_BaudrateConfig |
UARTEUSCIA Baudrate configuration.
This structure is used to specifiy the eusci controller's clock divider settings to achieve the desired baudrate given the indicated clock input frequency. Divider values can be determined by referring to the MSP430 baudrate calculator. https://software-dl.ti.com/msp430/msp430_public_sw/mcu/msp430/MSP430BaudRateConverter/index.html
A sample structure is shown below:
typedef struct UARTEUSCIA_HWAttrs UARTEUSCIA_HWAttrs |
UARTEUSCIA Hardware attributes.
These fields are used by driverlib APIs and therefore must be populated by driverlib macro definitions. For MSP430Ware these definitions are found in:
A sample structure is shown below:
typedef struct UARTEUSCIA_Object UARTEUSCIA_Object |
UARTEUSCIA Object.
Not intended to be used by the user.
typedef struct UARTEUSCIA_Object * UARTEUSCIA_Handle |
const UART_FxnTable UARTEUSCIA_fxnTable |