MCU
Loading...
Searching...
No Matches
Classes | Enumerations
DashboardInterface.h File Reference
#include "MessageQueueDefine.h"
#include "FlexCAN_T4.h"
#include "hytech.h"
#include "MCUInterface.h"
#include "InverterInterface.h"
#include "SharedDataTypes.h"
Include dependency graph for DashboardInterface.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  DashButtons_s
 
struct  DashComponentInterface_s
 
class  DashboardInterface
 

Enumerations

enum class  LEDColors_e {
  OFF , ON , YELLOW , RED ,
  OFF , ON , YELLOW , RED
}
 
enum class  DashLED_e {
  BOTS_LED , LAUNCH_CONTROL_LED , MODE_LED , MECH_BRAKE_LED ,
  COCKPIT_BRB_LED , INERTIA_LED , GLV_LED , CRIT_CHARGE_LED ,
  START_LED , MC_ERROR_LED , IMD_LED , AMS_LED ,
  BOTS_LED , LAUNCH_CONTROL_LED , MODE_LED , MECH_BRAKE_LED ,
  COCKPIT_BRB_LED , INERTIA_LED , GLV_LED , CRIT_CHARGE_LED ,
  START_LED , MC_ERROR_LED , IMD_LED , AMS_LED
}
 

Enumeration Type Documentation

◆ DashLED_e

enum class DashLED_e
strong
Enumerator
BOTS_LED 
LAUNCH_CONTROL_LED 
MODE_LED 
MECH_BRAKE_LED 
COCKPIT_BRB_LED 
INERTIA_LED 
GLV_LED 
CRIT_CHARGE_LED 
START_LED 
MC_ERROR_LED 

from state machine. When READY_TO_DRIVE, set START_LED to true. See what else uses READY_TO_DRIVE so that you can update START_LED.

IMD_LED 

from DrivetrainSystem.cpp, get drivetrain_error_occurred()

AMS_LED 
BOTS_LED 
LAUNCH_CONTROL_LED 
MODE_LED 
MECH_BRAKE_LED 
COCKPIT_BRB_LED 
INERTIA_LED 
GLV_LED 
CRIT_CHARGE_LED 
START_LED 
MC_ERROR_LED 
IMD_LED 
AMS_LED 

Definition at line 23 of file DashboardInterface.h.

24{
31 GLV_LED,
33 START_LED,
35 IMD_LED,
36 AMS_LED,
37};
@ MC_ERROR_LED
from state machine. When READY_TO_DRIVE, set START_LED to true. See what else uses READY_TO_DRIVE so ...
@ LAUNCH_CONTROL_LED
@ IMD_LED
from DrivetrainSystem.cpp, get drivetrain_error_occurred()

◆ LEDColors_e

enum class LEDColors_e
strong
Enumerator
OFF 
ON 
YELLOW 
RED 
OFF 
ON 
YELLOW 
RED 

Definition at line 14 of file DashboardInterface.h.

15{
16 OFF,
17 ON,
18 YELLOW,
19 RED,
20};