MSP430 DriverLib for MSP430i2xx Devices  2.10.00.09
 All Data Structures Functions Variables Modules Pages
EUSCI_A_UART_initParam Struct Reference

Used in the EUSCI_A_UART_init() function as the param parameter. More...

#include <eusci_a_uart.h>

Data Fields

uint8_t selectClockSource
 
uint16_t clockPrescalar
 Is the value to be written into UCBRx bits.
 
uint8_t firstModReg
 
uint8_t secondModReg
 
uint8_t parity
 
uint16_t msborLsbFirst
 
uint16_t numberofStopBits
 
uint16_t uartMode
 
uint8_t overSampling
 

Detailed Description

Used in the EUSCI_A_UART_init() function as the param parameter.

Field Documentation

uint8_t EUSCI_A_UART_initParam::firstModReg

Is First modulation stage register setting. This value is a pre- calculated value which can be obtained from the Device Users Guide. This value is written into UCBRFx bits of UCAxMCTLW.

Referenced by EUSCI_A_UART_init().

uint16_t EUSCI_A_UART_initParam::msborLsbFirst

Controls direction of receive and transmit shift register.
Valid values are:

  • EUSCI_A_UART_MSB_FIRST
  • EUSCI_A_UART_LSB_FIRST [Default]

Referenced by EUSCI_A_UART_init().

uint16_t EUSCI_A_UART_initParam::numberofStopBits

Indicates one/two STOP bits
Valid values are:

  • EUSCI_A_UART_ONE_STOP_BIT [Default]
  • EUSCI_A_UART_TWO_STOP_BITS

Referenced by EUSCI_A_UART_init().

uint8_t EUSCI_A_UART_initParam::overSampling

Indicates low frequency or oversampling baud generation
Valid values are:

  • EUSCI_A_UART_OVERSAMPLING_BAUDRATE_GENERATION
  • EUSCI_A_UART_LOW_FREQUENCY_BAUDRATE_GENERATION

Referenced by EUSCI_A_UART_init().

uint8_t EUSCI_A_UART_initParam::parity

Is the desired parity.
Valid values are:

  • EUSCI_A_UART_NO_PARITY [Default]
  • EUSCI_A_UART_ODD_PARITY
  • EUSCI_A_UART_EVEN_PARITY

Referenced by EUSCI_A_UART_init().

uint8_t EUSCI_A_UART_initParam::secondModReg

Is Second modulation stage register setting. This value is a pre- calculated value which can be obtained from the Device Users Guide. This value is written into UCBRSx bits of UCAxMCTLW.

Referenced by EUSCI_A_UART_init().

uint8_t EUSCI_A_UART_initParam::selectClockSource

Selects Clock source.
Valid values are:

  • EUSCI_A_UART_CLOCKSOURCE_SMCLK
  • EUSCI_A_UART_CLOCKSOURCE_ACLK

Referenced by EUSCI_A_UART_init().

uint16_t EUSCI_A_UART_initParam::uartMode

Selects the mode of operation
Valid values are:

  • EUSCI_A_UART_MODE [Default]
  • EUSCI_A_UART_IDLE_LINE_MULTI_PROCESSOR_MODE
  • EUSCI_A_UART_ADDRESS_BIT_MULTI_PROCESSOR_MODE
  • EUSCI_A_UART_AUTOMATIC_BAUDRATE_DETECTION_MODE

Referenced by EUSCI_A_UART_init().


The documentation for this struct was generated from the following file:

Copyright 2015, Texas Instruments Incorporated