main_ubi_sdk v 0.1.3
This is UBI4 documentation
while_sheduller.c File Reference
#include "utils/while_sheduller.h"
#include "stdbool.h"
Include dependency graph for while_sheduller.c:

Data Structures

struct  sheduller_handler_struct
 

Macros

#define SHEDULLER_BUFFER_SIZE   50
 

Typedefs

typedef void(* while_sheduller_event_handler_t) (void *p)
 

Functions

void sheduller_exece ()
 
bool while_sheduller_get_slot (while_sheduller_event_handler_t handler, void *p, bool repeat, sheduller_handler_struct **slot)
 
bool while_sheduller_add_func (while_sheduller_event_handler_t handler, void *p, bool repeat)
 
bool while_sheduller_add_func_from_softtimer (WhileSchedulerHandler_t handler, void *p, bool repeat, void *timer_object, int instance)
 

Variables

static uint8_t count = 0
 
sheduller_handler_struct sheduller_buffer_data [SHEDULLER_BUFFER_SIZE]
 

Macro Definition Documentation

◆ SHEDULLER_BUFFER_SIZE

#define SHEDULLER_BUFFER_SIZE   50

Typedef Documentation

◆ while_sheduller_event_handler_t

typedef void(* while_sheduller_event_handler_t) (void *p)

Function Documentation

◆ sheduller_exece()

void sheduller_exece ( )

◆ while_sheduller_add_func()

bool while_sheduller_add_func ( while_sheduller_event_handler_t handler,
void * p,
bool repeat )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ while_sheduller_add_func_from_softtimer()

bool while_sheduller_add_func_from_softtimer ( WhileSchedulerHandler_t handler,
void * p,
bool repeat,
void * timer_object,
int instance )
Here is the call graph for this function:
Here is the caller graph for this function:

◆ while_sheduller_get_slot()

bool while_sheduller_get_slot ( while_sheduller_event_handler_t handler,
void * p,
bool repeat,
sheduller_handler_struct ** slot )
Here is the caller graph for this function:

Variable Documentation

◆ count

uint8_t count = 0
static

◆ sheduller_buffer_data