33 lines
1.3 KiB
C
33 lines
1.3 KiB
C
/**************************************************************************
|
|
* NAME: tasks.h *
|
|
* PURPOSE: Defining the the scheduler to be used in the system to organize*
|
|
* the runtime for the tasks in the system based on priority. *
|
|
* INFORMATION: *
|
|
* GLOBAL VARIABLES: *
|
|
* Variable Type Description *
|
|
* -------- ---- ----------- *
|
|
***************************************************************************/
|
|
|
|
#ifndef SCHEDULER_TASKS_H_
|
|
#define SCHEDULER_TASKS_H_
|
|
|
|
#include <stdint.h>
|
|
|
|
//All the task functions in the system, one for each task
|
|
void systemTaskSystem(void);
|
|
void systemTaskGyroPid(void);
|
|
void systemTaskAccelerometer(void);
|
|
void systemTaskAttitude(void);
|
|
void systemTaskRx(void);
|
|
bool systemTaskRxCheck(uint32_t currentDeltaTime);
|
|
void systemTaskSerial(void);
|
|
void systemTaskBattery(void);
|
|
void systemTaskBaro(void);
|
|
void systemTaskCompass(void);
|
|
void systemTaskGps(void);
|
|
void systemTaskSonar(void);
|
|
void systemTaskAltitude(void);
|
|
void systemTaskBeeper(void);
|
|
|
|
#endif /* SCHEDULER_TASKS_H_ */
|