Lamp-Da 0.1
A compact lantern project
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
lampda::logic::user_signals::detail::Slot Struct Reference

Rate limiting state of one signal. More...

#include <user_signals.h>

Public Member Functions

constexpr Slot (const char *signalName, const uint8_t valueCount, const bool skipRepeats)
 

Public Attributes

const char * name
 
uint8_t count
 
bool dedupe
 Do not send a value equal to the latest sent one.
 
bool pending = false
 A value is waiting to be sent.
 
bool force = false
 The pending value must be sent even if equal to the latest sent one.
 
bool hasSent = false
 At least one value was sent.
 
uint32_t sent [maxValues] = {0, 0}
 Latest sent values.
 
uint32_t pendingValues [maxValues] = {0, 0}
 Latest requested values.
 
uint32_t sentTimeMs = 0
 Time of the latest send.
 

Detailed Description

Rate limiting state of one signal.


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