PER Firmware
Loading...
Searching...
No Matches
charging_fsm.h
Go to the documentation of this file.
1
8
#ifndef CHARGING_FSM_H
9
#define CHARGING_FSM_H
10
11
#include <stdint.h>
12
13
#include "can_library/generated/A_BOX.h"
14
15
static
constexpr
uint32_t
CHARGING_FSM_PERIOD_MS
= 1000;
16
17
// static assert that the FSM flushes the CAN messages it owns at least as fast as their defined periods
18
static_assert
(ELCON_COMMAND_PERIOD_MS ==
CHARGING_FSM_PERIOD_MS
);
19
static_assert
(CHARGING_FSM_INTERNALS_PERIOD_MS ==
CHARGING_FSM_PERIOD_MS
);
20
21
void
charging_fsm_periodic
(
void
);
22
23
#endif
// CHARGING_FSM_H
CHARGING_FSM_PERIOD_MS
static constexpr uint32_t CHARGING_FSM_PERIOD_MS
Definition
charging_fsm.h:15
charging_fsm_periodic
void charging_fsm_periodic(void)
Definition
charging_fsm.c:88
firmware
source
a_box
charging_fsm
charging_fsm.h
Generated by
1.12.0