2020-07-19 14:42:11 -07:00
|
|
|
/*
|
|
|
|
* @file logicdata.h
|
|
|
|
*
|
|
|
|
* Created on: Jul 19, 2020
|
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
|
|
*/
|
|
|
|
|
|
|
|
#pragma once
|
|
|
|
|
|
|
|
struct CompositeEvent {
|
|
|
|
int timestamp;
|
|
|
|
bool primaryTrigger;
|
|
|
|
bool secondaryTrigger;
|
2020-07-20 09:45:26 -07:00
|
|
|
bool isTDC;
|
2020-07-19 14:42:11 -07:00
|
|
|
bool sync;
|
|
|
|
bool coil;
|
|
|
|
bool injector;
|
|
|
|
};
|
|
|
|
|
2020-07-19 18:30:49 -07:00
|
|
|
void writeFile(const char * fileName, CompositeEvent *events, int count);
|