Bluenet
5.7.0
Bluenet, firmware for nRF52 smart home devices
|
Check if the temperature exceeds a certain threshold. More...
#include <cs_TemperatureGuard.h>
Public Member Functions | |
void | init (const boards_config_t &boardConfig) |
void | tick () |
void | scheduleNextTick () |
void | start () |
void | stop () |
void | handleCompEvent (CompEvent_t event) |
Static Public Member Functions | |
static TemperatureGuard & | getInstance () |
Gets a static singleton (no dynamic memory allocation) More... | |
static void | staticTick (TemperatureGuard *ptr) |
Private Member Functions | |
TemperatureGuard () | |
Constructor. More... | |
TemperatureGuard (TemperatureGuard const &) | |
This class is singleton, deny implementation. More... | |
void | operator= (TemperatureGuard const &) |
This class is singleton, deny implementation. More... | |
TYPIFY (CONFIG_MAX_CHIP_TEMP) _maxChipTemp | |
Private Attributes | |
app_timer_t | _appTimerData |
app_timer_id_t | _appTimerId |
COMP * | _comp |
CS_TYPE | _lastChipTempEvent |
CS_TYPE | _lastPwmTempEvent |
bool | _dimmerTempInverted |
Check if the temperature exceeds a certain threshold.
|
private |
Constructor.
|
private |
This class is singleton, deny implementation.
|
inlinestatic |
Gets a static singleton (no dynamic memory allocation)
void TemperatureGuard::handleCompEvent | ( | CompEvent_t | event | ) |
void TemperatureGuard::init | ( | const boards_config_t & | boardConfig | ) |
|
private |
This class is singleton, deny implementation.
void TemperatureGuard::scheduleNextTick | ( | ) |
void TemperatureGuard::start | ( | ) |
|
inlinestatic |
void TemperatureGuard::stop | ( | ) |
void TemperatureGuard::tick | ( | ) |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |