Go to the source code of this file.
◆ sensor_config_ids
Enumerator |
---|
AD7124_CONFIG_RESET | |
AD7124_CONFIG_2WIRE_RTD | |
AD7124_CONFIG_3WIRE_RTD | |
AD7124_CONFIG_4WIRE_RTD | |
AD7124_CONFIG_THERMOCOUPLE | |
AD7124_CONFIG_THERMISTOR | |
NUMBER_OF_SENSOR_CONFIGS | |
◆ ad7124_app_initialize()
int32_t ad7124_app_initialize |
( |
uint8_t |
config_id | ) |
|
Initialize the AD7124 device and the SPI port as required.
- Parameters
-
configID- | Configuration ID |
- Returns
- 0 in case of success, negative error code otherwise
This resets and then writes the default register map value to the device. A call to init the SPI port is made, but may not actually do very much, depending on the platform
Initialize the AD7124 device and the SPI port as required.
- Parameters
-
config_id[in]- | Register configuration to be load into device |
- Returns
- 0 in case of success, negative error code otherwise
This resets and then writes the default register map value to the device. A call to init the SPI port is made, but may not actually do very much, depending on the platform.
◆ ad7124_main_menu