[riot-notifications] [RIOT-OS/RIOT] drivers/dose: make use of start condition received interrupt (#16506)

benpicco notifications at github.com
Mon Jul 26 13:23:09 CEST 2021


@benpicco commented on this pull request.



> @@ -396,6 +423,17 @@ static inline void irq_handler(unsigned uartnum)
     }
 #endif
 
+#ifdef MODULE_PERIPH_UART_RX_START
+    if (status & SERCOM_USART_INTFLAG_RXS && dev(uartnum)->INTENSET.bit.RXS) {
+        /* clear receive start flag */
+        dev(uartnum)->INTFLAG.reg = SERCOM_USART_INTFLAG_RXS;

Collision detection is a separate feature of the UART unrelated to this PR (`COLDEN` / `STATUS.COLL`) 

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/RIOT-OS/RIOT/pull/16506#discussion_r676516414
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20210726/d36012ad/attachment.htm>


More information about the notifications mailing list