2015-07-10 06:01:56 -07:00
|
|
|
/**
|
2019-12-03 22:11:10 -08: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
|
|
|
*/
|
|
|
|
|
2019-12-03 21:22:34 -08: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
|
|
|
|
2019-12-03 22:11:10 -08: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
|
|
|
|
2021-04-21 11:28:48 -07:00
|
|
|
void initWaveAnalyzer();
|
2020-12-07 17:01:05 -08:00
|
|
|
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);
|
2020-12-15 11:52:48 -08:00
|
|
|
void reportLogicAnalyzerToTS(void);
|
2015-07-10 06:01:56 -07:00
|
|
|
|
2021-11-16 01:15:29 -08:00
|
|
|
void waTriggerEventListener(trigger_event_e ckpSignalType, uint32_t index, efitick_t edgeTimestamp);
|
2020-10-17 05:00:11 -07:00
|
|
|
|
2019-12-03 22:11:10 -08:00
|
|
|
#endif /* EFI_LOGIC_ANALYZER */
|
2015-07-10 06:01:56 -07:00
|
|
|
|