main_ubi_sdk v 0.1.3
This is UBI4 documentation
while_sheduller.h
Go to the documentation of this file.
1/*
2 ******************************************************************************
3 * @file while_sheduller.h
4 * @author A.Alborov
5 ******************************************************************************
6*/
7
8
9
10#ifndef __WHILE_SHEDULLER_H
11#define __WHILE_SHEDULLER_H
12
13
14
15#ifdef __cplusplus
16extern "C" {
17#endif
18
19
20#include "stdint.h"
21#include "stdbool.h"
22
23void sheduller_exece();
24typedef void (*WhileSchedulerHandler_t)(void* timer_obj, int instance, void* p);
25typedef void (* while_sheduller_event_handler_t)(void* p);
26
27
28bool while_sheduller_add_func(while_sheduller_event_handler_t handler ,void* p, bool repeat);
29bool while_sheduller_add_func_from_softtimer(WhileSchedulerHandler_t handler ,void* p, bool repeat, void* timer_object, int instance);
30
31
32#ifdef __cplusplus
33}
34#endif
35
36#endif
void(* while_sheduller_event_handler_t)(void *p)
Definition while_sheduller.c:11
void sheduller_exece()
Definition while_sheduller.c:30
bool while_sheduller_add_func_from_softtimer(WhileSchedulerHandler_t handler, void *p, bool repeat, void *timer_object, int instance)
Definition while_sheduller.c:114
void(* WhileSchedulerHandler_t)(void *timer_obj, int instance, void *p)
Definition while_sheduller.h:24
bool while_sheduller_add_func(while_sheduller_event_handler_t handler, void *p, bool repeat)
Definition while_sheduller.c:100