3#include "Lin_CrossCorr_RT_Base.hpp"
9template <index_t Series_size>
35 for(
unsigned int i = 0; i <= Series_size; i++)
51 for (
int i = 0; i < size; i++)
61 double inline norm(
unsigned int lag) {
return 1;}
76 #pragma unroll Series_size
77 for(
unsigned int i = 0; i < Series_size; i++)
This is an implementation of Lin_ACorr_RT_Base for Teensy with (No normalisation or baseline subtract...
Definition: Lin_CrossCorr_RT_Teensy.hpp:11
counter_t Channel_array21[Series_size]
Stores the Channel output - 12.
Definition: Lin_CrossCorr_RT_Teensy.hpp:16
Simpler_Circular_Buffer< counter_t, Series_size > Series_array1
Stores the Channel output - 21.
Definition: Lin_CrossCorr_RT_Teensy.hpp:20
void __attribute__((flatten)) push_data(const counter_t *container1
void __attribute__((flatten)) push_datum(counter_t datum1
Stores the last active index → Post-increment.
Simpler_Circular_Buffer< counter_t, Series_size > Series_array2
Definition: Lin_CrossCorr_RT_Teensy.hpp:21
index_t Series_index2
Stores the last active index → Post-increment.
Definition: Lin_CrossCorr_RT_Teensy.hpp:25
void const counter_t * container2
Definition: Lin_CrossCorr_RT_Teensy.hpp:48
counter_t Channel_array12[Series_size]
Definition: Lin_CrossCorr_RT_Teensy.hpp:15
index_t Series_index1
Definition: Lin_CrossCorr_RT_Teensy.hpp:24
Definition: simpler_circular_buffer.hpp:6
uint32_t counter_t
Data type received from the pulse counter. It is the fundamental type used for representing series da...
Definition: types.hpp:7
uint_fast8_t index_t
It is used as the array indices and thus determine the maximum size of the Channel_array and the Seri...
Definition: types.hpp:10