/* Get LL hardware flow control define from Zephyr hardware flow control option.  */
static uint32_t uart_stm32_cfg2ll_hwctrl(enum uart_config_flow_control fc)
/* Get LL hardware flow control define from Zephyr hardware flow control option.  */
static uint32_t uart_stm32_cfg2ll_hwctrl(enum uart_config_flow_control fc)
{
	if (fc == UART_CFG_FLOW_CTRL_RTS_CTS) {
		return LL_USART_HWCONTROL_RTS_CTS;
	} else if (fc == UART_CFG_FLOW_CTRL_RS485) {
		return LL_USART_HWCONTROL_NONE;
	}
	return LL_USART_HWCONTROL_NONE;
}