DIY Auto-Correlator 1.0
Auto-Correlator Card implementation using Teensy 4.x microcontrollers.
Public Types | Public Member Functions | Public Attributes | List of all members
MonitorChannel< false > Class Reference

Specialization -> Counter Monitor (degenerated mean monitor). More...

#include <monitor_channel.hpp>

Public Types

using AccumulateType = uint32_t
 

Public Member Functions

void push_back () __attribute__((always_inline))
 
float_t mean () const __attribute__((always_inline))
 
AccumulateType accumulate () const __attribute__((always_inline))
 Returns the accumulate so far, which is the same as 'Count`. More...
 
void reset ()
 

Public Attributes

volatile uint32_t Count = 0
 Count of the received values (Initialized to prevent DivideByZero error) More...
 

Detailed Description

Specialization -> Counter Monitor (degenerated mean monitor).

Member Typedef Documentation

◆ AccumulateType

using MonitorChannel< false >::AccumulateType = uint32_t

Member Function Documentation

◆ accumulate()

AccumulateType MonitorChannel< false >::accumulate ( ) const
inline

Returns the accumulate so far, which is the same as 'Count`.

◆ mean()

float_t MonitorChannel< false >::mean ( ) const
inline

Returns a mean value of 1.0.

◆ push_back()

void MonitorChannel< false >::push_back ( )
inline

Increments the Count.

◆ reset()

void MonitorChannel< false >::reset ( )
inline

Member Data Documentation

◆ Count

volatile uint32_t MonitorChannel< false >::Count = 0

Count of the received values (Initialized to prevent DivideByZero error)


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