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
app/ad7124_console_app.h@5:330f902463f9, 2021-05-09 (annotated)
- Committer:
- mahphalke
- Date:
- Sun May 09 23:12:27 2021 +0530
- Revision:
- 5:330f902463f9
- Parent:
- 3:f20f09251190
Updates to ADC calibration functionality
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
mahphalke | 1:c863d7e9e272 | 1 | /***************************************************************************//* |
mahphalke | 1:c863d7e9e272 | 2 | * @file ad7124_console_app.h |
mahphalke | 1:c863d7e9e272 | 3 | * @brief Defines the console menu structure for the AD7124 example code |
mahphalke | 1:c863d7e9e272 | 4 | * @details |
mahphalke | 1:c863d7e9e272 | 5 | ****************************************************************************** |
mahphalke | 1:c863d7e9e272 | 6 | * Copyright (c) 2021 Analog Devices, Inc. All Rights Reserved. |
mahphalke | 1:c863d7e9e272 | 7 | * |
mahphalke | 1:c863d7e9e272 | 8 | * This software is proprietary to Analog Devices, Inc. and its licensors. |
mahphalke | 1:c863d7e9e272 | 9 | * By using this software you agree to the terms of the associated |
mahphalke | 1:c863d7e9e272 | 10 | * Analog Devices Software License Agreement. |
mahphalke | 1:c863d7e9e272 | 11 | ******************************************************************************/ |
mahphalke | 1:c863d7e9e272 | 12 | |
mahphalke | 1:c863d7e9e272 | 13 | #ifndef AD7124_CONSOLE_APP_H_ |
mahphalke | 1:c863d7e9e272 | 14 | #define AD7124_CONSOLE_APP_H_ |
mahphalke | 1:c863d7e9e272 | 15 | |
mahphalke | 1:c863d7e9e272 | 16 | /******************************************************************************/ |
mahphalke | 1:c863d7e9e272 | 17 | /***************************** Include Files **********************************/ |
mahphalke | 1:c863d7e9e272 | 18 | /******************************************************************************/ |
mahphalke | 1:c863d7e9e272 | 19 | |
mahphalke | 1:c863d7e9e272 | 20 | #include "adi_console_menu.h" |
mahphalke | 1:c863d7e9e272 | 21 | |
mahphalke | 1:c863d7e9e272 | 22 | /******************************************************************************/ |
mahphalke | 1:c863d7e9e272 | 23 | /********************** Macros and Constants Definition ***********************/ |
mahphalke | 1:c863d7e9e272 | 24 | /******************************************************************************/ |
mahphalke | 1:c863d7e9e272 | 25 | |
mahphalke | 1:c863d7e9e272 | 26 | enum sensor_config_ids { |
mahphalke |
3:f20f09251190 | 27 | AD7124_CONFIG_RESET, |
mahphalke | 1:c863d7e9e272 | 28 | AD7124_CONFIG_2WIRE_RTD, |
mahphalke | 1:c863d7e9e272 | 29 | AD7124_CONFIG_3WIRE_RTD, |
mahphalke | 1:c863d7e9e272 | 30 | AD7124_CONFIG_4WIRE_RTD, |
mahphalke | 1:c863d7e9e272 | 31 | AD7124_CONFIG_THERMOCOUPLE, |
mahphalke | 1:c863d7e9e272 | 32 | AD7124_CONFIG_THERMISTOR, |
mahphalke | 1:c863d7e9e272 | 33 | NUMBER_OF_SENSOR_CONFIGS |
mahphalke | 1:c863d7e9e272 | 34 | }; |
mahphalke | 1:c863d7e9e272 | 35 | |
mahphalke | 1:c863d7e9e272 | 36 | /******************************************************************************/ |
mahphalke | 1:c863d7e9e272 | 37 | /********************** Public/Extern Declarations ****************************/ |
mahphalke | 1:c863d7e9e272 | 38 | /******************************************************************************/ |
mahphalke | 1:c863d7e9e272 | 39 | |
mahphalke | 1:c863d7e9e272 | 40 | int32_t ad7124_app_initialize(uint8_t configID); |
mahphalke | 1:c863d7e9e272 | 41 | extern console_menu ad7124_main_menu; |
mahphalke | 1:c863d7e9e272 | 42 | |
mahphalke | 1:c863d7e9e272 | 43 | #endif /* AD7124_CONSOLE_APP_H_ */ |