![]() |
WE310F5
39.00.000
|
Structure to configure UART module. More...
#include <m2mb_uart.h>
Structure to configure UART module.
Structure for storing the configuration of UART module. This will be used by m2mb_uart_open API to open UART module with given configuration.
Definition at line 182 of file m2mb_uart.h.
UINT32 baud_rate |
Supported baud rates are 115200 bps, 1 Mbps, 2 Mbps, 3 Mbps, and 4 Mbps.
Definition at line 184 of file m2mb_uart.h.
M2MB_UART_BITS_PER_CHAR_E bits_per_char |
Bits per character.
Definition at line 188 of file m2mb_uart.h.
UINT32 enable_flow_ctrl |
Enable flow control.
Definition at line 190 of file m2mb_uart.h.
UINT32 enable_loopback |
Enable loop back.
Definition at line 189 of file m2mb_uart.h.
M2MB_UART_NUM_STOP_BITS_E num_stop_bits |
Number of stop bits.
Definition at line 187 of file m2mb_uart.h.
M2MB_UART_PARITY_MODE_E parity_mode |
Parity mode.
Definition at line 186 of file m2mb_uart.h.
M2MB_UART_CB_T rx_cb |
Receive callback, called from ISR context. Be sure not to violate ISR guidelines. Do not call uart_transmit or uart_receive APIs from this callback.
Definition at line 196 of file m2mb_uart.h.
M2MB_UART_CB_T tx_cb |
Transmit callback, called from ISR context. Be sure not to violate ISR guidelines. Do not call uart_transmit or uart_receiveAPIs from this callback.
Definition at line 191 of file m2mb_uart.h.