Lines Matching refs:uart_config

124 	struct uart_config uart_config;  member
969 static int mcux_lpuart_configure_basic(const struct device *dev, const struct uart_config *cfg, in mcux_lpuart_configure_basic()
970 lpuart_config_t *uart_config) in mcux_lpuart_configure_basic() argument
975 uart_config->parityMode = kLPUART_ParityDisabled; in mcux_lpuart_configure_basic()
978 uart_config->parityMode = kLPUART_ParityOdd; in mcux_lpuart_configure_basic()
981 uart_config->parityMode = kLPUART_ParityEven; in mcux_lpuart_configure_basic()
991 uart_config->dataBitsCount = kLPUART_SevenDataBits; in mcux_lpuart_configure_basic()
995 uart_config->dataBitsCount = kLPUART_EightDataBits; in mcux_lpuart_configure_basic()
1005 uart_config->stopBitCount = kLPUART_OneStopBit; in mcux_lpuart_configure_basic()
1008 uart_config->stopBitCount = kLPUART_TwoStopBit; in mcux_lpuart_configure_basic()
1020 uart_config->enableTxCTS = false; in mcux_lpuart_configure_basic()
1021 uart_config->enableRxRTS = false; in mcux_lpuart_configure_basic()
1024 uart_config->enableTxCTS = true; in mcux_lpuart_configure_basic()
1025 uart_config->enableRxRTS = true; in mcux_lpuart_configure_basic()
1032 uart_config->baudRate_Bps = cfg->baudrate; in mcux_lpuart_configure_basic()
1033 uart_config->enableRx = true; in mcux_lpuart_configure_basic()
1035 uart_config->enableTx = false; in mcux_lpuart_configure_basic()
1045 lpuart_config_t uart_config; in mcux_lpuart_configure_async() local
1048 LPUART_GetDefaultConfig(&uart_config); in mcux_lpuart_configure_async()
1050 ret = mcux_lpuart_configure_basic(dev, &data->uart_config, &uart_config); in mcux_lpuart_configure_async()
1055 uart_config.rxIdleType = kLPUART_IdleTypeStopBit; in mcux_lpuart_configure_async()
1056 uart_config.rxIdleConfig = kLPUART_IdleCharacter1; in mcux_lpuart_configure_async()
1068 uart_config.enableRx = false; in mcux_lpuart_configure_async()
1078 static int mcux_lpuart_configure_init(const struct device *dev, const struct uart_config *cfg) in mcux_lpuart_configure_init()
1082 lpuart_config_t uart_config; in mcux_lpuart_configure_init() local
1095 LPUART_GetDefaultConfig(&uart_config); in mcux_lpuart_configure_init()
1097 ret = mcux_lpuart_configure_basic(dev, cfg, &uart_config); in mcux_lpuart_configure_init()
1102 LPUART_Init(config->base, &uart_config, clock_freq); in mcux_lpuart_configure_init()
1148 data->uart_config = *cfg; in mcux_lpuart_configure_init()
1154 static int mcux_lpuart_config_get(const struct device *dev, struct uart_config *cfg) in mcux_lpuart_config_get()
1157 *cfg = data->uart_config; in mcux_lpuart_config_get()
1162 const struct uart_config *cfg) in mcux_lpuart_configure()
1188 struct uart_config *uart_api_config = &data->uart_config; in mcux_lpuart_init()