]> git.baikalelectronics.ru Git - uboot.git/commit
serial: stm32: add Framing error support
authorPatrick Delaunay <patrick.delaunay@st.com>
Tue, 30 Jul 2019 17:16:46 +0000 (19:16 +0200)
committerPatrice Chotard <patrice.chotard@st.com>
Tue, 27 Aug 2019 09:19:23 +0000 (11:19 +0200)
commitd414367556d6ae8f787b2f4f3c05eb5f9514467b
tree7a644b14df135c441e5cbb17e8c29d10512d69b3
parent89ea3b2f1e9aa32bbee11d26f86bb31dfc3aabb6
serial: stm32: add Framing error support

Add management of Bit 1 of USART_ISR = FE: Framing error
This bit is set by hardware when a de-synchronization, excessive noise
or a break character is detected. It is cleared by software, writing 1
to the FECF bit in the USART_ICR register (for stm32 after f4).

Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com>
drivers/serial/serial_stm32.c
drivers/serial/serial_stm32.h