![]() |
LibDriver MAX31856
|
driver max31856 interrupt include file More...
#include "driver_max31856_interface.h"Go to the source code of this file.
Macros | |
| #define | MAX31856_INTERRUPT_DEFAULT_OPEN_CIRCUIT_DETECTION MAX31856_OPEN_CIRCUIT_DETECTION_MODE3 |
| max31856 interrupt example default definition | |
| #define | MAX31856_INTERRUPT_DEFAULT_FAULT_MODE MAX31856_FAULT_MODE_INTERRUPT |
| #define | MAX31856_INTERRUPT_DEFAULT_NOISE_REJECTION_FILTER MAX31856_NOISE_REJECTION_FILTER_50HZ |
| #define | MAX31856_INTERRUPT_DEFAULT_SAMPLE_AVERAGE MAX31856_SAMPLE_AVERAGE_16 |
| #define | MAX31856_INTERRUPT_DEFAULT_COLD_JUNCTION_TEMPERATURE_OFFSET 0.0f |
Functions | |
| 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 | |
driver max31856 interrupt include file
Copyright (c) 2015 - present LibDriver All rights reserved
The MIT License (MIT)
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
| Date | Version | Author | Description |
|---|---|---|---|
| 2026/07/08 | 1.0 | Shifeng Li | first upload |
Definition in file driver_max31856_interrupt.h.