rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
digital_input_exti.h
Go to the documentation of this file.
1/*
2 * @file digital_input_exti.h
3 *
4 * Created on: Dec 18, 2018
5 * @author Andrey Belomutskiy, (c) 2012-2020
6 */
7
8#pragma once
9
10#if HAL_USE_PAL
11
12using ExtiCallback = void(*)(void*, efitick_t);
13
14void efiExtiInit();
15int efiExtiEnablePin(const char *msg, brain_pin_e pin, uint32_t mode, ExtiCallback cb, void *cb_data);
16void efiExtiDisablePin(brain_pin_e brainPin);
18#endif /* HAL_USE_PAL */
void efiExtiInit()
void(*)(void *, efitick_t) ExtiCallback
uint8_t getExtiOverflowCounter()
void efiExtiDisablePin(brain_pin_e brainPin)
int efiExtiEnablePin(const char *msg, brain_pin_e pin, uint32_t mode, ExtiCallback cb, void *cb_data)
brain_pin_e pin
Definition stm32_adc.cpp:15