![]() |
Synergy Software Package User's Manual
|
#include <r_sci_uart.h>
Data Fields | |
| sci_clk_src_t | clk_src |
| Use SCI_CLK_SRC_INT/EXT8X/EXT16X. | |
| bool | baudclk_out |
| Baud rate clock output enable. | |
| bool | rx_edge_start |
| Start reception on falling edge. | |
| bool | noisecancel_en |
| Noise cancel enable. | |
| sci_uart_rx_fifo_trigger_t | rx_fifo_trigger |
| void(* | p_extpin_ctrl )(uint32_t channel, uint32_t level) |
| bool | bitrate_modulation |
| Bitrate Modulation Function enable or disable. | |
| uint32_t | baud_rate_error_x_1000 |
| Baud rate <Maximum percent error> x 1000. baud_rate_error must be greater than 0 and less than 15000. | |
| uart_mode_t | uart_comm_mode |
| UART communication mode selection. | |
| uart_rs485_type_t | uart_rs485_mode |
| UART RS485 communication channel type selection. | |
| ioport_port_pin_t | rs485_de_pin |
| UART Driver Enable pin. | |
UART on SCI device Configuration
| void(* uart_on_sci_cfg_t::p_extpin_ctrl) (uint32_t channel, uint32_t level) |
Pointer to the user callback function to control external GPIO pin control used as RTS signal.
| [in] | channel | The UART channel used. |
| [in] | level | When level is 0, assert RTS. When level is 1, deassert RTS. |
| sci_uart_rx_fifo_trigger_t uart_on_sci_cfg_t::rx_fifo_trigger |
Receive FIFO trigger level, unused if channel has no FIFO or if DTC is used.