mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
ca8f74a0b0
USART_CR1_M combines both USART_CR1_M0 and USART_CR1_M1 macros affecting bits 12 and 28 on 7 data bits capable UARTs. Whereas for other UARTs USART_CR1_M macro affects only bit 12. This patch fixes wrong data bits usage on 7 data bits capable UARTs with using USART_CR1_M0 macro for modes 8-E-x and 8-O-x. It also simplifies bits unsetting as USART_CR1_M macro clears all data bits related bits for both UART types. Signed-off-by: Yegor Yefremov <yegorslists@googlemail.com> |
||
---|---|---|
.. | ||
dac.c | ||
dma.c | ||
eeprom.c | ||
flash_common.c | ||
flashpage.c | ||
gpio.c | ||
hwrng.c | ||
i2c_1.c | ||
i2c_2.c | ||
Makefile | ||
pm.c | ||
pwm.c | ||
qdec.c | ||
rtc.c | ||
rtt.c | ||
spi.c | ||
timer.c | ||
uart.c |