/*
 * flash_extern.h
 *
 *  Created on: 31-Aug-2022
 *      Author: Invcuser52
 */

#ifndef FLASH_EXTERN_H_
#define FLASH_EXTERN_H_

typedef struct flash_api_def
{
	uint32_t (*Flash_Write_Data_fp) (uint32_t, uint32_t *, uint16_t );
	uint32_t (*Flash_Erase_Data_fp) (uint32_t , uint16_t );
	uint32_t (*Flash_Erase_Sector_fp) (uint8_t );
}s_flash_api_def;
//
//
//#define Flash_Write_Data flash_api->Flash_Write_Data_fp
//#define Flash_Erase_Data flash_api->Flash_Erase_Data_fp
//#define Flash_Erase_Sector flash_api->Flash_Erase_Sector_fp
//

#endif /* FLASH_EXTERN_H_ */
