aboutsummaryrefslogtreecommitdiffstats
path: root/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h
diff options
context:
space:
mode:
authorGiovanni Di Sirio <gdisirio@gmail.com>2016-06-16 11:56:43 +0000
committerGiovanni Di Sirio <gdisirio@gmail.com>2016-06-16 11:56:43 +0000
commit7e6efe12f09270d9441f0d7129c41ec9536c4c2a (patch)
tree56ea29ac9f1383f360b550d1788f086eb679d5d5 /os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h
parent6ec0150086ee3aab792ced643e0b7b5dc237f6f1 (diff)
downloadChibiOS-7e6efe12f09270d9441f0d7129c41ec9536c4c2a.tar.gz
ChibiOS-7e6efe12f09270d9441f0d7129c41ec9536c4c2a.tar.bz2
ChibiOS-7e6efe12f09270d9441f0d7129c41ec9536c4c2a.zip
Priority bit masking in STM32 serial drivers.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@9632 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h')
-rw-r--r--os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h4
1 files changed, 3 insertions, 1 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..e0f493515 100644
--- a/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h
+++ b/os/hal/ports/STM32/LLD/USARTv2/hal_serial_lld.h
@@ -336,7 +336,9 @@ typedef struct {
/* Pointer to the USART registers block.*/ \
USART_TypeDef *usart; \
/* Clock frequency for the associated USART/UART.*/ \
- uint32_t clock;
+ uint32_t clock; \
+ /* Mask to be applied on received frames.*/ \
+ uint8_t rxmask;
/*===========================================================================*/
/* Driver macros. */