![]() |
Speeduino
|
#include "../../pins/boardOutputPin.h"#include "../../../units.h"#include "../../../unit_testing.h"#include "../../../globals.h"#include "src/pins/invertableOutputPin.h"#include "src/pins/outputPin.h"#include "src/pwm/PwmOutputChannel.h"#include "src/pwm/interruptHandlers.h"Typedefs | |
| using | fanPwmChannel_t = PwmOutputChannel< invertableOutputPinAdaper_t< outputPin_t > > |
Functions | |
| static void | applyDutyToPwm (const statuses ¤t) |
| void | initialiseFan (statuses ¤t, config2 &page2, const config6 &page6, const pinNumbers_t &pins) |
| static bool | airConTurnsFanOn (const statuses ¤t, const config15 &page15) |
| static bool | isFanPermitted (const statuses ¤t, const config2 &page2) |
| static uint8_t | calculateDutyOnOffMode (const statuses ¤t, const config2 &page2, const config6 &page6, const config15 &page15) |
| static uint8_t | calculateDuty (const statuses ¤t, const config2 &page2, const config6 &page6, const config15 &page15) |
| TESTABLE_STATIC void | fanControlCore (statuses ¤t, const config2 &page2, const config6 &page6, const config15 &page15) |
| void | fanControl (statuses ¤t, const config2 &page2, const config6 &page6, const config15 &page15) |
| void | fanInterrupt (void) |
Variables | |
| TESTABLE_CONSTEXPR table2D_u8_u8_4 fanPWMTable & | configPage6 |
| TESTABLE_STATIC fanPwmChannel_t | _fanPwm |
|
static |
|
static |
|
static |
| void fanControl | ( | statuses & | current, |
| const config2 & | page2, | ||
| const config6 & | page6, | ||
| const config15 & | page15 | ||
| ) |
| TESTABLE_STATIC void fanControlCore | ( | statuses & | current, |
| const config2 & | page2, | ||
| const config6 & | page6, | ||
| const config15 & | page15 | ||
| ) |
| void fanInterrupt | ( | void | ) |
| void initialiseFan | ( | statuses & | current, |
| config2 & | page2, | ||
| const config6 & | page6, | ||
| const pinNumbers_t & | pins | ||
| ) |
| TESTABLE_STATIC fanPwmChannel_t _fanPwm |
|
constexpr |