rusEFI
The most advanced open source ECU
|
#include <Lps25Sensor.h>
Public Member Functions | |
Lps25Sensor (Lps25 &sensor) | |
void | update () |
void | showInfo (const char *sensorName) const override |
![]() | |
SensorResult | get () const final override |
StoredValueSensor (SensorType type, efidur_t timeoutNt) | |
void | invalidate () |
void | invalidate (UnexpectedCode why) |
void | setValidValue (float value, efitick_t timestamp) |
void | showInfo (const char *sensorName) const override |
virtual void | setTimeout (int timeoutMs) |
![]() | |
bool | Register () |
const char * | getSensorName () const |
virtual bool | hasSensor () const |
virtual float | getRaw () const |
virtual bool | isRedundant () const |
void | unregister () |
SensorType | type () const |
Private Attributes | |
Lps25 * | m_sensor |
Additional Inherited Members | |
![]() | |
static void | showAllSensorInfo () |
static void | showInfo (SensorType type) |
static void | resetRegistry () |
static const Sensor * | getSensorOfType (SensorType type) |
static SensorResult | get (SensorType type) |
static float | getOrZero (SensorType type) |
static float | getRaw (SensorType type) |
static bool | isRedundant (SensorType type) |
static bool | hasSensor (SensorType type) |
static void | setMockValue (SensorType type, float value, bool mockRedundant=false) |
static void | setInvalidMockValue (SensorType type) |
static void | resetMockValue (SensorType type) |
static void | resetAllMocks () |
static void | inhibitTimeouts (bool inhibit) |
static const char * | getSensorName (SensorType type) |
![]() | |
Sensor (SensorType type) | |
![]() | |
static bool | s_inhibitSensorTimeouts = false |
Definition at line 6 of file Lps25Sensor.h.
|
explicit |
Definition at line 9 of file Lps25Sensor.cpp.
|
overridevirtual |
Implements Sensor.
Definition at line 78 of file sensor_info_printing.cpp.
void Lps25Sensor::update | ( | ) |
Definition at line 15 of file Lps25Sensor.cpp.
Referenced by baroLps25Update().
|
private |
Definition at line 14 of file Lps25Sensor.h.
Referenced by update().