Data Fields
UART_Params Struct Reference

UART Parameters. More...

#include <UART.h>

Collaboration diagram for UART_Params:
Collaboration graph
[legend]

Data Fields

UART_Mode readMode
 
UART_Mode writeMode
 
uint32_t readTimeout
 
uint32_t writeTimeout
 
UART_Callback readCallback
 
UART_Callback writeCallback
 
UART_ReturnMode readReturnMode
 
UART_DataMode readDataMode
 
UART_DataMode writeDataMode
 
UART_Echo readEcho
 
uint32_t baudRate
 
UART_LEN dataLength
 
UART_STOP stopBits
 
UART_PAR parityType
 
void * custom
 

Detailed Description

UART Parameters.

UART parameters are used with the UART_open() call. Default values for these parameters are set using UART_Params_init().

See also
UART_Params_init()

Field Documentation

§ readMode

UART_Mode UART_Params::readMode

Mode for all read calls

§ writeMode

UART_Mode UART_Params::writeMode

Mode for all write calls

§ readTimeout

uint32_t UART_Params::readTimeout

Timeout for read calls in blocking mode.

§ writeTimeout

uint32_t UART_Params::writeTimeout

Timeout for write calls in blocking mode.

§ readCallback

UART_Callback UART_Params::readCallback

Pointer to read callback function for callback mode.

§ writeCallback

UART_Callback UART_Params::writeCallback

Pointer to write callback function for callback mode.

§ readReturnMode

UART_ReturnMode UART_Params::readReturnMode

Receive return mode

§ readDataMode

UART_DataMode UART_Params::readDataMode

Type of data being read

§ writeDataMode

UART_DataMode UART_Params::writeDataMode

Type of data being written

§ readEcho

UART_Echo UART_Params::readEcho

Echo received data back

§ baudRate

uint32_t UART_Params::baudRate

Baud rate for UART

§ dataLength

UART_LEN UART_Params::dataLength

Data length for UART

§ stopBits

UART_STOP UART_Params::stopBits

Stop bits for UART

§ parityType

UART_PAR UART_Params::parityType

Parity bit type for UART

§ custom

void* UART_Params::custom

Custom argument used by driver implementation


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