01_SDK/modules/hal/panchip/panplat/pan1070/bsp/peripheral/inc/pan_fmc.h
@@ -151,6 +151,18 @@
}
/**
 * @brief Get busy status of FMC module
 * @param fmc Flash memory controller base
 * @note FMC changes to busy status when doing read/write/erase operations
 *       using software APIs in current fmc driver.
 * @return fmc is busy working (true) or not (false)
 */
__STATIC_FORCEINLINE bool FMC_IsBusyWorking(FLCTL_T *fmc)
{
    return (bool)fmc->X_FL_TRIG;
}
/**
  * @brief  This function is used to get flash unique id,
  * @param  fmc: where fmc is a flash peripheral.
  * @return None
@@ -224,20 +236,7 @@
  * @retval -1: Fail.
  */
extern int FMC_EraseBlock64k(FLCTL_T *fmc,unsigned long addr);
/**
  * @brief Erase the whole flash memory.
  *
  * This function is used to erase all data in flash, include
  * Code Area and Info Area.
  *
  * @note This API should only be used when you really know what
  * you are doing.
  *
  * @param fmc: where fmc is a flash peripheral.
  * @retval 0: Success.
  * @retval -1: Fail.
  */
extern int FMC_EraseChip(FLCTL_T *fmc);
/**
  * @brief Erase specific data in flash code area.
  *