3-phase PV router
Loading...
Searching...
No Matches
RemoteUnitState Struct Reference

Transmission bookkeeping for one remote unit. More...

#include <remote_loads_core.h>

Public Attributes

uint8_t cyclesSinceLastUpdate { 0 }
 
volatile bool pendingTransmission { false }
 
uint8_t previousBitmask { 0 }
 
uint8_t tx_data { 0 }
 

Detailed Description

Transmission bookkeeping for one remote unit.

Definition at line 76 of file remote_loads_core.h.

Member Data Documentation

◆ cyclesSinceLastUpdate

uint8_t RemoteUnitState::cyclesSinceLastUpdate { 0 }

mains cycles elapsed since the last transmission

Definition at line 79 of file remote_loads_core.h.

◆ pendingTransmission

volatile bool RemoteUnitState::pendingTransmission { false }

a send is due; set in the ISR, cleared in loop()

Definition at line 81 of file remote_loads_core.h.

◆ previousBitmask

uint8_t RemoteUnitState::previousBitmask { 0 }

last transmitted payload, for change detection

Definition at line 80 of file remote_loads_core.h.

◆ tx_data

uint8_t RemoteUnitState::tx_data { 0 }

payload to be sent: bitmask of this unit's loads

Definition at line 78 of file remote_loads_core.h.


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