osTimerCreate() function
Timer Management Functions ************************** Create a timer.
Arguments
timer_def
timer object referenced with
osTimer
.
type
osTimerOnce for one-shot or osTimerPeriodic for periodic behavior.
argument
argument to the timer call back function.
Return value
timer ID for reference by other functions or NULL in case of error.
Notes
MUST REMAIN UNCHANGED: \b osTimerCreate shall be consistent in every CMSIS-RTOS.
Examples
osTimerCreate() is referenced by 15 libraries and example projects: