Lines Matching refs:usartConfig
218 usart_config_t usartConfig; in HAL_UartInit() local
227 USART_GetDefaultConfig(&usartConfig); in HAL_UartInit()
228 usartConfig.baudRate_Bps = uart_config->baudRate_Bps; in HAL_UartInit()
232 usartConfig.parityMode = kUSART_ParityEven; in HAL_UartInit()
236 usartConfig.parityMode = kUSART_ParityOdd; in HAL_UartInit()
240 usartConfig.parityMode = kUSART_ParityDisabled; in HAL_UartInit()
245 usartConfig.stopBitCount = kUSART_TwoStopBit; in HAL_UartInit()
249 usartConfig.stopBitCount = kUSART_OneStopBit; in HAL_UartInit()
251 usartConfig.enableRx = (bool)uart_config->enableRx; in HAL_UartInit()
252 usartConfig.enableTx = (bool)uart_config->enableTx; in HAL_UartInit()
254 …status = USART_Init(s_UsartAdapterBase[uart_config->instance], &usartConfig, uart_config->srcClock… in HAL_UartInit()