Int_sdram.h 418 B

12345678910111213
  1. #ifndef __INT_SDRAM_H
  2. #define __INT_SDRAM_H
  3. #include "main.h"
  4. #define INT_SDRAM_BASE_ADDR ((uint32_t)(0xC0000000)) /* SDRAM 起始地址 */
  5. #define INT_SDRAM_SIZE ((uint32_t)(32 * 1024 * 1024)) /* SDRAM 大小 32MB */
  6. void Int_sdram_init(void);
  7. void Int_sdram_write_buffer(uint8_t *pbuf, uint32_t addr, uint32_t len);
  8. void Int_sdram_read_buffer(uint8_t *pbuf, uint32_t addr, uint32_t len);
  9. #endif