mirror of
https://gitee.com/moluo-tech/AT-Command
synced 2025-08-23 18:03:39 +00:00
22 lines
675 B
C
22 lines
675 B
C
![]() |
/******************************************************************************
|
|||
|
* @brief ST mcu Ƭ<EFBFBD><EFBFBD>flash<EFBFBD><EFBFBD><EFBFBD><EFBFBD>
|
|||
|
*
|
|||
|
* Copyright (c) 2018~2020, <morro_luo@163.com>
|
|||
|
*
|
|||
|
* SPDX-License-Identifier: Apache-2.0
|
|||
|
*
|
|||
|
* Change Logs:
|
|||
|
* Date Author Notes
|
|||
|
* 2018-09-09 Morro Initial version
|
|||
|
******************************************************************************/
|
|||
|
#ifndef _MCU_FLASH_H_
|
|||
|
#define _MCU_FLASH_H_
|
|||
|
|
|||
|
#include <stddef.h>
|
|||
|
|
|||
|
int mcu_flash_erase(unsigned int addr, size_t size);
|
|||
|
int mcu_flash_write(unsigned int addr ,const void *buf, size_t size);
|
|||
|
int mcu_flash_read(unsigned int addr ,void *buf, size_t size);
|
|||
|
|
|||
|
#endif
|