firmware
IEM Firmware Documentation
|
RTOS task config parameter macros. More...
#include <stdbool.h>
#include <stdint.h>
#include "constants.h"
#include "types.h"
#include "iem_utils.h"
#include "FreeRTOS.h"
#include "queue.h"
#include "semphr.h"
#include "task.h"
#include "timers.h"
Go to the source code of this file.
Enumerations | |
enum | { PRIO_IDLE = 0 , PRIO_LOW , PRIO_NORMAL , PRIO_ABOVE_NORMAL , PRIO_HIGH , PRIO_LUDICROUS } |
Functions | |
void | application_init () |
Application initialization. | |
void | application_start () |
Application entry point. |
Variables | |
Global_Handles_t | hdls_g |
RTOS task config parameter macros.
#define CAN_TX_QUEUE_LENGTH 128 |
#define FERAM_CS_PIN FERAM_CS_Pin |
#define FERAM_CS_PORT FERAM_CS_GPIO_Port |
#define FERAM_HSPI &hspi4 |
#define FERAM_PWR_CUT_TIME_MS 5 |
#define FERAM_SPI_CLOCK_SPEED 24000000 |
#define STATE_QUEUE_LENGTH 128 |
#define TASK_CAN_RX_NOTIF_MSG 0 |
#define TASK_CAN_RX_PRIO PRIO_ABOVE_NORMAL |
CAN Rx Tasks (for CAN 1 and 3) Priority: Above Normal Stack Size: 1024 Words
#define TASK_CAN_RX_STACK_DEPTH configMINIMAL_STACK_SIZE |
#define TASK_CAN_TX_PRIO PRIO_LOW |
CAN Tx Tasks (for CAN 1, 2, and 3) Priority: Low Stack Size: 1024 Words
#define TASK_CAN_TX_STACK_DEPTH configMINIMAL_STACK_SIZE |
#define TASK_STATE_NAME "state" |
State Machine Task Priority: Above Normal Stack Size: 1024 Words Frequency: 100Hz (10ms)
#define TASK_STATE_NOTIF_THROTTLE 0 |
#define TASK_STATE_NOTIF_TIMER 1 |
#define TASK_STATE_PERIOD 5 |
#define TASK_STATE_PRIO PRIO_ABOVE_NORMAL |
#define TASK_STATE_STACK_DEPTH ((size_t)1024) |
#define TASK_TRACTIVE_NAME "tractive" |
Tractive Task Priority: High Stack Size: 1024 Words Frequency: 250Hz (4ms)
#define TASK_TRACTIVE_NOTIF_CAR_STATE 0 |
#define TASK_TRACTIVE_PERIOD 4 |
#define TASK_TRACTIVE_PRIO PRIO_HIGH |
#define TASK_TRACTIVE_STACK_DEPTH ((size_t)4096) |
#define TASK_VNAV_NAME "vnav" |
Tractive Task Priority: High Stack Size: 1024 Words
#define TASK_VNAV_NOTIF_SYNC_OUT 0 |
#define TASK_VNAV_NOTIF_UART_EVENT 1 |
#define TASK_VNAV_PRIO PRIO_LUDICROUS |
#define TASK_VNAV_STACK_DEPTH configMINIMAL_STACK_SIZE |
#define TRACTIVE_CAN_QUEUE_LENGTH 128 |
|
extern |
Application initialization.
Keeps code that we write and edit isolated from CubeMX in main.c
|
extern |
Application entry point.
Keeps code that we write and edit isolated from CubeMX in main.c
|
extern |