LibDriver MAX31865
Loading...
Searching...
No Matches
driver_max31865_basic.h
Go to the documentation of this file.
1
37
38#ifndef DRIVER_MAX31865_BASIC_H
39#define DRIVER_MAX31865_BASIC_H
40
42
43#ifdef __cplusplus
44extern "C"{
45#endif
46
53
57#define MAX31865_BASIC_DEFAULT_FILTER_SELECT MAX31865_FILTER_SELECT_50HZ
58#define MAX31865_BASIC_DEFAULT_FAULT_DETECTION_CYCLE_CONTROL MAX31865_FAULT_DETECTION_CYCLE_CONTROL_AUTOMATIC_DELAY
59#define MAX31865_BASIC_DEFAULT_HIGH_FAULT_THRESHOLD 0xFFFEU
60#define MAX31865_BASIC_DEFAULT_LOW_FAULT_THRESHOLD 0x0000U
61
72uint8_t max31865_basic_init(max31865_wire_t wire, max31865_resistor_t type, float ref_resistor);
73
81uint8_t max31865_basic_deinit(void);
82
91uint8_t max31865_basic_read(float *temp);
92
96
97#ifdef __cplusplus
98}
99#endif
100
101#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_basic_deinit(void)
basic example deinit
uint8_t max31865_basic_init(max31865_wire_t wire, max31865_resistor_t type, float ref_resistor)
basic example init
uint8_t max31865_basic_read(float *temp)
basic example read the temperature