embeddedlibrary
reusable software modules for embedded systems
task.h File Reference
#include <stdint.h>
#include "timing.h"

Go to the source code of this file.

Macros

#define TASK_ROLL_TIME   (TIME_MAX-(uint32_t)10*24*60*60*1000)
 

Typedefs

typedef void(* task_fn_pointer_input_t) (void *)
 
typedef void(* task_fn_t) (void)
 default task type
 

Functions

void Task_Init (void)
 
void SystemTick (void)
 
void Task_Queue (task_fn_t fn, void *pointer)
 Adds a function to the task queue. More...
 
void Task_Schedule (task_fn_t fn, void *pointer, tint_t delay, tint_t period)
 Adds task to be scheduled for execution. More...
 
void Task_Remove (task_fn_t fn, void *pointer)
 Removes Task. More...
 
void WaitMs (tint_t wait)
 
uint8_t Task_IsScheduled (task_fn_t fn)