12 lines
250 B
C
12 lines
250 B
C
#ifndef BSP_SPI_FLASH_H
|
|
#define BSP_SPI_FLASH_H
|
|
|
|
#include <stdint.h>
|
|
|
|
void bsp_spi_flash_init(void);
|
|
void bsp_spi_flash_reset(void);
|
|
uint32_t bsp_spi_flash_read_id(void);
|
|
void bsp_spi_flash_read(uint32_t flash_addr, void *dst, uint32_t len);
|
|
|
|
#endif
|