ad7124_regs_config_a.c 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. /*!
  2. *****************************************************************************
  3. @file: ad7124_regs_config_a.c
  4. @brief: Configuration file A for AD7124
  5. @details:
  6. -----------------------------------------------------------------------------
  7. Copyright (c) 2019 Analog Devices, Inc.
  8. All rights reserved.
  9. Redistribution and use in source and binary forms, with or without modification,
  10. are permitted provided that the following conditions are met:
  11. - Redistributions of source code must retain the above copyright notice,
  12. this list of conditions and the following disclaimer.
  13. - Redistributions in binary form must reproduce the above copyright notice,
  14. this list of conditions and the following disclaimer in the documentation
  15. and/or other materials provided with the distribution.
  16. - Modified versions of the software must be conspicuously marked as such.
  17. - This software is licensed solely and exclusively for use with processors/
  18. products manufactured by or for Analog Devices, Inc.
  19. - This software may not be combined or merged with other code in any manner
  20. that would cause the software to become subject to terms and conditions
  21. which differ from those listed here.
  22. - Neither the name of Analog Devices, Inc. nor the names of its contributors
  23. may be used to endorse or promote products derived from this software without
  24. specific prior written permission.
  25. - The use of this software may or may not infringe the patent rights of one
  26. or more patent holders. This license does not release you from the
  27. requirement that you obtain separate licenses from these patent holders
  28. to use this software.
  29. THIS SOFTWARE IS PROVIDED BY ANALOG DEVICES, INC. AND CONTRIBUTORS "AS IS"
  30. AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, NON-
  31. INFRINGEMENT, TITLE, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
  32. DISCLAIMED. IN NO EVENT SHALL ANALOG DEVICES, INC. OR CONTRIBUTORS BE LIABLE
  33. FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, PUNITIVE OR
  34. CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, DAMAGES ARISING OUT OF
  35. CLAIMS OF INTELLECTUAL PROPERTY RIGHTS INFRINGEMENT; PROCUREMENT OF
  36. SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  37. INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  38. CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  39. ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
  40. POSSIBILITY OF SUCH DAMAGE.
  41. 20180927-7CBSD SLA
  42. *****************************************************************************/
  43. #include "ad7124_regs.h"
  44. const struct ad7124_st_reg ad7124_regs_config_a[AD7124_REG_NO] = {
  45. {0x00, 0x00, 1, 2},
  46. {0x01, 0x0708, 2, 1},
  47. {0x02, 0x000000, 3, 2},
  48. {0x03, 0x000000, 3, 1},
  49. {0x04, 0x0000, 2, 1},
  50. {0x05, 0x00, 1, 2},
  51. {0x06, 0x000000, 3, 2},
  52. {0x07, 0x000044, 3, 1},
  53. {0x08, 0x00, 1, 2},
  54. {0x09, 0x8001, 2, 1},
  55. {0x0A, 0x0001, 2, 1},
  56. {0x0B, 0x0001, 2, 1},
  57. {0x0C, 0x0001, 2, 1},
  58. {0x0D, 0x0001, 2, 1},
  59. {0x0E, 0x0001, 2, 1},
  60. {0x0F, 0x0001, 2, 1},
  61. {0x10, 0x0001, 2, 1},
  62. {0x11, 0x0001, 2, 1},
  63. {0x12, 0x0001, 2, 1},
  64. {0x13, 0x0001, 2, 1},
  65. {0x14, 0x0001, 2, 1},
  66. {0x15, 0x0001, 2, 1},
  67. {0x16, 0x0001, 2, 1},
  68. {0x17, 0x0001, 2, 1},
  69. {0x18, 0x0001, 2, 1},
  70. {0x19, 0x0860, 2, 1},
  71. {0x1A, 0x0860, 2, 1},
  72. {0x1B, 0x0860, 2, 1},
  73. {0x1C, 0x0860, 2, 1},
  74. {0x1D, 0x0860, 2, 1},
  75. {0x1E, 0x0860, 2, 1},
  76. {0x1F, 0x0860, 2, 1},
  77. {0x20, 0x0860, 2, 1},
  78. {0x21, 0x060014, 3, 1},
  79. {0x22, 0x060180, 3, 1},
  80. {0x23, 0x060180, 3, 1},
  81. {0x24, 0x060180, 3, 1},
  82. {0x25, 0x060180, 3, 1},
  83. {0x26, 0x060180, 3, 1},
  84. {0x27, 0x060180, 3, 1},
  85. {0x28, 0x060180, 3, 1},
  86. {0x29, 0x800000, 3, 1},
  87. {0x2A, 0x800000, 3, 1},
  88. {0x2B, 0x800000, 3, 1},
  89. {0x2C, 0x800000, 3, 1},
  90. {0x2D, 0x800000, 3, 1},
  91. {0x2E, 0x800000, 3, 1},
  92. {0x2F, 0x800000, 3, 1},
  93. {0x30, 0x800000, 3, 1},
  94. {0x31, 0x500000, 3, 1},
  95. {0x32, 0x500000, 3, 1},
  96. {0x33, 0x500000, 3, 1},
  97. {0x34, 0x500000, 3, 1},
  98. {0x35, 0x500000, 3, 1},
  99. {0x36, 0x500000, 3, 1},
  100. {0x37, 0x500000, 3, 1},
  101. {0x38, 0x500000, 3, 1},
  102. };