Midnight Sun Firmware
Loading...
Searching...
No Matches
Fans

fans Firmware More...

Macros

#define REAR_CONTROLLER_FAN_TEMP_THRESHOLD_C   40
 

Functions

StatusCode fans_init (RearControllerStorage *storage)
 Initializes the fan sub-system. More...
 
StatusCode fans_run (void)
 Checks the max board and cell temperatures in storage, compares them against the fan threshold, and turns on or off accordingly. More...
 

Detailed Description

fans Firmware

Function Documentation

◆ fans_init()

StatusCode fans_init ( RearControllerStorage storage)

Initializes the fan sub-system.

Parameters
storagePointer to the rear controller storage
Returns
STATUS_CODE_OK if initialized succesfully

◆ fans_run()

StatusCode fans_run ( void  )

Checks the max board and cell temperatures in storage, compares them against the fan threshold, and turns on or off accordingly.

Returns
STATUS_CODE_OK if executed succesfully