Example program for EVAL-AD4130

Dependencies:   tempsensors sdp_k1_sdram

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ad4130_regs.h Source File

ad4130_regs.h

Go to the documentation of this file.
00001 /***************************************************************************//**
00002 *   @file   ad4130_regs.h
00003 *   @brief  Global declarations for ad4130_regs module
00004 ********************************************************************************
00005 * Copyright (c) 2022 Analog Devices, Inc.
00006 * All rights reserved.
00007 *
00008 * This software is proprietary to Analog Devices, Inc. and its licensors.
00009 * By using this software you agree to the terms of the associated
00010 * Analog Devices Software License Agreement.
00011 *******************************************************************************/
00012 #ifndef _AD4130_REGS_H_
00013 #define _AD4130_REGS_H_
00014 
00015 /******************************************************************************/
00016 /***************************** Include Files **********************************/
00017 /******************************************************************************/
00018 
00019 #include <stdint.h>
00020 
00021 /******************************************************************************/
00022 /********************** Macros and Constants Definition ***********************/
00023 /******************************************************************************/
00024 
00025 #define AD413X_ADDR(x)      ((x) & 0xFF)
00026 
00027 /* Max register address available (last register address defined
00028  * in the ad413x.h file) */
00029 #define MAX_REGISTER_ADDRESS    (AD413X_ADDR(AD413X_REG_FIFO_DATA))
00030 
00031 /******************************************************************************/
00032 /************************ Public Declarations *********************************/
00033 /******************************************************************************/
00034 
00035 extern const uint32_t ad413x_regs[];
00036 
00037 #endif /* _AD4130_REGS_H_ */