📄 hee.het
字号:
/******************************************************************************/
/* SCCS: %Z% Name: %M% Date US: %G% %U% Ver.: %I% */
/******************************************************************************/
/*F(***************************************************************************
* File name : hee.het
* Project : X15
* Module : EEPROM
* Date : %G% %U%
* Version : %I%
* Compiler name and release(s) :
*----------------------------------------------------------------------------*
*----------------------------------------------------------------------------*
* DESCRIPTION
*
* External types definition include file
*
*----------------------------------------------------------------------------*
*----------------------------------------------------------------------------*
* EVOLUTION
*----------------------------------------------------------------------------*
* Date | Author | Arnb | Description
*----------------------------------------------------------------------------*
* 25.09.98 | E.GRANDIN | | Creation
***************************************************************************)F*/
/* #*/
#ifndef HEE_HET
#define HEE_HET
typedef struct
{
u8 v_hee_Tac[3];
u8 v_hee_Fac;
u8 v_hee_Snr[3];
u8 v_hee_Sp;
} t_hee_Imei;
typedef PACKED struct
{
u8 v_hee_CheckSum;
u8 v_hee_Version;
u16 v_hee_SectionSize;
u32 v_hee_Signature;
} t_hee_SectionHeader;
typedef struct
{
#if defined(LABWIN_NT)
u32 v_hee_InitStatus;
#else /* LABWIN_NT */
u32 RadioSection:2;
u32 OandMSection:2;
u32 KbdParametersSection:2;
u32 TraceSection:2;
u32 SpeechParametersSection:2;
u32 HotKeyParametersSection:2;
u32 CallListParametersSection:2;
u32 MelodyParametersSection:2;
u32 AudioParametersSection:2;
u32 BatParametersSection:2;
u32 SavParametersSection:2;
u32 SimParametersSection:2;
u32 SetupParametersSection:2;
u32 AddrSection:2;
u32 SettingParametersSection:2;
u32 Reserved:2;
#endif
} t_hee_InitStatus;
typedef struct
{
#if defined(LABWIN_NT)
u32 v_hee_InitStatusBis;
#else /* LABWIN_NT */
u32 DataSection:2;
u32 DebugSection:2;
u32 PatternSection:2;
u32 WapDataSection:2;
u32 WapEncryptedDataSection:2;
u32 GprsAppliSection:2;
u32 GprsStackSection:2;
u32 ProdSection:2;
u32 RRSection:2;
u32 VirginSection:2;
u32 Reserved:12;
#endif
} t_hee_InitStatusBis;
/* Block Name type */
typedef PACKED struct
{
#ifdef __unix
u16 v_BlockName; /* to verify alignment */
#endif
u8 *p_BlockAddress; /* union for address in RAM or offset in EEPROM */
u16 v_BlockLength; /* Length of the block */
u8 v_GAP_BlockName; /* For alignment */
u8 v_GAP_BlockName_1; /* For alignment */
} t_hee_BlockName;
/* EEPROM and RAM IMAGE information type */
typedef PACKED struct
{
u8* p_DefaultSectionAddress;
u8 v_SpecialWriteInEEPROM:1;
u8 v_SpecialChecksum:1;
u8 v_SpecialVerify:1;
u8 v_SpecialCopy:1;
u8 v_CipheringNeeded:1;
u8 v_NoActionIfCorrupted:1;
u8 v_RAMDefaultOnlyIfCorrupted:1;
u16 v_DefaultParamMustBeCryptedInFlash:1;
u16 v_CopyDefaultValuesSinceRamImage:1;
u16 v_GAP_SectionInformation_1:7; /* For alignment */
u16 v_GAP_SectionInformation_2; /* For alignment */
} t_hee_SectionInformation;
typedef PACKED struct
{
u8 v_SectionVersion;
u8 v_InitStatus:2;
u8 v_GAP_SectionInformation_More_1:6; /* For alignment */
u8 v_GAP_SectionInformation_More_2; /* For alignment */
u8 v_GAP_SectionInformation_More_3; /* For alignment */
} t_hee_SectionInformation_More;
#endif /* HEE_HET */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -