drv_sram.h 511 B

12345678910111213141516171819202122
  1. /*
  2. * Copyright (c) 2006-2021, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. * 2020-02-23 Malongwei first version
  9. */
  10. #ifndef __SRAM_PORT_H__
  11. #define __SRAM_PORT_H__
  12. /* parameters for sram peripheral */
  13. /* stm32f4 Bank3:0X68000000 */
  14. #define SRAM_BANK_ADDR ((uint32_t)0X68000000)
  15. /* data width: 8, 16, 32 */
  16. #define SRAM_DATA_WIDTH 16
  17. /* sram size */
  18. #define SRAM_SIZE ((uint32_t)0x00100000)
  19. #endif