diff --git a/include/kernel.h b/include/kernel.h index 9c353d025d3..70f94dcac2c 100644 --- a/include/kernel.h +++ b/include/kernel.h @@ -1832,7 +1832,10 @@ typedef void (*k_timer_expiry_t)(struct k_timer *timer); * @brief Timer stop function type. * * A timer's stop function is executed if the timer is stopped prematurely. - * The function runs in the context of the thread that stops the timer. + * The function runs in the context of call that stops the timer. As + * k_timer_stop() can be invoked from an ISR, the stop function must be + * callable from interrupt context (isr-ok). + * * The stop function is optional, and is only invoked if the timer has been * initialized with one. *