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

Detailed Description

MAX31855 and MAX31856 Thermocouple-to-Digital Converter driver.

http://datasheets.maximintegrated.com/en/ds/MAX31855.pdf https://www.analog.com/media/en/technical-documentation/data-sheets/MAX31856.pdf

Read-only (MAX31855), RW (MAX31956) communication over 5MHz SPI

Date
Sep 17, 2014
Author
Andrey Belomutskiy, (c) 2012-2020
Andrey Gusakov, 2024

Definition in file max3185x.cpp.

Functions

static void showEgtInfo ()
 
static void egtRead ()
 
void initMax3185x (spi_device_e device, egt_cs_array_t max31855_cs)
 
void stopMax3185x ()
 
void startMax3185x (spi_device_e device, egt_cs_array_t max31855_cs)
 

Variables

static Max3185xRead instance
 

Function Documentation

◆ egtRead()

static void egtRead ( )
static

Definition at line 548 of file max3185x.cpp.

548 {
549 instance.egtRead();
550}
static Max3185xRead instance
Definition max3185x.cpp:542

Referenced by initMax3185x().

Here is the caller graph for this function:

◆ initMax3185x()

void initMax3185x ( spi_device_e  device,
egt_cs_array_t  max31855_cs 
)

Definition at line 552 of file max3185x.cpp.

552 {
553 addConsoleAction("egtinfo", (Void) showEgtInfo);
554 addConsoleAction("egtread", (Void) egtRead);
555
556 startMax3185x(device, max31855_cs);
557}
void addConsoleAction(const char *token, Void callback)
Register console action without parameters.
void(* Void)(void)
static Lps25 device
Definition init_baro.cpp:4
static void showEgtInfo()
Definition max3185x.cpp:544
void startMax3185x(spi_device_e device, egt_cs_array_t max31855_cs)
Definition max3185x.cpp:563
static void egtRead()
Definition max3185x.cpp:548

Referenced by initEgt().

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

◆ showEgtInfo()

static void showEgtInfo ( )
static

Definition at line 544 of file max3185x.cpp.

544 {
545 instance.showEgtInfo();
546}

Referenced by initMax3185x().

Here is the caller graph for this function:

◆ startMax3185x()

void startMax3185x ( spi_device_e  device,
egt_cs_array_t  max31855_cs 
)

Definition at line 563 of file max3185x.cpp.

564{
565 instance.start(device, max31855_cs);
566}

Referenced by initMax3185x(), and startEgt().

Here is the caller graph for this function:

◆ stopMax3185x()

void stopMax3185x ( )

Definition at line 559 of file max3185x.cpp.

559 {
560 instance.stop();
561}

Referenced by stopEgt().

Here is the caller graph for this function:

Variable Documentation

◆ instance

Max3185xRead instance
static

Definition at line 542 of file max3185x.cpp.

Referenced by egtRead(), showEgtInfo(), startMax3185x(), and stopMax3185x().

Go to the source code of this file.