Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: sdp_k1_sdram
Diff: app/sdram_sdpk1.h
- Revision:
- 2:007533849deb
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app/sdram_sdpk1.h Thu Jul 21 16:45:24 2022 +0530 @@ -0,0 +1,36 @@ +/***************************************************************************//** + * @file sdram_sdpk1.c + * @brief SDP-K1 SDRAM interfaces header file +******************************************************************************** + * 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 SDRAM_SDPK1_ +#define SDRAM_SDPK1_ + +/******************************************************************************/ +/***************************** Include Files **********************************/ +/******************************************************************************/ + +#include <stdint.h> + +/******************************************************************************/ +/********************** Macros and Constants Definition ***********************/ +/******************************************************************************/ + +/* SDRAM configs for SDP-K1 */ +#define SDRAM_START_ADDRESS (volatile int8_t *)0xC0000000 +#define SDRAM_SIZE_BYTES (16777216) // 16MBytes + +/******************************************************************************/ +/************************ Public Declarations *********************************/ +/******************************************************************************/ + +int32_t sdram_init(void); + +#endif /* end of SDRAM_SDPK1_ */