|
3-phase PV router
|
The override pins, as in config.h: each pin with the targets it forces. More...
#include <config_types.h>

Public Member Functions | |
| constexpr | OverridePins (const KeyIndexPair< MaxPins >(&pairs)[N]) |
| The override pins, from a list of { pin, targets }. | |
| constexpr uint8_t | getPin (const uint8_t index) const |
The override pin at index (0 if out of range). | |
| constexpr const PinList< MaxPins > & | getTargets (const uint8_t index) const |
The targets of the override pin at index, as codes. | |
| constexpr uint8_t | size () const |
| Number of override pins. | |
Private Member Functions | |
| template<uint8_t... I> | |
| constexpr | OverridePins (const KeyIndexPair< MaxPins >(&pairs)[N], index_sequence< I... >) |
Private Attributes | |
| const KeyIndexPair< MaxPins > | entries_ [N] |
The override pins, as in config.h: each pin with the targets it forces.
The targets stay codes here; OverrideTable (utils_override.h) holds what they force.
| N | Number of override pins. |
| MaxPins | Maximum number of targets per pin. |
Definition at line 305 of file config_types.h.
|
inlineconstexpr |
The override pins, from a list of { pin, targets }.
Definition at line 309 of file config_types.h.


|
inlineconstexprprivate |
Definition at line 334 of file config_types.h.
|
inlineconstexpr |
The override pin at index (0 if out of range).
Definition at line 321 of file config_types.h.

|
inlineconstexpr |
The targets of the override pin at index, as codes.
Definition at line 327 of file config_types.h.

|
inlineconstexpr |
Number of override pins.
Definition at line 315 of file config_types.h.
|
private |
the pins and their targets
Definition at line 339 of file config_types.h.