3-phase PV router
Loading...
Searching...
No Matches
Load::OverrideMasks< N > Struct Template Reference

Override bit of each load, in the local or in the remote override bitmask. More...

#include <load_map.h>

Public Attributes

uint16_t local [N]
 
uint8_t remote [N]
 

Detailed Description

template<uint8_t N>
struct Load::OverrideMasks< N >

Override bit of each load, in the local or in the remote override bitmask.

Built at compile time, so that the ISR tests a load's override with a mask instead of shifting by its pin (a loop on AVR) or counting its remote ordinal.

Definition at line 215 of file load_map.h.

Member Data Documentation

◆ local

template<uint8_t N>
uint16_t Load::OverrideMasks< N >::local[N]

bit of the load's pin in the local override bitmask, 0 for a remote load

Definition at line 217 of file load_map.h.

◆ remote

template<uint8_t N>
uint8_t Load::OverrideMasks< N >::remote[N]

bit of the load's ordinal in the remote override bitmask, 0 for a local load

Definition at line 218 of file load_map.h.


The documentation for this struct was generated from the following file: