rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions
allsensors.h File Reference

Detailed Description

This file should have been called 'sensors.h' but there is some conflict with standard win32 header :(.

Date
Nov 15, 2013
Author
Andrey Belomutskiy, (c) 2012-2020

Definition in file allsensors.h.

Functions

void initSensors ()
 
bool hasAcToggle ()
 
bool getAcToggle ()
 

Function Documentation

◆ getAcToggle()

bool getAcToggle ( )

Definition at line 19 of file allsensors.cpp.

19 {
20 return acDebounce.readPinState();
21}
ButtonDebounce acDebounce("ac_switch")
bool readPinState()

Referenced by Engine::updateSwitchInputs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ hasAcToggle()

bool hasAcToggle ( )

Definition at line 23 of file allsensors.cpp.

23 {
25}
static constexpr engine_configuration_s * engineConfiguration
bool isBrainPinValid(brain_pin_e brainPin)

Referenced by Engine::updateSwitchInputs().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ initSensors()

void initSensors ( )

Definition at line 14 of file allsensors.cpp.

14 {
17}
void init(efitimems_t threshold, brain_pin_e &pin, pin_input_mode_e &mode, bool inverted=false)
Definition debounce.cpp:23
void initMapDecoder()
Definition map.cpp:66

Referenced by commonInitEngineController().

Here is the call graph for this function:
Here is the caller graph for this function:

Go to the source code of this file.