Example program for EVAL-AD4130

Dependencies:   tempsensors sdp_k1_sdram

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers sdram_sdpk1.h Source File

sdram_sdpk1.h

00001 /***************************************************************************//**
00002  *   @file    sdram_sdpk1.c
00003  *   @brief   SDP-K1 SDRAM interafaces header 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 SDRAM_SDPK1_
00014 #define SDRAM_SDPK1_
00015 
00016 /******************************************************************************/
00017 /***************************** Include Files **********************************/
00018 /******************************************************************************/
00019 
00020 #include <stdint.h>
00021 
00022 /******************************************************************************/
00023 /********************** Macros and Constants Definition ***********************/
00024 /******************************************************************************/
00025 
00026 /* SDRAM configs for SDP-K1 */
00027 #define SDRAM_START_ADDRESS     (volatile int8_t *)0xC0000000
00028 #define SDRAM_SIZE_BYTES        (16777216)  // 16MBytes
00029 
00030 /******************************************************************************/
00031 /************************ Public Declarations *********************************/
00032 /******************************************************************************/
00033 
00034 int32_t sdram_init(void);
00035 
00036 #endif  /* end of SDRAM_SDPK1_ */