.. _program_listing_file_mainboard_Inc_super_fsm.h: Program Listing for File super_fsm.h ==================================== |exhale_lsh| :ref:`Return to documentation for file ` (``mainboard/Inc/super_fsm.h``) .. |exhale_lsh| unicode:: U+021B0 .. UPWARDS ARROW WITH TIP LEFTWARDS .. code-block:: cpp #ifndef SUPER_FSM_H #define SUPER_FSM_H #include "fsm.h" #include #define VOLTS_READ_INTERVAL 20 #define TEMPS_READ_INTERVAL 200 typedef enum { SUPER_BMS, SUPER_MEASURE_VOLTS, SUPER_NUM_STATES } super_states; typedef enum { SUPER_EV_MEASURE_VOLTS, SUPER_EV_BMS, SUPER_EV_NUM } super_events; extern fsm super_fsm; void super_fsm_init(); #endif