We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22b183a commit 19ee9c1Copy full SHA for 19ee9c1
drivers/Ticker.h
@@ -100,6 +100,11 @@ class Ticker : public TimerEvent, private NonCopyable<Ticker> {
100
*
101
* @param func pointer to the function to be called
102
* @param t the time between calls in micro-seconds
103
+ *
104
+ * @note setting @a t to a value shorter that it takes to process the ticker callback
105
+ * will cause the system to hang. Ticker callback will be called constantly with no time
106
+ * for threads scheduling.
107
108
*/
109
void attach_us(Callback<void()> func, us_timestamp_t t) {
110
_function = func;
0 commit comments