| 12345678910111213 |
- #ifndef __INT_SDRAM_H
- #define __INT_SDRAM_H
- #include "main.h"
- #define INT_SDRAM_BASE_ADDR ((uint32_t)(0xC0000000)) /* SDRAM 起始地址 */
- #define INT_SDRAM_SIZE ((uint32_t)(32 * 1024 * 1024)) /* SDRAM 大小 32MB */
- void Int_sdram_init(void);
- void Int_sdram_write_buffer(uint8_t *pbuf, uint32_t addr, uint32_t len);
- void Int_sdram_read_buffer(uint8_t *pbuf, uint32_t addr, uint32_t len);
- #endif
|