|
3-phase PV router
|
Wrapper for a list of pins, constructible from variadic arguments. More...
#include <config_types.h>

Public Member Functions | |
| constexpr | PinList () |
| Default constructor. Initializes with zero pins. | |
| template<typename... Args> | |
| constexpr | PinList (Args... args) |
| Variadic constructor. Initializes with provided pins. | |
| constexpr | PinList (uint16_t bitmask) |
| Constructor from local-only bitmask. | |
| constexpr | PinList (uint32_t bitmask) |
| Constructor from combined bitmask. Extracts both local and remote pins. | |
| constexpr uint16_t | toLocalBitmask () const |
| Converts the pin list to a bitmask for local/physical pins only. | |
| constexpr uint8_t | toRemoteBitmask () const |
| Converts the pin list to a bitmask for remote loads only. | |
Public Attributes | |
| uint8_t | count |
| uint8_t | pins [MaxPins] |
Wrapper for a list of pins, constructible from variadic arguments.
| MaxPins | Maximum number of pins supported. |
Supports both physical pins (0-127) and virtual pins for remote loads (128+). Virtual pins are created using REMOTE_LOAD(n) which returns REMOTE_PIN_BASE + n.
Definition at line 157 of file config_types.h.
Default constructor. Initializes with zero pins.
Definition at line 165 of file config_types.h.
Constructor from local-only bitmask.
| bitmask | Local pin bitmask (bits 0-15 correspond to physical pins). |
Definition at line 172 of file config_types.h.
Constructor from combined bitmask. Extracts both local and remote pins.
| bitmask | Combined bitmask value:
|
Definition at line 190 of file config_types.h.
|
inlineconstexpr |
Variadic constructor. Initializes with provided pins.
| args | List of pins (can include both physical and virtual pins). |
Definition at line 216 of file config_types.h.
|
inlineconstexpr |
Converts the pin list to a bitmask for local/physical pins only.
Definition at line 223 of file config_types.h.

|
inlineconstexpr |
Converts the pin list to a bitmask for remote loads only.
Definition at line 241 of file config_types.h.

| uint8_t PinList< MaxPins >::count |
Definition at line 160 of file config_types.h.
| uint8_t PinList< MaxPins >::pins[MaxPins] |
Definition at line 159 of file config_types.h.