![]() |
LibDriver MAX31856
|
max31856 example driver modules More...
Functions | |
| uint8_t | max31856_basic_init (max31856_thermocouple_type_t type) |
| basic example init | |
| uint8_t | max31856_basic_deinit (void) |
| basic example deinit | |
| uint8_t | max31856_basic_read (double *temp_deg, uint8_t *fault) |
| basic example read the temperature | |
| uint8_t | max31856_basic_read_cold_junction_temperature (double *temp_deg) |
| basic example read the cold junction temperature | |
| uint8_t | max31856_interrupt_irq_handler (void) |
| interrupt irq callback | |
| uint8_t | max31856_interrupt_init (max31856_thermocouple_type_t type, float cold_junction_low_fault_threshold_deg, float cold_junction_high_fault_threshold_deg, float temperature_low_fault_threshold_deg, float temperature_high_fault_threshold_deg, void(*callback)(uint8_t type)) |
| interrupt example init | |
| uint8_t | max31856_interrupt_deinit (void) |
| interrupt example deinit | |
| uint8_t | max31856_interrupt_read (double *temp_deg, uint8_t *fault) |
| interrupt example read the temperature | |
| uint8_t | max31856_interrupt_read_cold_junction_temperature (double *temp_deg) |
| interrupt example read the cold junction temperature | |
| 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 | |
max31856 example driver modules
| #define MAX31856_BASIC_DEFAULT_COLD_JUNCTION_TEMPERATURE_OFFSET 0.0f |
Definition at line 60 of file driver_max31856_basic.h.
| #define MAX31856_BASIC_DEFAULT_FAULT_MODE MAX31856_FAULT_MODE_INTERRUPT |
interrupt mode
Definition at line 57 of file driver_max31856_basic.h.
| #define MAX31856_BASIC_DEFAULT_NOISE_REJECTION_FILTER MAX31856_NOISE_REJECTION_FILTER_50HZ |
50hz
Definition at line 58 of file driver_max31856_basic.h.
| #define MAX31856_BASIC_DEFAULT_OPEN_CIRCUIT_DETECTION MAX31856_OPEN_CIRCUIT_DETECTION_MODE3 |
max31856 basic example default definition
113.4ms / 140ms
Definition at line 56 of file driver_max31856_basic.h.
| #define MAX31856_BASIC_DEFAULT_SAMPLE_AVERAGE MAX31856_SAMPLE_AVERAGE_16 |
16 samples
Definition at line 59 of file driver_max31856_basic.h.
| #define MAX31856_INTERRUPT_DEFAULT_COLD_JUNCTION_TEMPERATURE_OFFSET 0.0f |
Definition at line 58 of file driver_max31856_interrupt.h.
| #define MAX31856_INTERRUPT_DEFAULT_FAULT_MODE MAX31856_FAULT_MODE_INTERRUPT |
interrupt mode
Definition at line 55 of file driver_max31856_interrupt.h.
| #define MAX31856_INTERRUPT_DEFAULT_NOISE_REJECTION_FILTER MAX31856_NOISE_REJECTION_FILTER_50HZ |
50hz
Definition at line 56 of file driver_max31856_interrupt.h.
| #define MAX31856_INTERRUPT_DEFAULT_OPEN_CIRCUIT_DETECTION MAX31856_OPEN_CIRCUIT_DETECTION_MODE3 |
max31856 interrupt example default definition
113.4ms / 140ms
Definition at line 54 of file driver_max31856_interrupt.h.
| #define MAX31856_INTERRUPT_DEFAULT_SAMPLE_AVERAGE MAX31856_SAMPLE_AVERAGE_16 |
16 samples
Definition at line 57 of file driver_max31856_interrupt.h.
| #define MAX31856_SHOT_DEFAULT_COLD_JUNCTION_TEMPERATURE_OFFSET 0.0f |
Definition at line 58 of file driver_max31856_shot.h.
| #define MAX31856_SHOT_DEFAULT_FAULT_MODE MAX31856_FAULT_MODE_INTERRUPT |
interrupt mode
Definition at line 55 of file driver_max31856_shot.h.
| #define MAX31856_SHOT_DEFAULT_NOISE_REJECTION_FILTER MAX31856_NOISE_REJECTION_FILTER_50HZ |
50hz
Definition at line 56 of file driver_max31856_shot.h.
| #define MAX31856_SHOT_DEFAULT_OPEN_CIRCUIT_DETECTION MAX31856_OPEN_CIRCUIT_DETECTION_MODE3 |
max31856 shot example default definition
113.4ms / 140ms
Definition at line 54 of file driver_max31856_shot.h.
| #define MAX31856_SHOT_DEFAULT_SAMPLE_AVERAGE MAX31856_SAMPLE_AVERAGE_16 |
16 samples
Definition at line 57 of file driver_max31856_shot.h.
| uint8_t max31856_basic_deinit | ( | void | ) |
basic example deinit
Definition at line 243 of file driver_max31856_basic.c.
| uint8_t max31856_basic_init | ( | max31856_thermocouple_type_t | type | ) |
basic example init
| [in] | type | thermocouple type |
Definition at line 49 of file driver_max31856_basic.c.
| uint8_t max31856_basic_read | ( | double * | temp_deg, |
| uint8_t * | fault ) |
basic example read the temperature
| [out] | *temp_deg | pointer to a converted temperature buffer |
| [out] | *fault | pointer to a fault buffer |
Definition at line 269 of file driver_max31856_basic.c.
| uint8_t max31856_basic_read_cold_junction_temperature | ( | double * | temp_deg | ) |
basic example read the cold junction temperature
| [out] | *temp_deg | pointer to a converted temperature buffer |
Definition at line 299 of file driver_max31856_basic.c.
| uint8_t max31856_interrupt_deinit | ( | void | ) |
interrupt example deinit
Definition at line 352 of file driver_max31856_interrupt.c.
| uint8_t max31856_interrupt_init | ( | max31856_thermocouple_type_t | type, |
| float | cold_junction_low_fault_threshold_deg, | ||
| float | cold_junction_high_fault_threshold_deg, | ||
| float | temperature_low_fault_threshold_deg, | ||
| float | temperature_high_fault_threshold_deg, | ||
| void(* | callback )(uint8_t type) ) |
interrupt example init
| [in] | type | thermocouple type |
| [in] | cold_junction_low_fault_threshold_deg | cold junction low fault threshold |
| [in] | cold_junction_high_fault_threshold_deg | cold junction high fault threshold |
| [in] | temperature_low_fault_threshold_deg | temperature low fault threshold |
| [in] | temperature_high_fault_threshold_deg | temperature high fault threshold |
| [in] | *callback | pointer to a callback address |
Definition at line 71 of file driver_max31856_interrupt.c.
| uint8_t max31856_interrupt_irq_handler | ( | void | ) |
interrupt irq callback
Definition at line 48 of file driver_max31856_interrupt.c.
| uint8_t max31856_interrupt_read | ( | double * | temp_deg, |
| uint8_t * | fault ) |
interrupt example read the temperature
| [out] | *temp_deg | pointer to a converted temperature buffer |
| [out] | *fault | pointer to a fault buffer |
Definition at line 378 of file driver_max31856_interrupt.c.
| uint8_t max31856_interrupt_read_cold_junction_temperature | ( | double * | temp_deg | ) |
interrupt example read the cold junction temperature
| [out] | *temp_deg | pointer to a converted temperature buffer |
Definition at line 408 of file driver_max31856_interrupt.c.
| uint8_t max31856_shot_deinit | ( | void | ) |
shot example deinit
Definition at line 233 of file driver_max31856_shot.c.
| uint8_t max31856_shot_init | ( | max31856_thermocouple_type_t | type | ) |
shot example init
| [in] | type | thermocouple type |
Definition at line 49 of file driver_max31856_shot.c.
| uint8_t max31856_shot_read | ( | double * | temp_deg, |
| uint8_t * | fault ) |
shot example read the temperature
| [out] | *temp_deg | pointer to a converted temperature buffer |
| [out] | *fault | pointer to a fault buffer |
Definition at line 253 of file driver_max31856_shot.c.
| uint8_t max31856_shot_read_cold_junction_temperature | ( | double * | temp_deg | ) |
shot example read the cold junction temperature
| [out] | *temp_deg | pointer to a converted temperature buffer |
Definition at line 283 of file driver_max31856_shot.c.