firmware
IEM Firmware Documentation
Loading...
Searching...
No Matches
car_flags Union Reference

#include <state.h>

Data Fields

uint32_t as_u32
struct { 
   enum car_state   state 
   struct __packed
      bool   bms: 1 
      bool   imd: 1 
      bool   bspd: 1 
      enum apps_fault   apps: 2 
      enum btsf_fault   btsf: 2 
      bool   true_fault_stat: 1 
      bool   hv_connected: 1 
      bool   shutdown_closed: 1 
      bool   precharge_cplt: 1 
      bool   drive_en: 1 
      bool   cooling_en: 1 
      bool   rtds_timer_cplt: 1 
      bool   brake_pressed: 1 
      bool   have_reset: 1 
   }   fault
   struct __packed
      bool   bms: 1 
      bool   imd: 1 
      bool   bspd: 1 
      enum apps_fault   apps: 2 
      enum btsf_fault   btsf: 2 
      bool   true_fault_stat: 1 
      bool   hv_connected: 1 
      bool   shutdown_closed: 1 
      bool   precharge_cplt: 1 
      bool   drive_en: 1 
      bool   cooling_en: 1 
      bool   rtds_timer_cplt: 1 
      bool   brake_pressed: 1 
      bool   have_reset: 1 
   }   status
}; 

Field Documentation

◆ [struct]

struct { ... } car_flags

◆ apps

enum apps_fault car_flags::apps

◆ as_u32

uint32_t car_flags::as_u32

◆ bms

bool car_flags::bms

◆ brake_pressed

bool car_flags::brake_pressed

◆ bspd

bool car_flags::bspd

◆ btsf

enum btsf_fault car_flags::btsf

◆ cooling_en

bool car_flags::cooling_en

◆ drive_en

bool car_flags::drive_en

◆ [struct]

struct { ... } ::__packed car_flags::fault

◆ have_reset

bool car_flags::have_reset

◆ hv_connected

bool car_flags::hv_connected

◆ imd

bool car_flags::imd

◆ precharge_cplt

bool car_flags::precharge_cplt

◆ rtds_timer_cplt

bool car_flags::rtds_timer_cplt

◆ shutdown_closed

bool car_flags::shutdown_closed

◆ state

enum car_state car_flags::state

◆ [struct]

struct { ... } ::__packed car_flags::status

◆ true_fault_stat

bool car_flags::true_fault_stat

The documentation for this union was generated from the following file:
  • ecu/safety/application/inc/state.h