[riot-notifications] [RIOT-OS/RIOT] RFC: UART enhanced settings (#10743)

Yegor Yefremov notifications at github.com
Thu Jan 10 14:31:31 CET 2019

yegorich commented on this pull request.

> @@ -294,7 +337,7 @@ static inline void irq_handler(uart_t uart)
     uint32_t status = dev(uart)->ISR;
     if (status & USART_ISR_RXNE) {
-        isr_ctx[uart].rx_cb(isr_ctx[uart].arg, (uint8_t)dev(uart)->RDR);
+        isr_ctx[uart].rx_cb(isr_ctx[uart].arg, (uint8_t)dev(uart)->RDR & data_mask);

Yes. Parity bit is the MSB and have to be masked to get the raw data.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190110/25b1c3d9/attachment.html>

More information about the notifications mailing list