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

Juergen Fitschen notifications at github.com
Mon Jul 26 12:57:28 CEST 2021

@jue89 commented on this pull request.

> @@ -243,6 +254,36 @@ gpio_t uart_pin_tx(uart_t uart);
 #endif /* 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);

Even though I never programmed Java and never experienced the common spirit of using sentences for function names, I started to prefer the descriptive names over short ones :D

But I'm okay with the short version, as well. Maybe someone else has another opinion on that?!

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/20210726/3af802a6/attachment-0001.htm>

More information about the notifications mailing list