CMSIS + 0/1 examples
CodeScope will show references to osTimerNew() from the following samples and libraries:
Libraries
 
Symbols
loading...
Files
loading...

osTimerNew() function

Create and Initialize a timer.

Syntax

osTimerId_t osTimerNew (osTimerFunc_t func,     osTimerType_t type,     void *argument,     const osTimerAttr_t *attr);

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.

References

Call Tree

Functions called by osTimerNew()
osTimerNew()
MemAlloc()
MemFree()
_txe_timer_create()
all items filtered out
Data read by osTimerNew()
Data written by osTimerNew()
osTimerNew()::timer_ptr
osTimerNew()::name_ptr
osTimerNew()::expiration_input
osTimerNew()::reschedule_ticks
osTimerNew()::cb_size
all items filtered out
osTimerNew()
osTimerNew()::timer_ptr
osTimerNew()::name_ptr
osTimerNew()::expiration_input
osTimerNew()::reschedule_ticks
osTimerNew()::cb_size
all items filtered out
Type of osTimerNew()
osTimerNew()
CHAR
ULONG
TX_TIMER
all items filtered out