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

A number of minutes: the unit of the scheduled boosts, built with HOURS() or MINUTES(). More...

#include <config_types.h>

Public Member Functions

constexpr Minutes (const uint16_t v)
 v minutes: explicit, so that a bare number is not taken for a duration.
 
template<uint16_t V>
constexpr Minutes (integral_constant< uint16_t, V >)
 From MINUTES() or HOURS() (type_traits.hpp), the same macros as for the relays.
 

Public Attributes

uint16_t value
 

Detailed Description

A number of minutes: the unit of the scheduled boosts, built with HOURS() or MINUTES().

Definition at line 351 of file config_types.h.

Constructor & Destructor Documentation

◆ Minutes() [1/2]

Minutes::Minutes ( const uint16_t v)
inlineexplicitconstexpr

v minutes: explicit, so that a bare number is not taken for a duration.

Definition at line 356 of file config_types.h.

◆ Minutes() [2/2]

template<uint16_t V>
Minutes::Minutes ( integral_constant< uint16_t, V > )
inlineconstexpr

From MINUTES() or HOURS() (type_traits.hpp), the same macros as for the relays.

Definition at line 361 of file config_types.h.

Member Data Documentation

◆ value

uint16_t Minutes::value

Definition at line 353 of file config_types.h.


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