Example program for EVAL-AD4130
Dependencies: tempsensors sdp_k1_sdram
Diff: app/ad4130_regs.h
- Revision:
- 2:7b2b268ea49c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/ad4130_regs.h Wed Jul 20 18:12:00 2022 +0530 @@ -0,0 +1,37 @@ +/***************************************************************************//** +* @file ad4130_regs.h +* @brief Global declarations for ad4130_regs module +******************************************************************************** +* Copyright (c) 2022 Analog Devices, Inc. +* All rights reserved. +* +* This software is proprietary to Analog Devices, Inc. and its licensors. +* By using this software you agree to the terms of the associated +* Analog Devices Software License Agreement. +*******************************************************************************/ +#ifndef _AD4130_REGS_H_ +#define _AD4130_REGS_H_ + +/******************************************************************************/ +/***************************** Include Files **********************************/ +/******************************************************************************/ + +#include <stdint.h> + +/******************************************************************************/ +/********************** Macros and Constants Definition ***********************/ +/******************************************************************************/ + +#define AD413X_ADDR(x) ((x) & 0xFF) + +/* Max register address available (last register address defined + * in the ad413x.h file) */ +#define MAX_REGISTER_ADDRESS (AD413X_ADDR(AD413X_REG_FIFO_DATA)) + +/******************************************************************************/ +/************************ Public Declarations *********************************/ +/******************************************************************************/ + +extern const uint32_t ad413x_regs[]; + +#endif /* _AD4130_REGS_H_ */