rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
controllers
sensors
impl
map.h
Go to the documentation of this file.
1
/**
2
* @file map.h
3
*
4
* @author Andrey Belomutskiy, (c) 2012-2020
5
*/
6
7
#pragma once
8
9
10
struct
air_pressure_sensor_config_s
;
11
12
void
initMapDecoder
();
13
14
#define KPA_PER_PSI 6.89475728f
15
16
#define PSI2KPA(psi) (KPA_PER_PSI * (psi))
17
18
#define BAR2KPA(bar) (100 * (bar))
19
#define KPA2BAR(kpa) (0.01f * (kpa))
20
21
#define STD_ATMOSPHERE 101.32500411216164f
22
23
// PSI (relative to atmosphere) to kPa (relative to vacuum)
24
#define PSI2KPA_RELATIVE(psi) (STD_ATMOSPHERE + PSI2KPA(psi))
25
26
#define INHG2KPA(inhg) ((inhg) * 3.386375f)
27
#define KPA2INHG(kpa) ((kpa) / 3.386375f)
28
initMapDecoder
void initMapDecoder()
Definition
map.cpp:66
air_pressure_sensor_config_s
Definition
engine_configuration_generated_structures_alphax-2chan.h:391
Generated on Fri Sep 26 2025 00:10:15 for rusEFI by
1.9.8