fome-fw/firmware/development/logic_analyzer.h

27 lines
510 B
C
Raw Normal View History

2015-07-10 06:01:56 -07:00
/**
* @file logic_analyzer.h
2015-07-10 06:01:56 -07:00
*
* @date Jan 7, 2013
2020-01-07 21:02:40 -08:00
* @author Andrey Belomutskiy, (c) 2012-2020
2015-07-10 06:01:56 -07:00
*/
#pragma once
2015-07-10 06:01:56 -07:00
2018-09-16 19:26:57 -07:00
#include "global.h"
2015-07-10 06:01:56 -07:00
#if EFI_LOGIC_ANALYZER
2015-07-10 06:01:56 -07:00
2015-07-15 18:01:45 -07:00
#include "engine_sniffer.h"
2015-07-10 06:01:56 -07:00
void initWaveAnalyzer();
void startLogicAnalyzerPins();
void stopLogicAnalyzerPins();
2015-07-10 06:01:56 -07:00
void printWave(Logging *logging);
2017-01-12 06:02:19 -08:00
void showWaveInfo(void);
void reportLogicAnalyzerToTS(void);
2015-07-10 06:01:56 -07:00
void waTriggerEventListener(trigger_event_e ckpSignalType, uint32_t index, efitick_t edgeTimestamp);
#endif /* EFI_LOGIC_ANALYZER */
2015-07-10 06:01:56 -07:00