mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-10 18:15:59 +00:00
Timer Documentation extended for timer types
This commit is contained in:
parent
dcc647a062
commit
1d77846e9e
@ -26,10 +26,13 @@ namespace sta
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
/**
|
/**
|
||||||
* @brief
|
* @brief Creates a new timer with a given callback function.
|
||||||
*
|
*
|
||||||
* @param callback The callback function to call upon timer timeout.
|
* @param callback The callback function to call upon timer timeout.
|
||||||
* @param arg The argument to pass to the callback function.
|
* @param arg The argument to pass to the callback function.
|
||||||
|
* @param type The type of timer to create. The Options are:
|
||||||
|
* - osTimerOnce: One-shot timer.
|
||||||
|
* - osTimerPeriodic: Repeating timer.
|
||||||
*/
|
*/
|
||||||
RtosTimer(std::function<void(void*)>, void *arg, osTimerType_t type = osTimerOnce);
|
RtosTimer(std::function<void(void*)>, void *arg, osTimerType_t type = osTimerOnce);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user