21 lines
397 B
C
21 lines
397 B
C
/**
|
|
* @file hip9011.h
|
|
* @brief HIP9011/TPIC8101 driver
|
|
*
|
|
* @date Nov 27, 2013
|
|
* @author Andrey Belomutskiy, (c) 2012-2020
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#define HIP_THREAD_PERIOD 100
|
|
|
|
void initHip9011();
|
|
void startHip9001_pins();
|
|
void stopHip9001_pins();
|
|
#if HAL_USE_ADC
|
|
void hipAdcCallback(adcsample_t value);
|
|
#endif /* HAL_USE_ADC */
|
|
|
|
void hip9011_onFireEvent(uint8_t cylinderNumber, efitick_t nowNt);
|