LibDriver MAX31865
Loading...
Searching...
No Matches
driver_max31865_shot.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_MAX31865_SHOT_H
39#define DRIVER_MAX31865_SHOT_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
51
55#define MAX31865_SHOT_DEFAULT_FILTER_SELECT MAX31865_FILTER_SELECT_50HZ
56#define MAX31865_SHOT_DEFAULT_FAULT_DETECTION_CYCLE_CONTROL MAX31865_FAULT_DETECTION_CYCLE_CONTROL_AUTOMATIC_DELAY
57#define MAX31865_SHOT_DEFAULT_HIGH_FAULT_THRESHOLD 0xFFFEU
58#define MAX31865_SHOT_DEFAULT_LOW_FAULT_THRESHOLD 0x0000U
59
70uint8_t max31865_shot_init(max31865_wire_t wire, max31865_resistor_t type, float ref_resistor);
71
79uint8_t max31865_shot_deinit(void);
80
89uint8_t max31865_shot_read(float *temp);
90
94
95#ifdef __cplusplus
96}
97#endif
98
99#endif
driver max31865 interface header file
max31865_resistor_t
max31865 resistor type enumeration definition
max31865_wire_t
max31865 wire type enumeration definition
uint8_t max31865_shot_deinit(void)
shot example deinit
uint8_t max31865_shot_read(float *temp)
shot example read the temperature
uint8_t max31865_shot_init(max31865_wire_t wire, max31865_resistor_t type, float ref_resistor)
shot example init