Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/thirdpin/libopencm3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Palsson <karlp@tweak.net.au>2017-10-25 02:51:52 +0300
committerKarl Palsson <karlp@tweak.net.au>2017-10-26 01:42:26 +0300
commit2bc19d499c1d4dff873827268ac236d37f0ef4fb (patch)
treefa96b5654d1e2930ae58b3bec51fbebb9ddbda14 /include/libopencm3/stm32/common/usart_common_f124.h
parent3dbbbe11133568cb30255092c07100a0e11447bd (diff)
stm32:usart: Pull stop bit definitions up as common
Diffstat (limited to 'include/libopencm3/stm32/common/usart_common_f124.h')
-rw-r--r--include/libopencm3/stm32/common/usart_common_f124.h8
1 files changed, 0 insertions, 8 deletions
diff --git a/include/libopencm3/stm32/common/usart_common_f124.h b/include/libopencm3/stm32/common/usart_common_f124.h
index cd6f56ff..283503d2 100644
--- a/include/libopencm3/stm32/common/usart_common_f124.h
+++ b/include/libopencm3/stm32/common/usart_common_f124.h
@@ -195,14 +195,6 @@ specific memorymap.h header before including this header file.*/
/* LINEN: LIN mode enable */
#define USART_CR2_LINEN (1 << 14)
-/* STOP[13:12]: STOP bits */
-#define USART_CR2_STOPBITS_1 (0x00 << 12) /* 1 stop bit */
-#define USART_CR2_STOPBITS_0_5 (0x01 << 12) /* 0.5 stop bits */
-#define USART_CR2_STOPBITS_2 (0x02 << 12) /* 2 stop bits */
-#define USART_CR2_STOPBITS_1_5 (0x03 << 12) /* 1.5 stop bits */
-#define USART_CR2_STOPBITS_MASK (0x03 << 12)
-#define USART_CR2_STOPBITS_SHIFT 12
-
/* CLKEN: Clock enable */
#define USART_CR2_CLKEN (1 << 11)