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_console_app.h
- Revision:
- 1:c863d7e9e272
- Child:
- 3:f20f09251190
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/app/ad7124_console_app.h Mon Feb 22 05:13:58 2021 +0000
@@ -0,0 +1,44 @@
+/***************************************************************************//*
+ * @file ad7124_console_app.h
+ * @brief Defines the console menu structure for the AD7124 example code
+ * @details
+******************************************************************************
+ * Copyright (c) 2021 Analog Devices, Inc. All Rights Reserved.
+ *
+ * This software is proprietary to Analog Devices, Inc. and its licensors.
+ * By using this software you agree to the terms of the associated
+ * Analog Devices Software License Agreement.
+******************************************************************************/
+
+#ifndef AD7124_CONSOLE_APP_H_
+#define AD7124_CONSOLE_APP_H_
+
+/******************************************************************************/
+/***************************** Include Files **********************************/
+/******************************************************************************/
+
+#include "adi_console_menu.h"
+
+/******************************************************************************/
+/********************** Macros and Constants Definition ***********************/
+/******************************************************************************/
+
+enum sensor_config_ids {
+ AD7124_CONFIG_2WIRE_RTD,
+ AD7124_CONFIG_3WIRE_RTD,
+ AD7124_CONFIG_4WIRE_RTD,
+ AD7124_CONFIG_THERMOCOUPLE,
+ AD7124_CONFIG_THERMISTOR,
+ AD7124_CONFIG_ADC_CALIBRATION,
+ NUMBER_OF_SENSOR_CONFIGS
+};
+
+/******************************************************************************/
+/********************** Public/Extern Declarations ****************************/
+/******************************************************************************/
+
+int32_t ad7124_app_initialize(uint8_t configID);
+extern console_menu ad7124_main_menu;
+
+#endif /* AD7124_CONSOLE_APP_H_ */
+