rusEFI
The most advanced open source ECU
Loading...
Searching...
No Matches
Functions | Variables
init_egt.cpp File Reference

Functions

void initEgt ()
 
void stopEgt ()
 
void startEgt ()
 

Variables

static AemXSeriesEgt aemEgt1 (0, SensorType::EGT1)
 
static AemXSeriesEgt aemEgt2 (1, SensorType::EGT2)
 
static AemXSeriesEgt aemEgt3 (2, SensorType::EGT3)
 
static AemXSeriesEgt aemEgt4 (3, SensorType::EGT4)
 
static AemXSeriesEgt aemEgt5 (4, SensorType::EGT5)
 
static AemXSeriesEgt aemEgt6 (5, SensorType::EGT6)
 

Function Documentation

◆ initEgt()

void initEgt ( )

Definition at line 16 of file init_egt.cpp.

16 {
17#if EFI_CAN_SUPPORT
20 criticalError("CAN read is required to use CAN EGT.");
21 return;
22 }
23
30
31 return;
32 }
33#endif
34
35#if EFI_MAX_31855
37#endif /* EFI_MAX_31855 */
38}
void registerCanSensor(CanSensorBase &sensor)
Definition can_rx.cpp:92
static constexpr engine_configuration_s * engineConfiguration
static AemXSeriesEgt aemEgt5(4, SensorType::EGT5)
static AemXSeriesEgt aemEgt6(5, SensorType::EGT6)
static AemXSeriesEgt aemEgt2(1, SensorType::EGT2)
static AemXSeriesEgt aemEgt1(0, SensorType::EGT1)
static AemXSeriesEgt aemEgt4(3, SensorType::EGT4)
static AemXSeriesEgt aemEgt3(2, SensorType::EGT3)
void initMax3185x(spi_device_e device, egt_cs_array_t max31855_cs)
Definition max3185x.cpp:552

Referenced by initNewSensors().

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

◆ startEgt()

void startEgt ( )

Definition at line 47 of file init_egt.cpp.

47 {
48 /* TODO: also start CAN sensors */
49#if EFI_MAX_31855
51#else
52 criticalAssertVoid(SPI_NONE == engineConfiguration->max31855spiDevice, "not EFI_MAX_31855");
53#endif /* EFI_MAX_31855 */
54}
void startMax3185x(spi_device_e device, egt_cs_array_t max31855_cs)
Definition max3185x.cpp:563

Referenced by reconfigureSensors().

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

◆ stopEgt()

void stopEgt ( )

Definition at line 40 of file init_egt.cpp.

40 {
41 /* TODO: also stop CAN sensors */
42#if EFI_MAX_31855
44#endif /* EFI_MAX_31855 */
45}
void stopMax3185x()
Definition max3185x.cpp:559

Referenced by stopSensors().

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

Variable Documentation

◆ aemEgt1

AemXSeriesEgt aemEgt1(0, SensorType::EGT1) ( ,
SensorType::EGT1   
)
static

Referenced by initEgt().

◆ aemEgt2

AemXSeriesEgt aemEgt2(1, SensorType::EGT2) ( ,
SensorType::EGT2   
)
static

Referenced by initEgt().

◆ aemEgt3

AemXSeriesEgt aemEgt3(2, SensorType::EGT3) ( ,
SensorType::EGT3   
)
static

Referenced by initEgt().

◆ aemEgt4

AemXSeriesEgt aemEgt4(3, SensorType::EGT4) ( ,
SensorType::EGT4   
)
static

Referenced by initEgt().

◆ aemEgt5

AemXSeriesEgt aemEgt5(4, SensorType::EGT5) ( ,
SensorType::EGT5   
)
static

Referenced by initEgt().

◆ aemEgt6

AemXSeriesEgt aemEgt6(5, SensorType::EGT6) ( ,
SensorType::EGT6   
)
static

Referenced by initEgt().

Go to the source code of this file.