|
3-phase PV router
|
The relays, as in config.h: the sliding average and the settings of each relay. More...
#include <config_types.h>


Public Member Functions | |
| constexpr | RelayEngine (const RelaySetting(&ref)[N]) |
| The relays, with the default sliding average. | |
| template<uint16_t V> | |
| constexpr | RelayEngine (integral_constant< uint16_t, V >, const RelaySetting(&ref)[N]) |
| The relays, with a sliding average given with MINUTES(). | |
| constexpr | RelayEngine (integral_constant< uint8_t, D >, const RelaySetting(&ref)[N]) |
| The relays, with a sliding average given as an integral_constant< uint8_t >. | |
| constexpr const RelaySetting & | get_relay (const uint8_t idx) const |
The settings of relay idx. | |
| constexpr uint8_t | size () const |
| Number of relays. | |
Static Public Member Functions | |
| static constexpr uint8_t | filterDelay () |
| Duration of the sliding average, in minutes: D, the one the relay engine uses. | |
Private Member Functions | |
| template<uint8_t... I> | |
| constexpr | RelayEngine (const RelaySetting(&ref)[N], index_sequence< I... >) |
Private Attributes | |
| const RelaySetting | relay_ [N] |
The relays, as in config.h: the sliding average and the settings of each relay.
RelayDiverter (utils_relay.h) is the engine built from them.
| N | Number of relays. |
| D | Duration of the sliding average, in minutes (RELAY_FILTER_DELAY). |
Definition at line 647 of file config_types.h.
|
inlineexplicitconstexpr |
The relays, with the default sliding average.
Definition at line 651 of file config_types.h.


|
inlineconstexpr |
The relays, with a sliding average given as an integral_constant< uint8_t >.
Definition at line 657 of file config_types.h.

|
inlineconstexpr |
The relays, with a sliding average given with MINUTES().
Definition at line 664 of file config_types.h.

|
inlineconstexprprivate |
Definition at line 691 of file config_types.h.
|
inlinestaticconstexpr |
Duration of the sliding average, in minutes: D, the one the relay engine uses.
Definition at line 678 of file config_types.h.
|
inlineconstexpr |
The settings of relay idx.
Definition at line 684 of file config_types.h.
|
inlineconstexpr |
Number of relays.
Definition at line 672 of file config_types.h.
|
private |
the settings of each relay
Definition at line 696 of file config_types.h.