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
app/sdram_sdpk1.h@2:007533849deb, 2022-07-21 (annotated)
- Committer:
- Mahesh Phalke
- Date:
- Thu Jul 21 16:45:24 2022 +0530
- Revision:
- 2:007533849deb
Initial firmware commit
Who changed what in which revision?
| User | Revision | Line number | New contents of line |
|---|---|---|---|
| Mahesh Phalke |
2:007533849deb | 1 | /***************************************************************************//** |
| Mahesh Phalke |
2:007533849deb | 2 | * @file sdram_sdpk1.c |
| Mahesh Phalke |
2:007533849deb | 3 | * @brief SDP-K1 SDRAM interfaces header file |
| Mahesh Phalke |
2:007533849deb | 4 | ******************************************************************************** |
| Mahesh Phalke |
2:007533849deb | 5 | * Copyright (c) 2022 Analog Devices, Inc. |
| Mahesh Phalke |
2:007533849deb | 6 | * All rights reserved. |
| Mahesh Phalke |
2:007533849deb | 7 | * |
| Mahesh Phalke |
2:007533849deb | 8 | * This software is proprietary to Analog Devices, Inc. and its licensors. |
| Mahesh Phalke |
2:007533849deb | 9 | * By using this software you agree to the terms of the associated |
| Mahesh Phalke |
2:007533849deb | 10 | * Analog Devices Software License Agreement. |
| Mahesh Phalke |
2:007533849deb | 11 | *******************************************************************************/ |
| Mahesh Phalke |
2:007533849deb | 12 | |
| Mahesh Phalke |
2:007533849deb | 13 | #ifndef SDRAM_SDPK1_ |
| Mahesh Phalke |
2:007533849deb | 14 | #define SDRAM_SDPK1_ |
| Mahesh Phalke |
2:007533849deb | 15 | |
| Mahesh Phalke |
2:007533849deb | 16 | /******************************************************************************/ |
| Mahesh Phalke |
2:007533849deb | 17 | /***************************** Include Files **********************************/ |
| Mahesh Phalke |
2:007533849deb | 18 | /******************************************************************************/ |
| Mahesh Phalke |
2:007533849deb | 19 | |
| Mahesh Phalke |
2:007533849deb | 20 | #include <stdint.h> |
| Mahesh Phalke |
2:007533849deb | 21 | |
| Mahesh Phalke |
2:007533849deb | 22 | /******************************************************************************/ |
| Mahesh Phalke |
2:007533849deb | 23 | /********************** Macros and Constants Definition ***********************/ |
| Mahesh Phalke |
2:007533849deb | 24 | /******************************************************************************/ |
| Mahesh Phalke |
2:007533849deb | 25 | |
| Mahesh Phalke |
2:007533849deb | 26 | /* SDRAM configs for SDP-K1 */ |
| Mahesh Phalke |
2:007533849deb | 27 | #define SDRAM_START_ADDRESS (volatile int8_t *)0xC0000000 |
| Mahesh Phalke |
2:007533849deb | 28 | #define SDRAM_SIZE_BYTES (16777216) // 16MBytes |
| Mahesh Phalke |
2:007533849deb | 29 | |
| Mahesh Phalke |
2:007533849deb | 30 | /******************************************************************************/ |
| Mahesh Phalke |
2:007533849deb | 31 | /************************ Public Declarations *********************************/ |
| Mahesh Phalke |
2:007533849deb | 32 | /******************************************************************************/ |
| Mahesh Phalke |
2:007533849deb | 33 | |
| Mahesh Phalke |
2:007533849deb | 34 | int32_t sdram_init(void); |
| Mahesh Phalke |
2:007533849deb | 35 | |
| Mahesh Phalke |
2:007533849deb | 36 | #endif /* end of SDRAM_SDPK1_ */ |