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
sdram_sdpk1.c
00001 /***************************************************************************//** 00002 * @file sdram_sdpk1.c 00003 * @brief SDP-K1 SDRAM interafaces 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 /******************************************************************************/ 00014 /***************************** Include Files **********************************/ 00015 /******************************************************************************/ 00016 00017 #include "sdp_k1_sdram.h" 00018 #include "no_os_error.h" 00019 00020 /******************************************************************************/ 00021 /************************ Functions Definitions *******************************/ 00022 /******************************************************************************/ 00023 00024 /** 00025 * @brief Initialize the SDRAM 00026 * @return 0 in case of success, negative error code otherwise 00027 */ 00028 int32_t sdram_init(void) 00029 { 00030 if (SDP_SDRAM_Init() != SDRAM_OK) { 00031 return -EIO; 00032 } 00033 00034 return 0; 00035 }
Generated on Tue Nov 15 2022 11:39:51 by
