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

The output of a relay in the firmware: its pin, and a status message. More...

#include <utils_relay.h>

Static Public Member Functions

static void switched (const uint8_t pin, const bool on)
 Called on each change of a relay, before its state changes.
 

Detailed Description

The output of a relay in the firmware: its pin, and a status message.

Definition at line 31 of file utils_relay.h.

Member Function Documentation

◆ switched()

static void RelayPinOutput::switched ( const uint8_t pin,
const bool on )
inlinestatic

Called on each change of a relay, before its state changes.

Parameters
pinThe control pin of the relay
onThe new state

Definition at line 39 of file utils_relay.h.

Here is the call graph for this function:

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