Lines Matching refs:usartConfig
277 usart_config_t usartConfig; in HAL_UartInitCommon() local
286 USART_GetDefaultConfig(&usartConfig); in HAL_UartInitCommon()
287 usartConfig.baudRate_Bps = config->baudRate_Bps; in HAL_UartInitCommon()
291 usartConfig.enableHardwareFlowControl = true; in HAL_UartInitCommon()
296 usartConfig.parityMode = kUSART_ParityEven; in HAL_UartInitCommon()
300 usartConfig.parityMode = kUSART_ParityOdd; in HAL_UartInitCommon()
304 usartConfig.parityMode = kUSART_ParityDisabled; in HAL_UartInitCommon()
309 usartConfig.stopBitCount = kUSART_TwoStopBit; in HAL_UartInitCommon()
313 usartConfig.stopBitCount = kUSART_OneStopBit; in HAL_UartInitCommon()
315 usartConfig.enableRx = (bool)config->enableRx; in HAL_UartInitCommon()
316 usartConfig.enableTx = (bool)config->enableTx; in HAL_UartInitCommon()
317 usartConfig.txWatermark = kUSART_TxFifo0; in HAL_UartInitCommon()
318 usartConfig.rxWatermark = kUSART_RxFifo1; in HAL_UartInitCommon()
320 status = USART_Init(s_UsartAdapterBase[config->instance], &usartConfig, config->srcClock_Hz); in HAL_UartInitCommon()