NinjaFlight
|
#include <stdbool.h>
Go to the source code of this file.
Data Structures | |
struct | cfTaskInfo_t |
struct | cfTask_s |
struct | ninja_sched |
Macros | |
#define | LOAD_PERCENTAGE_ONE 100 |
Typedefs | |
typedef struct cfTask_s | cfTask_t |
Enumerations | |
enum | cfTaskPriority_e { TASK_PRIORITY_IDLE = 0, TASK_PRIORITY_LOW = 1, TASK_PRIORITY_MEDIUM = 3, TASK_PRIORITY_HIGH = 5, TASK_PRIORITY_REALTIME = 6, TASK_PRIORITY_MAX = 255 } |
enum | cfTaskId_e { TASK_SYSTEM = 0, TASK_GYROPID, TASK_ACCEL, TASK_SERIAL, TASK_BEEPER, TASK_BATTERY, TASK_RX, TASK_COMPASS, TASK_TRANSPONDER, TASK_COUNT, TASK_NONE = TASK_COUNT, TASK_SELF } |
Functions | |
void | ninja_sched_init (struct ninja_sched *self, const struct system_calls_time *time, const struct config *config) |
void | ninja_sched_run (struct ninja_sched *self) |
void | ninja_sched_get_task_info (struct ninja_sched *self, cfTaskId_e taskId, cfTaskInfo_t *taskInfo) |
uint16_t | ninja_sched_get_load (struct ninja_sched *self) |
#define LOAD_PERCENTAGE_ONE 100 |
enum cfTaskId_e |
enum cfTaskPriority_e |