Searched refs:usartConfig (Results 1 – 2 of 2) sorted by relevance
218 usart_config_t usartConfig; in HAL_UartInit() local227 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()[all …]
277 usart_config_t usartConfig; in HAL_UartInitCommon() local286 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()[all …]