xyControl  0.1
Quadrotor Flight Controller on AVR Basis
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Groups
Data Structures | Typedefs | Functions | Variables
tasks.h File Reference

Task API Header. More...

Go to the source code of this file.

Data Structures

struct  TaskElement
 Single-Linked Task List. More...
 

Typedefs

typedef void(* Task )(void)
 A Task has no arguments and returns nothing. More...
 

Functions

uint8_t addTask (Task func)
 Adds another task that will be called regularly. More...
 
uint8_t removeTask (Task func)
 Removes an already registered Task. More...
 
void tasks (void)
 Executes registered Tasks. More...
 
uint8_t tasksRegistered (void)
 Get the number of registered Tasks. More...
 

Variables

TaskElementtaskList
 List of registered Tasks. More...
 

Detailed Description

Task API Header.

Definition in file tasks.h.