Lines Matching refs:uart_config
31 struct uart_config uart_cfg;
39 const struct uart_config *cfg) in uart_mcux_configure()
43 uart_config_t uart_config; in uart_mcux_configure() local
56 UART_GetDefaultConfig(&uart_config); in uart_mcux_configure()
58 uart_config.enableTx = true; in uart_mcux_configure()
59 uart_config.enableRx = true; in uart_mcux_configure()
60 uart_config.baudRate_Bps = cfg->baudrate; in uart_mcux_configure()
66 uart_config.stopBitCount = kUART_OneStopBit; in uart_mcux_configure()
69 uart_config.stopBitCount = kUART_TwoStopBit; in uart_mcux_configure()
79 uart_config.enableRxRTS = false; in uart_mcux_configure()
80 uart_config.enableTxCTS = false; in uart_mcux_configure()
83 uart_config.enableRxRTS = true; in uart_mcux_configure()
84 uart_config.enableTxCTS = true; in uart_mcux_configure()
93 uart_config.parityMode = kUART_ParityDisabled; in uart_mcux_configure()
96 uart_config.parityMode = kUART_ParityEven; in uart_mcux_configure()
99 uart_config.parityMode = kUART_ParityOdd; in uart_mcux_configure()
105 retval = UART_Init(config->base, &uart_config, clock_freq); in uart_mcux_configure()
117 struct uart_config *cfg) in uart_mcux_config_get()