216#ifndef _NB_INTERVAL_TIMER_H
217#define _NB_INTERVAL_TIMER_H
218#include <constants.h>
401int IntervalOSSem(OS_SEM *p_toSem,
int num_per_sec,
int timer = FIRST_UNUSED_TIMER);
627int IntervalOSFlag(OS_FLAGS *p_toFlag, uint32_t flag_value,
int num_per_sec,
int timer = FIRST_UNUSED_TIMER);
int IntervalInterruptCallback(void(*p_toCallbackFunc)(), int num_per_sec, int timer=FIRST_UNUSED_TIMER)
Create a periodic timer that calls a function from interrupt context.
void IntervalStop(int timer_number)
Stop and release an interval timer.
int IntervalOSFlag(OS_FLAGS *p_toFlag, uint32_t flag_value, int num_per_sec, int timer=FIRST_UNUSED_TIMER)
Create a periodic timer that sets RTOS flags.
int IntervalOSSem(OS_SEM *p_toSem, int num_per_sec, int timer=FIRST_UNUSED_TIMER)
Create a periodic timer that posts to an RTOS semaphore.