Example program for EVAL-AD4130
Dependencies: tempsensors sdp_k1_sdram
app/ad4130_regs.h@2:7b2b268ea49c, 22 months ago (annotated)
- Committer:
- Mahesh Phalke
- Date:
- Wed Jul 20 18:12:00 2022 +0530
- Revision:
- 2:7b2b268ea49c
Initial firmware commit
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
Mahesh Phalke |
2:7b2b268ea49c | 1 | /***************************************************************************//** |
Mahesh Phalke |
2:7b2b268ea49c | 2 | * @file ad4130_regs.h |
Mahesh Phalke |
2:7b2b268ea49c | 3 | * @brief Global declarations for ad4130_regs module |
Mahesh Phalke |
2:7b2b268ea49c | 4 | ******************************************************************************** |
Mahesh Phalke |
2:7b2b268ea49c | 5 | * Copyright (c) 2022 Analog Devices, Inc. |
Mahesh Phalke |
2:7b2b268ea49c | 6 | * All rights reserved. |
Mahesh Phalke |
2:7b2b268ea49c | 7 | * |
Mahesh Phalke |
2:7b2b268ea49c | 8 | * This software is proprietary to Analog Devices, Inc. and its licensors. |
Mahesh Phalke |
2:7b2b268ea49c | 9 | * By using this software you agree to the terms of the associated |
Mahesh Phalke |
2:7b2b268ea49c | 10 | * Analog Devices Software License Agreement. |
Mahesh Phalke |
2:7b2b268ea49c | 11 | *******************************************************************************/ |
Mahesh Phalke |
2:7b2b268ea49c | 12 | #ifndef _AD4130_REGS_H_ |
Mahesh Phalke |
2:7b2b268ea49c | 13 | #define _AD4130_REGS_H_ |
Mahesh Phalke |
2:7b2b268ea49c | 14 | |
Mahesh Phalke |
2:7b2b268ea49c | 15 | /******************************************************************************/ |
Mahesh Phalke |
2:7b2b268ea49c | 16 | /***************************** Include Files **********************************/ |
Mahesh Phalke |
2:7b2b268ea49c | 17 | /******************************************************************************/ |
Mahesh Phalke |
2:7b2b268ea49c | 18 | |
Mahesh Phalke |
2:7b2b268ea49c | 19 | #include <stdint.h> |
Mahesh Phalke |
2:7b2b268ea49c | 20 | |
Mahesh Phalke |
2:7b2b268ea49c | 21 | /******************************************************************************/ |
Mahesh Phalke |
2:7b2b268ea49c | 22 | /********************** Macros and Constants Definition ***********************/ |
Mahesh Phalke |
2:7b2b268ea49c | 23 | /******************************************************************************/ |
Mahesh Phalke |
2:7b2b268ea49c | 24 | |
Mahesh Phalke |
2:7b2b268ea49c | 25 | #define AD413X_ADDR(x) ((x) & 0xFF) |
Mahesh Phalke |
2:7b2b268ea49c | 26 | |
Mahesh Phalke |
2:7b2b268ea49c | 27 | /* Max register address available (last register address defined |
Mahesh Phalke |
2:7b2b268ea49c | 28 | * in the ad413x.h file) */ |
Mahesh Phalke |
2:7b2b268ea49c | 29 | #define MAX_REGISTER_ADDRESS (AD413X_ADDR(AD413X_REG_FIFO_DATA)) |
Mahesh Phalke |
2:7b2b268ea49c | 30 | |
Mahesh Phalke |
2:7b2b268ea49c | 31 | /******************************************************************************/ |
Mahesh Phalke |
2:7b2b268ea49c | 32 | /************************ Public Declarations *********************************/ |
Mahesh Phalke |
2:7b2b268ea49c | 33 | /******************************************************************************/ |
Mahesh Phalke |
2:7b2b268ea49c | 34 | |
Mahesh Phalke |
2:7b2b268ea49c | 35 | extern const uint32_t ad413x_regs[]; |
Mahesh Phalke |
2:7b2b268ea49c | 36 | |
Mahesh Phalke |
2:7b2b268ea49c | 37 | #endif /* _AD4130_REGS_H_ */ |