Program files for Example program for EVAL-AD7768-1
Dependencies: platform_drivers
app/ad77681_regs.c@1:260e834a8dc1, 2021-09-24 (annotated)
- Committer:
- Kjansen
- Date:
- Fri Sep 24 15:14:06 2021 +0100
- Revision:
- 1:260e834a8dc1
Adding released source code of ad7768-1
Deleting the redefinition of data_capture_ops
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Kjansen |
1:260e834a8dc1 | 1 | /***************************************************************************//** |
Kjansen |
1:260e834a8dc1 | 2 | * @file ad77681_regs.c |
Kjansen |
1:260e834a8dc1 | 3 | * @brief AD77681 registers map |
Kjansen |
1:260e834a8dc1 | 4 | * @details |
Kjansen |
1:260e834a8dc1 | 5 | ******************************************************************************** |
Kjansen |
1:260e834a8dc1 | 6 | * Copyright (c) 2021 Analog Devices, Inc. |
Kjansen |
1:260e834a8dc1 | 7 | * All rights reserved. |
Kjansen |
1:260e834a8dc1 | 8 | * |
Kjansen |
1:260e834a8dc1 | 9 | * This software is proprietary to Analog Devices, Inc. and its licensors. |
Kjansen |
1:260e834a8dc1 | 10 | * By using this software you agree to the terms of the associated |
Kjansen |
1:260e834a8dc1 | 11 | * Analog Devices Software License Agreement. |
Kjansen |
1:260e834a8dc1 | 12 | *******************************************************************************/ |
Kjansen |
1:260e834a8dc1 | 13 | |
Kjansen |
1:260e834a8dc1 | 14 | /******************************************************************************/ |
Kjansen |
1:260e834a8dc1 | 15 | /***************************** Include Files **********************************/ |
Kjansen |
1:260e834a8dc1 | 16 | /******************************************************************************/ |
Kjansen |
1:260e834a8dc1 | 17 | |
Kjansen |
1:260e834a8dc1 | 18 | #include <stdint.h> |
Kjansen |
1:260e834a8dc1 | 19 | #include "ad77681.h" |
Kjansen |
1:260e834a8dc1 | 20 | |
Kjansen |
1:260e834a8dc1 | 21 | /******************************************************************************/ |
Kjansen |
1:260e834a8dc1 | 22 | /*************************** Types Declarations *******************************/ |
Kjansen |
1:260e834a8dc1 | 23 | /******************************************************************************/ |
Kjansen |
1:260e834a8dc1 | 24 | |
Kjansen |
1:260e834a8dc1 | 25 | const uint32_t ad77681_regs[] = { |
Kjansen |
1:260e834a8dc1 | 26 | AD77681_REG_CHIP_TYPE, |
Kjansen |
1:260e834a8dc1 | 27 | AD77681_REG_PROD_ID_L, |
Kjansen |
1:260e834a8dc1 | 28 | AD77681_REG_PROD_ID_H, |
Kjansen |
1:260e834a8dc1 | 29 | AD77681_REG_CHIP_GRADE, |
Kjansen |
1:260e834a8dc1 | 30 | AD77681_REG_SCRATCH_PAD, |
Kjansen |
1:260e834a8dc1 | 31 | AD77681_REG_VENDOR_L, |
Kjansen |
1:260e834a8dc1 | 32 | AD77681_REG_VENDOR_H, |
Kjansen |
1:260e834a8dc1 | 33 | AD77681_REG_INTERFACE_FORMAT, |
Kjansen |
1:260e834a8dc1 | 34 | AD77681_REG_POWER_CLOCK, |
Kjansen |
1:260e834a8dc1 | 35 | AD77681_REG_ANALOG, |
Kjansen |
1:260e834a8dc1 | 36 | AD77681_REG_ANALOG2, |
Kjansen |
1:260e834a8dc1 | 37 | AD77681_REG_CONVERSION, |
Kjansen |
1:260e834a8dc1 | 38 | AD77681_REG_DIGITAL_FILTER, |
Kjansen |
1:260e834a8dc1 | 39 | AD77681_REG_SINC3_DEC_RATE_MSB, |
Kjansen |
1:260e834a8dc1 | 40 | AD77681_REG_SINC3_DEC_RATE_LSB, |
Kjansen |
1:260e834a8dc1 | 41 | AD77681_REG_DUTY_CYCLE_RATIO, |
Kjansen |
1:260e834a8dc1 | 42 | AD77681_REG_SYNC_RESET, |
Kjansen |
1:260e834a8dc1 | 43 | AD77681_REG_GPIO_CONTROL, |
Kjansen |
1:260e834a8dc1 | 44 | AD77681_REG_GPIO_WRITE, |
Kjansen |
1:260e834a8dc1 | 45 | AD77681_REG_GPIO_READ, |
Kjansen |
1:260e834a8dc1 | 46 | AD77681_REG_OFFSET_HI, |
Kjansen |
1:260e834a8dc1 | 47 | AD77681_REG_OFFSET_MID, |
Kjansen |
1:260e834a8dc1 | 48 | AD77681_REG_OFFSET_LO, |
Kjansen |
1:260e834a8dc1 | 49 | AD77681_REG_GAIN_HI, |
Kjansen |
1:260e834a8dc1 | 50 | AD77681_REG_GAIN_MID, |
Kjansen |
1:260e834a8dc1 | 51 | AD77681_REG_GAIN_LO, |
Kjansen |
1:260e834a8dc1 | 52 | AD77681_REG_SPI_DIAG_ENABLE, |
Kjansen |
1:260e834a8dc1 | 53 | AD77681_REG_ADC_DIAG_ENABLE, |
Kjansen |
1:260e834a8dc1 | 54 | AD77681_REG_DIG_DIAG_ENABLE, |
Kjansen |
1:260e834a8dc1 | 55 | AD77681_REG_ADC_DATA, |
Kjansen |
1:260e834a8dc1 | 56 | AD77681_REG_MASTER_STATUS, |
Kjansen |
1:260e834a8dc1 | 57 | AD77681_REG_SPI_DIAG_STATUS, |
Kjansen |
1:260e834a8dc1 | 58 | AD77681_REG_ADC_DIAG_STATUS, |
Kjansen |
1:260e834a8dc1 | 59 | AD77681_REG_DIG_DIAG_STATUS, |
Kjansen |
1:260e834a8dc1 | 60 | AD77681_REG_MCLK_COUNTER |
Kjansen |
1:260e834a8dc1 | 61 | }; |
Kjansen |
1:260e834a8dc1 | 62 |