/************************************************************************************************************************ Copyright (C) All rights reserved.***********************************************************************************************************************//************************************************************************************************************************ @file flash.h* @brief This file implements device driver for FMC module.* @version 1.0.0* @date 2019/12/24***********************************************************************************************************************/#ifndef FLASH_H#define FLASH_H#include "userdefine.h"/***********************************************************************************************************************Macro definitions (Register bit)***********************************************************************************************************************//***********************************************************************************************************************Macro definitions***********************************************************************************************************************//***********************************************************************************************************************Typedef definitions***********************************************************************************************************************//***********************************************************************************************************************Global functions***********************************************************************************************************************/intEraseChip(uint32_tadr);intEraseSector(uint32_tadr);intProgramPage(uint32_tadr,uint32_tsz,uint8_t*buf);MD_STATUSflash_write(uint32_tadr,uint32_tsz,uint8_t*buf);/* Start user code for function. Do not edit comment generated here *//* End user code. Do not edit comment generated here */#endif