aboutsummaryrefslogtreecommitdiff
path: root/drivers/serial/serial_stm32x7.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/serial/serial_stm32x7.h')
-rw-r--r--drivers/serial/serial_stm32x7.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/serial/serial_stm32x7.h b/drivers/serial/serial_stm32x7.h
index 6190d67406b..8c025485cd9 100644
--- a/drivers/serial/serial_stm32x7.h
+++ b/drivers/serial/serial_stm32x7.h
@@ -27,6 +27,8 @@ struct stm32_usart {
#define USART_CR1_TE (1 << 3)
#define USART_CR1_UE (1 << 0)
+#define USART_CR3_OVRDIS (1 << 12)
+
#define USART_SR_FLAG_RXNE (1 << 5)
#define USART_SR_FLAG_TXE (1 << 7)