Example program for EVAL-AD4130

Dependencies:   tempsensors sdp_k1_sdram

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers ad4130_noise_test_config.h Source File

ad4130_noise_test_config.h

Go to the documentation of this file.
00001 /*************************************************************************//**
00002  *   @file   ad4130_noise_test_config.h
00003  *   @brief  Header for AD4130 noise test user configuration file
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 
00013 #ifndef _AD4130_NOISE_TEST_CONFIG_H_
00014 #define _AD4130_NOISE_TEST_CONFIG_H_
00015 
00016 /******************************************************************************/
00017 /***************************** Include Files **********************************/
00018 /******************************************************************************/
00019 
00020 #include <stdint.h>
00021 #include "ad413x.h"
00022 
00023 /******************************************************************************/
00024 /********************** Macros and Constants Definition ***********************/
00025 /******************************************************************************/
00026 
00027 /* Select FS (or ODR) for noise test config (applicable to all channels) */
00028 #define AD4130_FS_CONFIG                48  // ODR = 50SPS for SINC3/4 filter
00029 
00030 /* Filter type for noise test config
00031  * Note: Applicable for all setups to keep the same ODR for all channels */
00032 #define AD4130_FILTER_TYPE              AD413X_SYNC3_STANDALONE
00033 
00034 /* Scaler factor used in FS to ODR conversion (For SINC3/4 filter) */
00035 #define FS_TO_ODR_CONV_SCALER           (32U * AD4130_FS_CONFIG)
00036 
00037 /******************************************************************************/
00038 /********************** Public/Extern Declarations ****************************/
00039 /******************************************************************************/
00040 
00041 extern struct ad413x_init_param ad4130_noise_test_config_params;
00042 
00043 #endif /* end of _AD4130_NOISE_TEST_CONFIG_H_ */