EVAL-AD7124 Mbed Example Program.

Dependencies:   adi_console_menu platform_drivers

Committer:
Kjansen
Date:
Tue Aug 03 12:05:42 2021 +0100
Revision:
7:3e1005bd4d41
Parent:
3:779bb1e55f1a
No-OS Adoption Changes:

* Updated the .lib files for adoption of no-OS repository as-is.
* Replaced platform_drivers.h with required header files.
* Added designated initializers for nanodac_init_params as the latest
spi_init_param in no-OS repository include a new field member platform_ops.
* Added Support Macros.
* Updated the copyright year of the nanodac_console_app.c file

Mbed OS update changes:
1) Added the mbed_app.json file with custom parameters
2) Updated the mbed-os version to 6.8.0

Updated the readme file.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mahphalke 3:779bb1e55f1a 1 /*!
mahphalke 3:779bb1e55f1a 2 *****************************************************************************
mahphalke 3:779bb1e55f1a 3 @file: ad7124_regs_config_b.c
mahphalke 3:779bb1e55f1a 4
mahphalke 3:779bb1e55f1a 5 @brief: Configuration file B for AD7124
mahphalke 3:779bb1e55f1a 6
mahphalke 3:779bb1e55f1a 7 @details:
mahphalke 3:779bb1e55f1a 8 -----------------------------------------------------------------------------
mahphalke 3:779bb1e55f1a 9 Copyright (c) 2019, 2020 Analog Devices, Inc.
mahphalke 3:779bb1e55f1a 10 All rights reserved.
mahphalke 3:779bb1e55f1a 11
mahphalke 3:779bb1e55f1a 12 This software is proprietary to Analog Devices, Inc. and its licensors.
mahphalke 3:779bb1e55f1a 13 By using this software you agree to the terms of the associated
mahphalke 3:779bb1e55f1a 14 Analog Devices Software License Agreement.
mahphalke 3:779bb1e55f1a 15 *****************************************************************************/
mahphalke 3:779bb1e55f1a 16
mahphalke 3:779bb1e55f1a 17 #include "ad7124_regs.h"
mahphalke 3:779bb1e55f1a 18
mahphalke 3:779bb1e55f1a 19 const struct ad7124_st_reg ad7124_regs_config_b[AD7124_REG_NO] = {
mahphalke 3:779bb1e55f1a 20 {0x00, 0x00, 1, 2},
mahphalke 3:779bb1e55f1a 21 {0x01, 0x0708, 2, 1},
mahphalke 3:779bb1e55f1a 22 {0x02, 0x000000, 3, 2},
mahphalke 3:779bb1e55f1a 23 {0x03, 0x002010, 3, 1},
mahphalke 3:779bb1e55f1a 24 {0x04, 0x0004, 2, 1},
mahphalke 3:779bb1e55f1a 25 {0x05, 0x00, 1, 2},
mahphalke 3:779bb1e55f1a 26 {0x06, 0x000000, 3, 2},
mahphalke 3:779bb1e55f1a 27 {0x07, 0x000044, 3, 1},
mahphalke 3:779bb1e55f1a 28 {0x08, 0x00, 1, 2},
mahphalke 3:779bb1e55f1a 29 {0x09, 0x8043, 2, 1},
mahphalke 3:779bb1e55f1a 30 {0x0A, 0x9085, 2, 1},
mahphalke 3:779bb1e55f1a 31 {0x0B, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 32 {0x0C, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 33 {0x0D, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 34 {0x0E, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 35 {0x0F, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 36 {0x10, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 37 {0x11, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 38 {0x12, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 39 {0x13, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 40 {0x14, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 41 {0x15, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 42 {0x16, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 43 {0x17, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 44 {0x18, 0x0001, 2, 1},
mahphalke 3:779bb1e55f1a 45 {0x19, 0x0877, 2, 1},
mahphalke 3:779bb1e55f1a 46 {0x1A, 0x09E0, 2, 1},
mahphalke 3:779bb1e55f1a 47 {0x1B, 0x0860, 2, 1},
mahphalke 3:779bb1e55f1a 48 {0x1C, 0x0860, 2, 1},
mahphalke 3:779bb1e55f1a 49 {0x1D, 0x0860, 2, 1},
mahphalke 3:779bb1e55f1a 50 {0x1E, 0x0860, 2, 1},
mahphalke 3:779bb1e55f1a 51 {0x1F, 0x0860, 2, 1},
mahphalke 3:779bb1e55f1a 52 {0x20, 0x0860, 2, 1},
mahphalke 3:779bb1e55f1a 53 {0x21, 0x060014, 3, 1},
mahphalke 3:779bb1e55f1a 54 {0x22, 0x060014, 3, 1},
mahphalke 3:779bb1e55f1a 55 {0x23, 0x060180, 3, 1},
mahphalke 3:779bb1e55f1a 56 {0x24, 0x060180, 3, 1},
mahphalke 3:779bb1e55f1a 57 {0x25, 0x060180, 3, 1},
mahphalke 3:779bb1e55f1a 58 {0x26, 0x060180, 3, 1},
mahphalke 3:779bb1e55f1a 59 {0x27, 0x060180, 3, 1},
mahphalke 3:779bb1e55f1a 60 {0x28, 0x060180, 3, 1},
mahphalke 3:779bb1e55f1a 61 {0x29, 0x800000, 3, 1},
mahphalke 3:779bb1e55f1a 62 {0x2A, 0x800000, 3, 1},
mahphalke 3:779bb1e55f1a 63 {0x2B, 0x800000, 3, 1},
mahphalke 3:779bb1e55f1a 64 {0x2C, 0x800000, 3, 1},
mahphalke 3:779bb1e55f1a 65 {0x2D, 0x800000, 3, 1},
mahphalke 3:779bb1e55f1a 66 {0x2E, 0x800000, 3, 1},
mahphalke 3:779bb1e55f1a 67 {0x2F, 0x800000, 3, 1},
mahphalke 3:779bb1e55f1a 68 {0x30, 0x800000, 3, 1},
mahphalke 3:779bb1e55f1a 69 {0x31, 0x500000, 3, 1},
mahphalke 3:779bb1e55f1a 70 {0x32, 0x500000, 3, 1},
mahphalke 3:779bb1e55f1a 71 {0x33, 0x500000, 3, 1},
mahphalke 3:779bb1e55f1a 72 {0x34, 0x500000, 3, 1},
mahphalke 3:779bb1e55f1a 73 {0x35, 0x500000, 3, 1},
mahphalke 3:779bb1e55f1a 74 {0x36, 0x500000, 3, 1},
mahphalke 3:779bb1e55f1a 75 {0x37, 0x500000, 3, 1},
mahphalke 3:779bb1e55f1a 76 {0x38, 0x500000, 3, 1},
mahphalke 3:779bb1e55f1a 77 };