42#ifndef _NB_INTERVAL_TIMER_H
43#define _NB_INTERVAL_TIMER_H
int IntervalInterruptCallback(void(*p_toCallbackFunc)(), int num_per_sec, int timer=FIRST_UNUSED_TIMER)
Calls a function at requested interval. Note that the callback function is called from within the tim...
void IntervalStop(int timer_number)
Stops an existing Interval Timer and frees the resource.
int IntervalOSFlag(OS_FLAGS *p_toFlag, uint32_t flag_value, int num_per_sec, int timer=FIRST_UNUSED_TIMER)
Sets a flag at requested interval.
int IntervalOSSem(OS_SEM *p_toSem, int num_per_sec, int timer=FIRST_UNUSED_TIMER)
Posts to a semaphore at the requested interval.
NetBurner System Constants.
#define FIRST_UNUSED_TIMER
Definition nbrtos/include/constants.h:396
NetBurner Real-Time Operating System (NBRTOS) API.
OSFlags enables a function or task to pend on multiple flags or events.
Definition nbrtos.h:1262
Semaphores are used to control access to shared resources or or to communicate between tasks in a mul...
Definition nbrtos.h:386