|
Vehicle Control Unit 0.01
This is the c library for controlling the car.
|
#include "FreeRTOS.h"#include "task.h"#include "timers.h"#include "queue.h"#include "../../Inc/Scheduler/Scheduler.h"
Go to the source code of this file.
Classes | |
| struct | ScheduledUpdateable |
| struct | WorkItem |
Macros | |
| #define | WORK_QUEUE_SIZE 32 |
| #define | WORKER_STACK_SIZE 1024 |
| #define | WORKER_PRIORITY (tskIDLE_PRIORITY + 2) |
Functions | |
| static void | workerTask (void *pvParameters) |
| static void | updateableTimerCallback (TimerHandle_t xTimer) |
| void | SchedulerInit (Scheduler *scheduler, Updateable *updatableArray[]) |
| void | SchedulerRun (Scheduler *scheduler) |
| void | SchedulerStop (Scheduler *scheduler) |
| void | SchedulerSuspendUpdateable (const char *name) |
| void | SchedulerResumeUpdateable (const char *name) |
| void | SchedulerGetStats (void) |
| void | SchedulerCleanup (void) |
Variables | |
| static ScheduledUpdateable | scheduledTasks [MAX_SENSORS] |
| static int | taskCount = 0 |
| static TaskHandle_t | workerTaskHandle = NULL |
| static QueueHandle_t | workQueue = NULL |
| #define WORK_QUEUE_SIZE 32 |
Definition at line 25 of file Scheduler.c.
| #define WORKER_PRIORITY (tskIDLE_PRIORITY + 2) |
Definition at line 27 of file Scheduler.c.
| #define WORKER_STACK_SIZE 1024 |
Definition at line 26 of file Scheduler.c.
| void SchedulerCleanup | ( | void | ) |
Definition at line 225 of file Scheduler.c.
| void SchedulerGetStats | ( | void | ) |
Definition at line 202 of file Scheduler.c.
| void SchedulerInit | ( | Scheduler * | scheduler, |
| Updateable * | updatableArray[] | ||
| ) |
Definition at line 80 of file Scheduler.c.


| void SchedulerResumeUpdateable | ( | const char * | name | ) |
Definition at line 189 of file Scheduler.c.
| void SchedulerRun | ( | Scheduler * | scheduler | ) |
Definition at line 142 of file Scheduler.c.

| void SchedulerStop | ( | Scheduler * | scheduler | ) |
Definition at line 162 of file Scheduler.c.
| void SchedulerSuspendUpdateable | ( | const char * | name | ) |
Definition at line 176 of file Scheduler.c.
|
static |
Definition at line 59 of file Scheduler.c.

|
static |
Definition at line 30 of file Scheduler.c.


|
static |
Definition at line 18 of file Scheduler.c.
|
static |
Definition at line 19 of file Scheduler.c.
|
static |
Definition at line 22 of file Scheduler.c.
|
static |
Definition at line 23 of file Scheduler.c.