Midnight Sun Firmware
Loading...
Searching...
No Matches
precharge.h
1#pragma once
2
3/************************************************************************************************
4 * @file precharge.h
5 *
6 * @brief Header file for precharge
7 *
8 * @date 2025-02-06
9 * @author Midnight Sun Team #24 - MSXVI
10 ************************************************************************************************/
11
12/* Standard library Headers */
13#include <stdbool.h>
14
15/* Inter-component Headers */
16#include "gpio.h"
17#include "notify.h"
18#include "status.h"
19
20/* Intra-component Headers */
21#include "bms_carrier.h"
22
30#define PRECHARGE_EVENT_IT 0U
31
39};
40
48StatusCode precharge_init(BmsStorage *storage, Event event, const Task *task);
49
StatusCode
StatusCodes for various errors.
Definition: status.h:27
StatusCode precharge_init(BmsStorage *storage, Event event, const Task *task)
Initialize precharge settings.
Definition: precharge.c:29
Battery management system storage.
Definition: bms_carrier.h:50
Port and pin data.
Definition: gpio.h:112
Precharge settings.
Definition: precharge.h:35
GpioAddress precharge_monitor
Definition: precharge.h:38
GpioAddress motor_sw_sense
Definition: precharge.h:37
GpioAddress motor_sw_en
Definition: precharge.h:36
Definition: tasks.h:83