Lines Matching refs:uartConfig
223 uart_config_t uartConfig; in HAL_UartInit() local
232 UART_GetDefaultConfig(&uartConfig); in HAL_UartInit()
233 uartConfig.baudRate_Bps = uart_config->baudRate_Bps; in HAL_UartInit()
237 uartConfig.parityMode = kUART_ParityEven; in HAL_UartInit()
241 uartConfig.parityMode = kUART_ParityOdd; in HAL_UartInit()
245 uartConfig.parityMode = kUART_ParityDisabled; in HAL_UartInit()
250 uartConfig.stopBitCount = kUART_TwoStopBit; in HAL_UartInit()
254 uartConfig.stopBitCount = kUART_OneStopBit; in HAL_UartInit()
257 uartConfig.enableRx = (bool)uart_config->enableRx; in HAL_UartInit()
258 uartConfig.enableTx = (bool)uart_config->enableTx; in HAL_UartInit()
260 uartConfig.enableRxRTS = (bool)uart_config->enableRxRTS; in HAL_UartInit()
261 uartConfig.enableTxCTS = (bool)uart_config->enableTxCTS; in HAL_UartInit()
264 uartConfig.txFifoWatermark = 0; in HAL_UartInit()
265 uartConfig.rxFifoWatermark = 1; in HAL_UartInit()
267 …status = UART_Init(s_UartAdapterBase[uart_config->instance], &uartConfig, uart_config->srcClock_Hz… in HAL_UartInit()