Home
last modified time | relevance | path

Searched refs:usartConfig (Results 1 – 1 of 1) sorted by relevance

/trusted-firmware-m-latest/platform/ext/target/nxp/common/Native_Driver/components/uart/
Dfsl_adapter_usart.c277 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()
[all …]