Midnight Sun Firmware
Loading...
Searching...
No Matches
fans.h
1
#pragma once
2
3
/************************************************************************************************
4
* @file fans.h
5
*
6
* @brief Fans header file
7
*
8
* @date 2025-09-20
9
* @author Midnight Sun Team #24 - MSXVI
10
************************************************************************************************/
11
12
/* Standard library Headers */
13
14
/* Inter-component Headers */
15
16
/* Intra-component Headers */
17
#include "rear_controller.h"
18
25
#define REAR_CONTROLLER_FAN_TEMP_THRESHOLD_C 40
26
32
StatusCode
fans_init
(
RearControllerStorage
*storage);
33
38
StatusCode
fans_run
(
void
);
39
StatusCode
StatusCode
StatusCodes for various errors.
Definition:
status.h:27
fans_run
StatusCode fans_run(void)
Checks the max board and cell temperatures in storage, compares them against the fan threshold,...
Definition:
fans.c:28
fans_init
StatusCode fans_init(RearControllerStorage *storage)
Initializes the fan sub-system.
Definition:
fans.c:42
RearControllerStorage
Definition:
rear_controller.h:41
projects
rear_controller
inc
fans.h
Generated by
1.9.5