[riot-notifications] [RIOT-OS/RIOT] drivers/dose: make use of start condition received interrupt (#16506)
notifications at github.com
Mon Jul 26 12:51:14 CEST 2021
@benpicco commented on this pull request.
> @@ -243,6 +254,36 @@ gpio_t uart_pin_tx(uart_t uart);
#endif /* DOXYGEN */
#endif /* MODULE_PERIPH_UART_RECONFIGURE */
+#if defined(MODULE_PERIPH_UART_RX_START) || DOXYGEN
+ * @brief Configure the function that will be called when a start condition
+ * is detected.
+ * This will not enable / disable the generation of the RX start
+ * interrupt.
+ * @param[in] uart The device to configure
+ * @param[in] cb The function called when a start condition is detected
+ * @param[in] arg Optional function argument
+void uart_rxs_configure(uart_t uart, uart_rxs_cb_t cb, void *arg);
I just wanted to keep it short, but can add the `_irq`
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...
More information about the notifications