#include <asf.h>
#include <string>
#include <stream_buffer.h>
#include "sd_mmc_mem.h"
#include "wifi.h"
#include "xbee.h"
#include "globals.h"
#include "communications.h"
#include "user_interface.h"
#include "sd_card_logger.h"
#include "control_law.h"
#include "CAN.h"
#include "drivers/d_adc.h"
Go to the source code of this file.
Macros | |
#define | printf(...) |
#define | printf_mutex(...) |
#define | TASK_COMM_PERIOD_MS 1 |
#define | TASK_COMM_PRIORITY (tskIDLE_PRIORITY + 4) |
#define | TASK_COMM_STACK_SIZE (8192/sizeof(portSTACK_TYPE)) |
#define | TASK_LOGGER_PERIOD_MS 1 |
#define | TASK_LOGGER_PRIORITY (tskIDLE_PRIORITY + 3) |
#define | TASK_LOGGER_STACK_SIZE (8192/sizeof(portSTACK_TYPE)) |
#define | TASK_MAINT_PERIOD_MS 10 |
#define | TASK_MAINT_PRIORITY (tskIDLE_PRIORITY + 1) |
#define | TASK_MAINT_SLOW_SEC_PERIOD_MS 1000 |
#define | TASK_MAINT_STACK_SIZE (4096/sizeof(portSTACK_TYPE)) |
#define | TASK_WIFI_PERIOD_MS 10 |
#define | TASK_WIFI_PRIORITY (tskIDLE_PRIORITY + 2) |
#define | TASK_WIFI_STACK_SIZE (2048/sizeof(portSTACK_TYPE)) |
Functions | |
int | evbMain (void) |
void | evbMainInit (void) |
void | evbMainInitHdw (void) |
void | evbMainInitRTOS (pdTASK_CODE pxTaskComm, pdTASK_CODE pxTaskLogg, pdTASK_CODE pxTaskWifi, pdTASK_CODE pxTaskMant) |
void | evbTaskComm (rtos_task_t &task, is_comm_instance_t &comm) |
is_comm_instance_t & | evbTaskCommInit (void *pvParameters) |
void | evbTaskLogger (rtos_task_t &task, is_comm_instance_t &comm) |
is_comm_instance_t & | evbTaskLoggerInit (void *pvParameters) |
int | evbTaskMaint (rtos_task_t &task) |
void | evbTaskMaintInit (void *pvParameters) |
#define printf | ( | ... | ) |
Definition at line 36 of file evb_tasks.h.
#define printf_mutex | ( | ... | ) |
Definition at line 37 of file evb_tasks.h.
#define TASK_COMM_PERIOD_MS 1 |
Definition at line 17 of file evb_tasks.h.
#define TASK_COMM_PRIORITY (tskIDLE_PRIORITY + 4) |
Definition at line 30 of file evb_tasks.h.
#define TASK_COMM_STACK_SIZE (8192/sizeof(portSTACK_TYPE)) |
Definition at line 24 of file evb_tasks.h.
#define TASK_LOGGER_PERIOD_MS 1 |
Definition at line 18 of file evb_tasks.h.
#define TASK_LOGGER_PRIORITY (tskIDLE_PRIORITY + 3) |
Definition at line 31 of file evb_tasks.h.
#define TASK_LOGGER_STACK_SIZE (8192/sizeof(portSTACK_TYPE)) |
Definition at line 27 of file evb_tasks.h.
#define TASK_MAINT_PERIOD_MS 10 |
Definition at line 20 of file evb_tasks.h.
#define TASK_MAINT_PRIORITY (tskIDLE_PRIORITY + 1) |
Definition at line 33 of file evb_tasks.h.
#define TASK_MAINT_SLOW_SEC_PERIOD_MS 1000 |
Definition at line 21 of file evb_tasks.h.
#define TASK_MAINT_STACK_SIZE (4096/sizeof(portSTACK_TYPE)) |
Definition at line 25 of file evb_tasks.h.
#define TASK_WIFI_PERIOD_MS 10 |
Definition at line 19 of file evb_tasks.h.
#define TASK_WIFI_PRIORITY (tskIDLE_PRIORITY + 2) |
Definition at line 32 of file evb_tasks.h.
#define TASK_WIFI_STACK_SIZE (2048/sizeof(portSTACK_TYPE)) |
Definition at line 28 of file evb_tasks.h.
int evbMain | ( | void | ) |
Definition at line 220 of file evb_tasks.cpp.
void evbMainInit | ( | void | ) |
Definition at line 151 of file evb_tasks.cpp.
void evbMainInitHdw | ( | void | ) |
Definition at line 182 of file evb_tasks.cpp.
void evbMainInitRTOS | ( | pdTASK_CODE | pxTaskComm, |
pdTASK_CODE | pxTaskLogg, | ||
pdTASK_CODE | pxTaskWifi, | ||
pdTASK_CODE | pxTaskMant | ||
) |
Definition at line 196 of file evb_tasks.cpp.
void evbTaskComm | ( | rtos_task_t & | task, |
is_comm_instance_t & | comm | ||
) |
Definition at line 42 of file evb_tasks.cpp.
is_comm_instance_t& evbTaskCommInit | ( | void * | pvParameters | ) |
Definition at line 17 of file evb_tasks.cpp.
void evbTaskLogger | ( | rtos_task_t & | task, |
is_comm_instance_t & | comm | ||
) |
Definition at line 86 of file evb_tasks.cpp.
is_comm_instance_t& evbTaskLoggerInit | ( | void * | pvParameters | ) |
Definition at line 66 of file evb_tasks.cpp.
int evbTaskMaint | ( | rtos_task_t & | task | ) |
Definition at line 110 of file evb_tasks.cpp.
void evbTaskMaintInit | ( | void * | pvParameters | ) |
Definition at line 104 of file evb_tasks.cpp.