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

📄 hee.hem

📁 这是用Labwindows开发的一个RF test程序。 用于日本机种的组装后ANT 测试。
💻 HEM
📖 第 1 页 / 共 2 页
字号:
#define MC_HEE_SECTION_VAR( SectionType, SectionVar , BlockName ) \
  SectionType SectionVar

#define MC_HEE_SECTION_CONST( SectionType, SectionDefaultVar ) \
  SectionType SectionDefaultVar


#define MC_HEE_SECTION_TYPE_BEGIN( SectionType ) \
  typedef PACKED struct \
  {

#define MC_HEE_SECTION_TYPE_END( SectionType ) \
  } SectionType;


#define MC_HEE_FIELD_TYPE_BEGIN( FieldType ) \
  typedef PACKED struct \
  {
	 
#define MC_HEE_FIELD_TYPE_END( FieldType ) \
  } FieldType;


/* a simple block */
#define MC_HEE_FIELD_BLOCK( FieldType, FieldVar , BlockName ) \
    FieldType  FieldVar;

/* array of blocks : each element of this array is a block */
#define MC_HEE_FIELD_EXPAND_ARRAY( FieldType, FieldVar, ArraySize , BlockNamePrefix , FirstIndex ) \
    FieldType  FieldVar[ArraySize];

/* array of expandable fields : each element of this array is to be expanded */
#define MC_HEE_FIELD_EXPAND_ELEMENTS( FieldType, FieldVar, ArraySize , FirstIndex ) \
    FieldType  FieldVar[ArraySize];

/* a block that is an array => store only its name */
#define MC_HEE_FIELD_ARRAY( FieldType, FieldVar, ArraySize , BlockName ) \
    FieldType   FieldVar[ArraySize];

/* a block that is an array of arrays => store only its name */
#define MC_HEE_FIELD_2D_ARRAY( FieldType, FieldVar, RowSize , ColSize , BlockName ) \
    FieldType   FieldVar[RowSize][ColSize];

/* a structured type to analyze */
#define MC_HEE_FIELD_EXPAND_STRUC( FieldType, FieldVar ) \
    FieldType   FieldVar;

/* normal type definition */

#define MC_HEE_BEGIN_PACKED_TYPE( FieldType ) \
  typedef PACKED struct \
  {

#define MC_HEE_END_PACKED_TYPE( FieldType ) \
  } FieldType;


#define MC_HEE_GAP( FieldVar , ArraySize)\
    u8   FieldVar[ArraySize];

#define MC_HEE_BEGIN_EXT_TYPE	MC_PCC_BEGIN_EXT_TYPE

#define MC_HEE_END_EXT_TYPE	MC_PCC_END_EXT_TYPE

#define MC_HEE_BEGIN_UNION( StructName ) \
   typedef PACKED union {

#define MC_HEE_END_UNION	MC_PCC_END_UNION

#define MC_HEE_NORMAL_FIELD	MC_PCC_FIELD

#define MC_HEE_BIT_FIELD	MC_PCC_BIT_FIELD

#ifdef __unix

#define MC_HEE_BLOCK_ADD_SIZE(BlockName,Block)  \
  { (BlockName), ((u8*)&(Block)), (u16)(sizeof Block) }

#define MC_HEE_BLOCK_OFF_SIZE(BlockName,BlockOffset,BlockSize)  \
  { (BlockName), (u8*)(BlockOffset), (u16)(BlockSize) }

#else

#define MC_HEE_BLOCK_ADD_SIZE(BlockName,Block)  \
  { ((u8*)&(Block)), (u16)(sizeof Block) }

#define MC_HEE_BLOCK_OFF_SIZE(BlockName,BlockOffset,BlockSize)  \
  { (u8*)(BlockOffset), (u16)(BlockSize) }

#endif /* __unix */

/* used to know if a section is loaded in RAM IMAGE or not */

#define MC_HEE_SECTION_LOADED_IN_RAM_IMAGE
#define MC_HEE_SECTION_NOT_LOADED_IN_RAM_IMAGE

/* Access Macro for Eeprom section status */

#define MC_HEE_WAP_DATA_SECTION_STATUS             s_hee_InitStatusBis.WapDataSection
#define MC_HEE_WAP_ENCRYPTED_DATA_SECTION_STATUS   s_hee_InitStatusBis.WapEncryptedDataSection
#define MC_HEE_PATTERN_SECTION_STATUS   s_hee_InitStatusBis.PatternSection
#define MC_HEE_DEBUG_SECTION_STATUS     s_hee_InitStatusBis.DebugSection
#define MC_HEE_DATA_SECTION_STATUS      s_hee_InitStatusBis.DataSection
#define MC_HEE_USER_SECTION_STATUS	s_hee_InitStatusBis.UserSection
#define MC_HEE_RR_SECTION_STATUS	s_hee_InitStatusBis.RRSection
#define MC_HEE_PROD_SECTION_STATUS	s_hee_InitStatusBis.ProdSection	
#define MC_HEE_VIRGIN_SECTION_STATUS	s_hee_InitStatusBis.VirginSection
  
#define MC_HEE_RADIO_SECTION_STATUS     s_hee_InitStatus.RadioSection
#define MC_HEE_OANDM_SECTION_STATUS     s_hee_InitStatus.OandMSection
#define MC_HEE_KEYBOARD_SECTION_STATUS  s_hee_InitStatus.KbdParametersSection
#define MC_HEE_TRACE_SECTION_STATUS     s_hee_InitStatus.TraceSection
#define MC_HEE_SPEECH_SECTION_STATUS    s_hee_InitStatus.SpeechParametersSection
#define MC_HEE_HOTKEYS_SECTION_STATUS   s_hee_InitStatus.HotKeyParametersSection
#define MC_HEE_MELODY_SECTION_STATUS    s_hee_InitStatus.MelodyParametersSection
#define MC_HEE_CALLLIST_SECTION_STATUS  s_hee_InitStatus.CallListParametersSection
#define MC_HEE_IMEI_SECTION_STATUS      v_hee_IMEISectionError
#define MC_HEE_AUDIO_SECTION_STATUS     s_hee_InitStatus.AudioParametersSection
#define MC_HEE_BATTERY_SECTION_STATUS   s_hee_InitStatus.BatParametersSection
#define MC_HEE_SAV_SECTION_STATUS       s_hee_InitStatus.SavParametersSection
#define MC_HEE_SIM_SECTION_STATUS       s_hee_InitStatus.SimParametersSection
#define MC_HEE_SETUP_SECTION_STATUS     s_hee_InitStatus.SetupParametersSection
#define MC_HEE_SETTINGS_SECTION_STATUS  s_hee_InitStatus.SettingParametersSection
#define MC_HEE_ADDRESS_SECTION_STATUS   s_hee_InitStatus.AddrSection
#define MC_HEE_GPRS_STACK_SECTION_STATUS s_hee_InitStatusBis.GprsStackSection 
#define MC_HEE_GPRS_APPLI_SECTION_STATUS s_hee_InitStatusBis.GprsAppliSection


/*This Macro has append for FMM */
#define MC_HEE_SET_STATUS(Section_Number,vp_Status) hee0_16SetSectionStatus(Section_Number,vp_Status);
#define MC_HEE_READ_STATUS(Section_Number) hee0_43ReadStatus(Section_Number);
#define MC_HEE_VERSION(Section_Number)  v_hee_SectionInformation_More[Section_Number - 1].v_SectionVersion


#if !defined (PROCESS_FMM)
#if defined(MELODY_ATTACHMENT_SMS_IMPROVMENT_FTR) && !defined(FSS_FTR)
#define MC_HEE_RESET_OWN_MELODY         hee0_41ResetOwnMelody() 
#endif /* MELODY_ATTACHMENT_SMS_IMPROVMENT_FTR && !FSS_FTR*/
#endif

#if !defined (PROCESS_FMM)
#define MC_HEE_RESET_SAV_SECTION_IN_EEPROM hee0_39ResetEEpromSettingsForSAV()
#endif

/* This macro should be used by the Process MM */
#define MC_HEE_READ_STATUS_RAU_AT_SWITCH_OFF s_hee_GprsStackParam.s_hee_GprsStack.s_hee_UserFeatures.v_hee_RauAtSwitchOff

#endif /* HEE_HEM */

⌨️ 快捷键说明

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