LibDriver MAX31856
Loading...
Searching...
No Matches
driver_max31856_shot.h
Go to the documentation of this file.
1
36
37#ifndef DRIVER_MAX31856_SHOT_H
38#define DRIVER_MAX31856_SHOT_H
39
41
42#ifdef __cplusplus
43extern "C"{
44#endif
45
50
54#define MAX31856_SHOT_DEFAULT_OPEN_CIRCUIT_DETECTION MAX31856_OPEN_CIRCUIT_DETECTION_MODE3
55#define MAX31856_SHOT_DEFAULT_FAULT_MODE MAX31856_FAULT_MODE_INTERRUPT
56#define MAX31856_SHOT_DEFAULT_NOISE_REJECTION_FILTER MAX31856_NOISE_REJECTION_FILTER_50HZ
57#define MAX31856_SHOT_DEFAULT_SAMPLE_AVERAGE MAX31856_SAMPLE_AVERAGE_16
58#define MAX31856_SHOT_DEFAULT_COLD_JUNCTION_TEMPERATURE_OFFSET 0.0f
59
69
77uint8_t max31856_shot_deinit(void);
78
88uint8_t max31856_shot_read(double *temp_deg, uint8_t *fault);
89
98uint8_t max31856_shot_read_cold_junction_temperature(double *temp_deg);
99
103
104#ifdef __cplusplus
105}
106#endif
107
108#endif
driver max31856 interface header file
max31856_thermocouple_type_t
max31856 thermocouple type enumeration definition
uint8_t max31856_shot_init(max31856_thermocouple_type_t type)
shot example init
uint8_t max31856_shot_deinit(void)
shot example deinit
uint8_t max31856_shot_read(double *temp_deg, uint8_t *fault)
shot example read the temperature
uint8_t max31856_shot_read_cold_junction_temperature(double *temp_deg)
shot example read the cold junction temperature