osTimerNew() function
Create and Initialize a timer.
Arguments
func
function pointer to callback function.
type
osTimerOnce for one-shot or osTimerPeriodic for periodic behavior.
argument
argument to the timer callback function.
attr
timer attributes; NULL: default values.
Return value
timer ID for reference by other functions or NULL in case of error.
Examples
osTimerNew() is referenced by 1 libraries and example projects: