Analog Devices / Mbed OS EVAL-AD4110

Dependencies:   tempsensors sdp_k1_sdram

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers sdram_sdpk1.c Source File

sdram_sdpk1.c

Go to the documentation of this file.
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 int32_t sdram_init(void)
00025 {
00026     if (SDP_SDRAM_Init() != SDRAM_OK) {
00027         return -EIO;
00028     }
00029 
00030     return SUCCESS;
00031 }