|
int | max31865_init (struct max31865_dev **device, struct max31865_init_param *init_param) |
| Device and comm init function. More...
|
|
int | max31865_remove (struct max31865_dev *device) |
| Remove resources allocated by the init function. More...
|
|
int | max31865_reg_update (struct max31865_dev *device, uint8_t reg_addr, uint8_t reg_update, bool or_mask) |
| update register contents More...
|
|
int | max31865_read (struct max31865_dev *device, uint8_t reg_addr, uint8_t *reg_data) |
| Read raw register value. More...
|
|
int | max31865_write (struct max31865_dev *device, uint8_t reg_addr, uint8_t reg_data) |
| Write raw register value. More...
|
|
int | max31865_clear_fault (struct max31865_dev *device) |
| Clear all faults in FAULTSTAT. More...
|
|
int | max31865_enable_bias (struct max31865_dev *device, bool bias_en) |
| Enable the bias voltage on the RTD sensor. More...
|
|
int | max31865_auto_convert (struct max31865_dev *device, bool auto_conv_en) |
| Option for continuous conversions between 50/60 Hz. More...
|
|
int | max31865_enable_50Hz (struct max31865_dev *device, bool filt_en) |
| Option for 50Hz or 60Hz noise filters. More...
|
|
int | max31865_set_threshold (struct max31865_dev *device, uint16_t lower, uint16_t upper) |
| Update the contents of the HIGH and LOW FAULT registers of max31865. More...
|
|
int | max31865_get_lower_threshold (struct max31865_dev *device, uint16_t *low_threshold) |
| Read the raw 16-bit lower threshold value. More...
|
|
int | max31865_get_upper_threshold (struct max31865_dev *device, uint16_t *up_threshold) |
| Read the raw 16-bit upper threshold value. More...
|
|
int | max31865_set_wires (struct max31865_dev *device, bool is_odd_wire) |
| N-wire option for RTD measurement setup. More...
|
|
int | max31865_read_rtd (struct max31865_dev *device, uint16_t *rtd_reg) |
| Read the raw 16-bit value from the RTD_REG in one shot mode. More...
|
|
Implementation of MAX31865 Driver.
- Author
- JSanBuen (jose..nosp@m.sanb.nosp@m.uenav.nosp@m.entu.nosp@m.ra@an.nosp@m.alog.nosp@m..com)
-
MSosa (marcp.nosp@m.aolo.nosp@m..sosa.nosp@m.@ana.nosp@m.log.c.nosp@m.om)
Copyright 2023(c) Analog Devices, Inc.
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Analog Devices, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. “AS IS” AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.