UART Parameters. More...
#include <UART.h>
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 |
UART Parameters.
UART parameters are used with the UART_open() call. Default values for these parameters are set using UART_Params_init().
UART_Mode UART_Params_::readMode |
Mode for all read calls
UART_Mode UART_Params_::writeMode |
Mode for all write calls
uint32_t UART_Params_::readTimeout |
Timeout for read calls in blocking mode.
uint32_t UART_Params_::writeTimeout |
Timeout for write calls in blocking mode.
UART_Callback UART_Params_::readCallback |
Pointer to read callback function for callback mode.
UART_Callback UART_Params_::writeCallback |
Pointer to write callback function for callback mode.
UART_ReturnMode UART_Params_::readReturnMode |
Receive return mode
UART_DataMode UART_Params_::readDataMode |
Type of data being read
UART_DataMode UART_Params_::writeDataMode |
Type of data being written
UART_Echo UART_Params_::readEcho |
Echo received data back
uint32_t UART_Params_::baudRate |
Baud rate for UART
UART_LEN UART_Params_::dataLength |
Data length for UART
UART_STOP UART_Params_::stopBits |
Stop bits for UART
UART_PAR UART_Params_::parityType |
Parity bit type for UART
void* UART_Params_::custom |
Custom argument used by driver implementation