aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-05-06 13:26:00 +0000
committerRocco Marco Guglielmi <roccomarco.guglielmi@live.com>2016-05-06 13:26:00 +0000
commit5879217eaa8cb5d3f3470a43e057cbf9e18e9d09 (patch)
treed0123d23c1226cc784711e7db297aad0d1a1c49f
parentcca13e793a801428adc457909326c2545b79f2b6 (diff)
downloadChibiOS-5879217eaa8cb5d3f3470a43e057cbf9e18e9d09.tar.gz
ChibiOS-5879217eaa8cb5d3f3470a43e057cbf9e18e9d09.tar.bz2
ChibiOS-5879217eaa8cb5d3f3470a43e057cbf9e18e9d09.zip
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
-rw-r--r--os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h1
1 files changed, 1 insertions, 0 deletions
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. */