Files
TencentOS-tiny/board/BDW01-STM32L496VG/BSP/Hardware/ONCHIP_FLASH/onchip_flash.h
2020-11-18 18:05:05 +08:00

14 lines
326 B
C

#ifndef __ONCHIP_FLASH_H__
#define __ONCHIP_FLASH_H__
#include "stdint.h"
int stm32l4_norflash_onchip_read(uint32_t addr, void *buf, size_t len);
int stm32l4_norflash_onchip_write(uint32_t addr, const void *buf, size_t len);
int stm32l4_norflash_onchip_erase(uint32_t addr, size_t size);
#endif /* __ONCHIP_FLASH_H__ */