drivers: serial: provide support for stm32f091
Support the USARTs of the ST STM32F091xx SoC. Signed-off-by: Bobby Noelte <b0661n0e17e@gmail.com>
This commit is contained in:
parent
3849b36f09
commit
2ce56e0100
1 changed files with 2 additions and 2 deletions
|
@ -172,7 +172,7 @@ static void uart_stm32_irq_err_enable(struct device *dev)
|
|||
/* Enable FE, ORE interruptions */
|
||||
LL_USART_EnableIT_ERROR(UartInstance);
|
||||
/* Enable Line break detection */
|
||||
#ifndef CONFIG_SOC_STM32F030X8
|
||||
#ifndef CONFIG_SOC_SERIES_STM32F0X
|
||||
LL_USART_EnableIT_LBD(UartInstance);
|
||||
#endif
|
||||
/* Enable parity error interruption */
|
||||
|
@ -186,7 +186,7 @@ static void uart_stm32_irq_err_disable(struct device *dev)
|
|||
/* Enable FE, ORE interruptions */
|
||||
LL_USART_DisableIT_ERROR(UartInstance);
|
||||
/* Enable Line break detection */
|
||||
#ifndef CONFIG_SOC_STM32F030X8
|
||||
#ifndef CONFIG_SOC_SERIES_STM32F0X
|
||||
LL_USART_DisableIT_LBD(UartInstance);
|
||||
#endif
|
||||
/* Enable parity error interruption */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue