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: platform_drivers AD7124_no_OS adi_console_menu tempsensors_prv
Diff: app/ad7124_regs_config_thermocouple.c
- Revision:
- 5:90166c496b01
- Parent:
- 0:08ba94bc5a30
--- a/app/ad7124_regs_config_thermocouple.c Mon Feb 22 04:57:23 2021 +0000 +++ b/app/ad7124_regs_config_thermocouple.c Fri Mar 19 12:33:00 2021 +0530 @@ -86,7 +86,7 @@ { AD7124_CH6_MAP_REG, AD7124_CH_MAP_REG_SETUP(1) | - AD7124_CH_MAP_REG_AINP(CJC_4WIRE_RTD_AINP) | AD7124_CH_MAP_REG_AINM(CJC_4WIRE_RTD_AINM), + AD7124_CH_MAP_REG_AINP(CJC_RTD_AINP) | AD7124_CH_MAP_REG_AINM(CJC_RTD_AINM), 2, AD7124_RW }, { @@ -114,7 +114,7 @@ }, { AD7124_CFG1_REG, - AD7124_CFG_REG_PGA(RTD_GAIN_VALUE) | AD7124_CFG_REG_REF_SEL(0) | // External REFIN + AD7124_CFG_REG_PGA(RTD_2WIRE_GAIN_VALUE) | AD7124_CFG_REG_REF_SEL(0) | // External REFIN AD7124_CFG_REG_BIPOLAR | // Bipolar inputs AD7124_CFG_REG_AINN_BUFM | AD7124_CFG_REG_AIN_BUFP | // Input buffers enabled AD7124_CFG_REG_REF_BUFM | AD7124_CFG_REG_REF_BUFP, // Ref buffers enabled