From 5879217eaa8cb5d3f3470a43e057cbf9e18e9d09 Mon Sep 17 00:00:00 2001 From: Rocco Marco Guglielmi Date: Fri, 6 May 2016 13:26:00 +0000 Subject: Added missing usart related bit definition from ST CMSIS header files git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9434 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h | 1 + 1 file changed, 1 insertion(+) diff --git a/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h b/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h index b25492ec8..deb528882 100644 --- a/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h +++ b/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h @@ -349,6 +349,7 @@ typedef struct { #define USART_CR2_STOP0P5_BITS (1 << 12) /**< @brief CR2 0.5 stop bit value.*/ #define USART_CR2_STOP2_BITS (2 << 12) /**< @brief CR2 2 stop bit value.*/ #define USART_CR2_STOP1P5_BITS (3 << 12) /**< @brief CR2 1.5 stop bit value.*/ +#define USART_CR2_LINEN (1 << 14) /**< @brief CR2 line enable.*/ /*===========================================================================*/ /* External declarations. */ -- cgit v1.2.3