ChipTest/PAN159/PAN159-Template/Library/StdDriver/driver/lib_driver_flash_pan159.h
2021-09-26 17:19:12 +08:00

27 lines
753 B
C
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*******************************************************************************
* @note Copyright (C) 2017 Shanghai Panchip Microelectronics Co., Ltd.
* All rights reserved.
*
* @file drv_flash.h
* @brief FLASH¶Áд
*
* @history - V1.0, 2017-03-10, xiaoguolin, first implementation.
*******************************************************************************/
#ifndef __DRV_FLASH_H
#define __DRV_FLASH_H
#ifdef __cplusplus
extern "C"{
#endif
#include "Mini58Series.h"
void flash_pan159_erase(uint32_t addr, uint16_t sectors);
void flash_pan159_write(uint32_t addr, void* p_data, uint16_t len);
void flash_pan159_read(uint32_t addr, void* p_data, uint16_t len);
#ifdef __cplusplus
}
#endif
#endif // __DRV_FLASH_H