⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 hfd.hem

📁 这是用Labwindows开发的一个RF test程序。 用于日本机种的组装后ANT 测试。
💻 HEM
字号:
/******************************************************************************/
/* SCCS: %Z% Name: %M% Date US: %G% %U% Ver.: %I% */
/******************************************************************************/
/*F(*************************************************************************** 
 * File name : hfd.hem
 * Project : ROAD RUNNER
 * Module :  Flash Manager
 * Date : (US) %G% %U%
 * Version : %I%
 * Compiler name and release(s) :
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                                    DESCRIPTION                             
 *
 *                      Internal macro definition include file
 *
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                           FUNCTIONS DEFINED IN THIS FILE
 *----------------------------------------------------------------------------* 
 * Name            | Object
 *----------------------------------------------------------------------------* 
 * 
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                                    EVOLUTION
 *----------------------------------------------------------------------------* 
 * Date     | Author     | Arnb   | Description
 *----------------------------------------------------------------------------* 
 * 25.05.99 | J.SCHWARTZ |        | Creation
 *----------------------------------------------------------------------------* 
 * 13.12.99 | N. BERTRAND  | XXYYYY | Add MC_FMM_WRITE_BLOCKNAME_WITH_SYNCHRO 
 *----------------------------------------------------------------------------* 
 * 12.01.00 | N. BERTRAND  | XXYYYY | Add MC_FMM_GET_STATUS_VERSION_SECTOR
 ***************************************************************************)F*/


#ifndef HFD_HEM
#define HFD_HEM


#define MC_HFDA_MAT_CNF   MC_RTK_OFSM (MOBI_FMM_TAT_UPDATE_SECTION_CNF,matb0_06SemONTatEvent, UNKNOWN)\
			  MC_RTK_OFSM (MOBI_FMM_TAT_STATUS_SECTION_CNF,matb0_06SemONTatEvent, UNKNOWN)\
			  MC_RTK_OFSM (MOBI_FMM_TAT_RESET_SECTION_CNF, matb0_06SemONTatEvent, UNKNOWN)\
			  MC_RTK_OFSM (MOBI_FMM_TAT_READ_CNF,          matb0_06SemONTatEvent, UNKNOWN)

/* Read a BlockName from the RAM image */
#define MC_FMM_READ_BLOCKNAME(BlockName) \
  (hfd2_30ReadBlockNameInRamImage(BlockName))

/* Write a BlockName in the RAM image and the Flash*/
#define MC_FMM_WRITE_BLOCKNAME(BlockName,PointorData) \
   (hfd2_31SaveBlockNameInRamImage(BlockName,PointorData))


/* Write a BlockName in the RAM image and the Flash with semaphore with synchronization */
#define MC_FMM_WRITE_BLOCKNAME_WITH_SYNCHRO(BlockName,PointorData) \
   (hfd2_33SaveBlockNameInRamImageSemaphore(BlockName,PointorData))


#define MC_FMM_WRITE_PREPAID_SECTION(BlockName) \
   (hfd2_32WritePrepaidSection(BlockName))

     /* Get the status of the version sector */
#define MC_FMM_GET_STATUS_VERSION_SECTOR(SectorNumber)\
     (a_fmm_StatusVersionSector[SectorNumber])


/* Persistent memory management */
#define MC_FMM_SAVE_RAM_IN_FLASH(Process,Instance,Address,Size,Sector,TimeSharingLevel,Retry) \
   (hfd7_8MCSaveRamInFlash(Process,Instance,Address,Size,Sector,TimeSharingLevel,Retry))


#define MC_FMM_ABORT_SAVE_RAM_IN_FLASH(Process,Instance,Sector) \
   (hfd7_9MCAbortSaveRamInFlash(Process,Instance,Sector))


#if defined(DEBUG_GSM_STRING)
#define MC_FMM_RESET_SECTION_IN_FLASH (hfd2_700MCResetSectionsInFlash())

#define MC_FMM_RESET_SAV_SECTION_IN_FLASH (hfd2_710MCResetFlashSettingsForSAV())

#define MC_FMM_RESET_OWN_MELODY (hfd2_91ResetOwnMelody())

#endif

#if defined(WAP_FTR) || defined (TELECA_MS20_WAP_FTR)
#define MC_FMM_RESET_WAP_SETTINGS_IN_FLASH {}
#endif

#if defined (VALIDATION_FLASH_HDW)
#define MC_FMM_TIMER_MANAGEMENT() hfd1_208TimerManagment()
#endif /* VALIDATION_FLASH_HDW */

#if defined(TFTP_WITH_MEMO_CPR)
#define MC_FMM_GET_MEMO_ADDRESS(SectorMemo) (hfd2_34GetMemoAddress(SectorMemo))

#endif

#if defined (SYNCHRONOUS_FILE_SYSTEM_FTR)
#define MC_FMM_WRAP_START_ERASE_SECTOR(address) (hfd1_300WrapStartEraseSector(address))
#define MC_FMM_WRAP_ERASE_SECTOR(address)  (hfd1_301WrapEraseSector(address))
#endif /* SYNCHRONOUS_FILE_SYSTEM_FTR */

#endif /* HFD_HEM */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -