2015-07-10 06:01:56 -07:00
|
|
|
/**
|
|
|
|
* @file max31855.h
|
|
|
|
*
|
|
|
|
* @date Sep 17, 2014
|
2019-05-03 18:54:38 -07:00
|
|
|
* @author Andrey Belomutskiy, (c) 2012-2019
|
2015-07-10 06:01:56 -07:00
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef MAX31855_H_
|
|
|
|
#define MAX31855_H_
|
|
|
|
|
2018-09-16 19:26:57 -07:00
|
|
|
#include "global.h"
|
2015-07-10 06:01:56 -07:00
|
|
|
#include "engine_configuration.h"
|
|
|
|
|
2019-04-12 17:52:51 -07:00
|
|
|
#if HAL_USE_SPI
|
2019-03-25 19:41:31 -07:00
|
|
|
void initMax31855(Logging *sharedLogger, spi_device_e device, egt_cs_array_t max31855_cs);
|
2018-11-16 04:40:06 -08:00
|
|
|
#endif /* HAL_USE_SPI */
|
|
|
|
|
2015-07-10 06:01:56 -07:00
|
|
|
uint16_t getEgtValue(int egtChannel);
|
|
|
|
|
|
|
|
#endif /* MAX31855_H_ */
|