Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: tempsensors adi_console_menu platform_drivers
Diff: app/ad7124_temperature_sensor.h
- Revision:
- 3:f20f09251190
- Parent:
- 1:c863d7e9e272
--- a/app/ad7124_temperature_sensor.h Mon Feb 22 05:16:41 2021 +0000 +++ b/app/ad7124_temperature_sensor.h Fri Mar 19 14:34:05 2021 +0530 @@ -29,16 +29,14 @@ /********************* Macros and Constants Definitions ***********************/ /******************************************************************************/ -/* RTD Rref Resistance value (in ohms) */ -#define RTD_RREF 5110 - /******************************************************************************/ /********************** Public/Extern Declarations ****************************/ /******************************************************************************/ float get_tc_temperature(float tc_sample, float cjc_sample, - cjc_sensor_type cjc_sensor); -float get_rtd_temperature(int32_t rtd_sample); + cjc_sensor_type cjc_sensor, float *cjc_temp); +uint32_t get_rtd_rref(void); +float get_rtd_temperature(int32_t rtd_sample, uint8_t gain); void store_rtd_calibrated_iout_ratio(float iout_ratio, bool status); float get_ntc_thermistor_temperature(int32_t ntc_sample); float get_ptc_thermistor_temperature(int32_t ntc_sample); @@ -48,4 +46,3 @@ #endif // _cplusplus #endif // end of AD7124_TEMPERATURE_SENSOR_H_ -