|
DIY Auto-Correlator 1.0
Auto-Correlator Card implementation using Teensy 4.x microcontrollers.
|
#include "global.hpp"
Variables | |
| MultiTauACorrRTTeensy< LIN_CORRS, SERIES_SIZE, BIN_RATIO > | multitau |
| PITController< PIT_CHANNEL_IN_USE > | PI_t |
| PI_t Resource. More... | |
| TMR1Controller | TTL_c |
| TTL_c Resource. More... | |
| volatile counter_t | Counter_val = 0 |
| Stores the value read from the counter. More... | |
| volatile bool | Update_flag = false |
| Indicates if a new value has arrived from the counting module. More... | |
| volatile unsigned int | Update_count = 0 |
| Stores the number of updates made on the correlator channels since the last serialout. More... | |
| uint32_t | SerialOut_After = 100 |
| const double | Gate_time_us = GATE_TIME_US |
| Serial output is done after these many updates (default → overriden in the setup function). More... | |
| const double | Allowed_period_error_us = ALLOWED_GATE_TIME_ERROR_US |
| The gate time of TTL_C in microseconds (us) More... | |
| const int32_t | sync_code = SYNC_CODE |
| Gate time precision error due to finite precision of timers. More... | |
| float | array [CHANNEL_SIZE] = {0} |
| const double Allowed_period_error_us = ALLOWED_GATE_TIME_ERROR_US |
The gate time of TTL_C in microseconds (us)
| float array[CHANNEL_SIZE] = {0} |
| volatile counter_t Counter_val = 0 |
Stores the value read from the counter.
| const double Gate_time_us = GATE_TIME_US |
Serial output is done after these many updates (default → overriden in the setup function).
| MultiTauACorrRTTeensy<LIN_CORRS, SERIES_SIZE, BIN_RATIO> multitau |
PI_t Resource.
| uint32_t SerialOut_After = 100 |
| const int32_t sync_code = SYNC_CODE |
Gate time precision error due to finite precision of timers.
| TMR1Controller TTL_c |
TTL_c Resource.
| volatile unsigned int Update_count = 0 |
Stores the number of updates made on the correlator channels since the last serialout.
| volatile bool Update_flag = false |
Indicates if a new value has arrived from the counting module.