/* SELENE PACE level2B data header file version 0.4 15 February 2007 mode 01,02,11,12,13,14,24,15,25,16,26,17,18,19,29,1A,2A,1B, (+80:internal count) mode 72->(17),73->(11),74->(17), 71, 78, 70 version 1.0 05 March 2007 version 1.1 01 May 2007 version 1.2 14 June 2007 version 1.3 18 June 2007 version 1.4 19 June 2007 version 1.5 20 June 2007 version 1.6 30 June 2007 version 2.0 08 August 2007 version 2.1 10 August 2007 version 3.0 23 August 2007 version 4.0 04 September 2007 version 5.0 05 August 2009 */ #define UCHAR unsigned char #define USHORT unsigned short #define ULONG unsigned long /***********************************************************************/ /***********************************************************************/ /* HEADER */ /***********************************************************************/ /***********************************************************************/ typedef struct Header_PACE { ULONG sensor; /* 0 ESA-S1 1 ESA-S2 2 IMA 3 IEA 4 ALL */ ULONG mode; /* data mode = data mode command */ ULONG mode2; /* sub-data mode */ ULONG type; /* data type */ ULONG size; /* data size */ ULONG time_resolution; /* time resolution (msec) */ ULONG sampl_time; /* sampling time (16000/*** msec)*/ ULONG ver; /* data version */ ULONG tbl_ver; /* onboard table version */ ULONG obs_ver; /* onboard software version */ ULONG timeH; /* 1pps TI High Word */ ULONG timeM; /* 1pps TI Medium Word */ ULONG timeL; /* 1pps TI Low Word */ ULONG bc; /* base clock */ ULONG ic; /* increment counter */ ULONG sc; /* base counter */ ULONG sc_step0; /* sc @ energy sweep 0 */ ULONG t_date; /* total date */ ULONG time_ms; /* msec of day @ energy sweep 0 */ ULONG yyyymmdd; ULONG hhmmss; ULONG tof_tbl; /* IMA */ ULONG pd_pha; ULONG svg_tbl; /* IMA IEA */ ULONG sva_tbl; ULONG svs_tbl; ULONG obs_tbl; ULONG obs_ctr; ULONG nv_high; ULONG nv_low; ULONG data_quality; /* data quality */ ULONG pol_step; /* polar angle step number */ ULONG az_step; /* azimuthal angle step number */ ULONG ene_step; /* energy step number */ ULONG mass_step; /* mass step number */ ULONG pitch_step; /* pitch angle step number */ ULONG tof_step; /* tof step number */ ULONG solwnd_step; /* solar wind number */ ULONG exb_step; /* ExB number */ ULONG event_step; /* event counter number */ ULONG trash_step; /* trash counter number */ ULONG tof_disc_start; /* TOF DISCRI SCAN h'73 MODE IMA IEA ONLY */ ULONG tof_disc_stop; /* TOF DISCRI SCAN h'73 MODE IMA IEA ONLY */ ULONG hv_scan_level; /* 1Byte HV SCAN h'72 MODE ONLY */ ULONG spare[20]; /* total header 256bytes = 64 long */ } H_P_t; /*===================== ESA DATA TYPE =====================*/ /* ------- TYPE 00 ------- */ struct D_ESA_TYPE00 { ULONG event[16]; USHORT cnt[32][16][64]; USHORT trash[32][16][2]; }; /* ------- TYPE 01 ------- */ struct D_ESA_TYPE01 { ULONG event[16]; USHORT cnt[32][4][16]; USHORT trash[32][4][2]; }; /* ------- TYPE 02 ------- */ struct D_ESA_TYPE02 { ULONG event[16]; USHORT cnt[32][32]; }; /* ------- TYPE 03 ------- */ struct D_ESA_TYPE03 { ULONG event[16]; USHORT cnt[32][8][64]; USHORT trash[32][8][2]; }; /*===================== IMA DATA TYPE =====================*/ /* ------- TYPE 40 ------- */ struct D_IMA_TYPE40 { ULONG event[4][16]; USHORT cnt[4][32][1024]; }; /* ------- TYPE 41 ------- */ struct D_IMA_TYPE41 { ULONG event[4][16]; USHORT cnt[32][16][64]; USHORT trash[32][16][2]; }; /* ------- TYPE 42 ------- */ struct D_IMA_TYPE42 { ULONG event[4][16]; USHORT cnt[32][4][16]; USHORT trash[32][4][2]; }; /* ------- TYPE 43 ------- */ struct D_IMA_TYPE43 { ULONG event[4][16]; USHORT cnt[8][32][4][16]; USHORT trash[8][32][4][2]; }; /* ------- TYPE 44 ------- */ struct D_IMA_TYPE44 { ULONG event[4][16]; USHORT s_cnt[16][32][64]; USHORT cnt[16][32][16][64]; }; /* ------- TYPE 45 ------- */ struct D_IMA_TYPE45 { ULONG event[4][16]; USHORT cnt[16][32][4][16]; USHORT trash[16][32][4][2]; }; /*===================== IEA DATA TYPE =====================*/ /* ------- TYPE 80 ------- */ struct D_IEA_TYPE80 { ULONG event[16]; USHORT cnt[32][4][16]; USHORT trash[32][4][2]; }; /* ------- TYPE 81 ------- */ struct D_IEA_TYPE81 { ULONG event[16]; USHORT cnt[32][16][64]; USHORT trash[32][16][2]; }; /* ------- TYPE 82 ------- */ struct D_IEA_TYPE82 { ULONG event[16]; USHORT s_cnt[32][128]; USHORT cnt[32][16][64]; }; /*===================== SPECIAL DATA TYPE =====================*/ /* ------- TYPE SV_MONITOR ------- */ struct D_TYPEF0_ESA_SV_MONITOR { USHORT sv_unit; USHORT sp[1024]; USHORT ang1[1024]; USHORT ang2[1024]; }; /* ------- TYPE SV_MONITOR ------- */ struct D_TYPEF1_IMEA_SV_MONITOR { USHORT sv_unit; USHORT sp[1024]; USHORT ang1[1024]; USHORT ang2[1024]; USHORT g[1024]; }; /* ------- TYPE LMAG_MONITOR ------- */ struct D_TYPEF2_LMAG_MONITOR { ULONG time; ULONG B[16]; ULONG x[16]; ULONG y[16]; ULONG z[16]; }; /* ------- TYPE INTERNAL_INFORMATION ------- */ struct D_TYPEF3_INTERNAL_INFORMATION { ULONG irl1; USHORT esa_s1_irl1_addr; USHORT esa_s2_irl1_addr; USHORT ima_irl1_addr; USHORT iea_irl1_addr; ULONG esa_s1_intr; ULONG esa_s2_intr; ULONG ima_intr; ULONG iea_intr; USHORT tof_disc_start_org; USHORT tof_disc_flg; ULONG hv_scan_start; ULONG hv_scan_gap; ULONG esa_s1_sva1ovsvs_p; ULONG esa_s2_sva1ovsvs_p; ULONG ima_sva1ovsvs_p; ULONG iea_sva1ovsvs_p; ULONG esa_s1_sva2ovsvs_p; ULONG esa_s2_sva2ovsvs_p; ULONG ima_sva2ovsvs_p; ULONG iea_sva2ovsvs_p; ULONG esa_s1_sva1ovsvs_h; ULONG esa_s2_sva1ovsvs_h; ULONG ima_sva1ovsvs_h; ULONG iea_sva1ovsvs_h; ULONG esa_s1_sva2ovsvs_h; ULONG esa_s2_sva2ovsvs_h; ULONG ima_sva2ovsvs_h; ULONG iea_sva2ovsvs_h; USHORT tof_disc_start; USHORT tof_disc_start_mon; USHORT tof_disc_stop; USHORT tof_disc_stop_mon; USHORT tof_disc_start_scan1; USHORT tof_disc_start_scan2; USHORT tof_disc_start_scan3; USHORT tof_disc_start_scan4; USHORT tof_disc_stop_scan1; USHORT tof_disc_stop_scan2; USHORT tof_disc_stop_scan3; USHORT tof_disc_stop_scan4; ULONG nv_l; ULONG nv_l_cmd; ULONG nv_h; ULONG nv_h_cmd; ULONG errbufclr_ctr; USHORT esa_s1_obs_mode; USHORT esa_s2_obs_mode; USHORT ima_obs_mode; USHORT iea_obs_mode; USHORT esa_s1_ena_dis; USHORT esa_s2_ena_dis; USHORT ima_ena_dis; USHORT iea_ena_dis; USHORT esa_s1_clk_status; USHORT esa_s2_clk_status; USHORT ima_clk_status; USHORT iea_clk_status; USHORT tof_disc_start2; USHORT tof_disc_stop2; }; /*==========================================================*/ /***********************************************************************/ /* ELECTRON MODE EC-N */ /* Electron Check Mode 0x00 */ /* 16X64(mode1) 16s RAM67 NB TYPE00 */ /***********************************************************************/ typedef struct D_ESA_TYPE00 D_ESAS1_TYPE00_EC_N_t; /* ESAS1 */ typedef struct D_ESA_TYPE00 D_ESAS2_TYPE00_EC_N_t; /* ESAS2 */ /***********************************************************************/ /* ELECTRON MODE EM_N */ /* Electron Magnetosphere Noraml Mode 0x01 */ /* 4X16(mode3) 2s RAM67 NB TYPE01 */ /***********************************************************************/ typedef struct D_ESA_TYPE01 D_ESAS1_TYPE01_EM_N_t;/* ESAS1 */ typedef struct D_ESA_TYPE01 D_ESAS2_TYPE01_EM_N_t;/* ESAS2 */ /***********************************************************************/ /* ELECTRON MODE EM_H */ /* Electron Magnetosphere High Mode 0x08 */ /* 4X16(mode3) 1s RAM67 NB TYPE01 */ /***********************************************************************/ typedef struct D_ESA_TYPE01 D_ESAS1_TYPE01_EM_H_t;/* ESAS1 */ typedef struct D_ESA_TYPE01 D_ESAS2_TYPE01_EM_H_t;/* ESAS2 */ /***********************************************************************/ /* ELECTRON MODE EM_R */ /* Electron Magnetosphere No Compression Mode 0x02 */ /* 4X16(mode3) 4s RAM67 NB TYPE01 */ /***********************************************************************/ typedef struct D_ESA_TYPE01 D_ESAS1_TYPE01_EM_R_t;/* ESAS1 */ typedef struct D_ESA_TYPE01 D_ESAS2_TYPE01_EM_R_t;/* ESAS2 */ /***********************************************************************/ /* ELECTRON MODE ER_N */ /* Electron Electron Reflectometer Normal Mode 0x03 */ /* 16X64(mode1) 16s(2s) RAM0123 NB TYPE00 */ /***********************************************************************/ typedef struct D_ESA_TYPE00 D_ESAS1_TYPE00_ER_N_t;/* ESAS1 */ typedef struct D_ESA_TYPE00 D_ESAS2_TYPE00_ER_N_t;/* ESAS2 */ /***********************************************************************/ /* ELECTRON MODE ER_H */ /* Electron Electron Reflectometer High Mode 0x08 */ /* 16X64(mode1) 8s(1s) RAM0123 B TYPE02 */ /***********************************************************************/ typedef struct D_ESA_TYPE02 D_ESAS1_TYPE02_ER_H_t;/* ESAS1 */ typedef struct D_ESA_TYPE02 D_ESAS2_TYPE02_ER_H_t;/* ESAS2 */ /***********************************************************************/ /* ELECTRON MODE ER_W */ /* Electron Electron Reflectometer Wake Mode 0x04 */ /* 16X64(mode1) 8s(1s) RAM0123 NB POL8 TYPE03 */ /***********************************************************************/ typedef struct D_ESA_TYPE03 D_ESAS1_TYPE03_ER_W_t;/* ESAS1 */ typedef struct D_ESA_TYPE03 D_ESAS2_TYPE03_ER_W_t;/* ESAS2 */ /***********************************************************************/ /* ELECTRON MODE ER_B */ /* Electron Electron Reflectometer Backup Mode 0x05 */ /* 16X64(mode1) 16s(4s) RAM45 NB POL16 TYPE00 */ /***********************************************************************/ typedef struct D_ESA_TYPE00 D_ESAS1_TYPE00_ER_B_t;/* ESAS1 */ typedef struct D_ESA_TYPE00 D_ESAS2_TYPE00_ER_B_t;/* ESAS2 */ /***********************************************************************/ /* ELECTRON MODE ER_R */ /* Electron Electron Reflectometer No Compression Mode 0x07 */ /* 16X64(mode1) 8s(1s) RAM0123 B TYPE02 */ /***********************************************************************/ typedef struct D_ESA_TYPE02 D_ESAS1_TYPE02_ER_R_t;/* ESAS1 */ typedef struct D_ESA_TYPE02 D_ESAS2_TYPE02_ER_R_t;/* ESAS2 */ /***********************************************************************/ /* ELECTRON MODE PM-1 */ /* Electron PM NORMAL 1 Mode 0x21 */ /* 4X16(mode2) 16s RAM01234567 NB TYPE01 */ /***********************************************************************/ typedef struct D_ESA_TYPE01 D_ESAS1_TYPE01_PM_1_t;/* ESAS1 */ typedef struct D_ESA_TYPE01 D_ESAS2_TYPE01_PM_1_t;/* ESAS2 */ /***********************************************************************/ /* ELECTRON MODE PM-2 */ /* Electron PM NORMAL 2 Mode 0x22 */ /* 16X64(mode1) 32s RAM01234567 NB TYPE00 */ /***********************************************************************/ typedef struct D_ESA_TYPE00 D_ESAS1_TYPE00_PM_2_t;/* ESAS1 */ typedef struct D_ESA_TYPE00 D_ESAS2_TYPE00_PM_2_t;/* ESAS2 */ /*------------------------------------------------------------------------*/ /***********************************************************************/ /* ION MODE IC_T */ /* Ion Time Check Mode 0x10 */ /* IMA 4X1X1024(direct1) 16s RAM0123 MASS1024 TYPE40 */ /* IEA 4X16(mode3) 16s RAM0123 TYPE80 */ /***********************************************************************/ typedef struct D_IMA_TYPE40 D_IMA_TYPE40_IC_T_t;/* IMA */ typedef struct D_IEA_TYPE80 D_IEA_TYPE80_IC_T_t;/* IEA */ /***********************************************************************/ /* ION MODE IC_P */ /* Ion Position Check Mode 0x11 */ /* IMA 16X64X16(mode1) 16s RAM0123 MASS1 TYPE41 */ /* IEA 16X64(mode1) 16s RAM0123 TYPE81 */ /***********************************************************************/ typedef struct D_IMA_TYPE41 D_IMA_TYPE41_IC_P_t;/* IMA */ typedef struct D_IEA_TYPE81 D_IEA_TYPE81_IC_P_t;/* IEA */ /***********************************************************************/ /* ION MODE IM_N */ /* Ion Magnetosphere Normal Mode 0x12 */ /* IMA 4X16X16(mode3) 1s RAM0123 MASS1 TYPE42 */ /* IEA 4X16(mode3) 1s RAM0123 TYPE80 */ /***********************************************************************/ typedef struct D_IMA_TYPE42 D_IMA_TYPE42_IM_N_t;/* IMA */ typedef struct D_IEA_TYPE80 D_IEA_TYPE80_IM_N_t;/* IEA */ /***********************************************************************/ /* ION MODE IM_L */ /* Ion Magnetosphere Low Mode 0x1B */ /* IMA 4X16X16(mode3) 2s RAM0123 MASS1 TYPE42 */ /* IEA 4X16(mode3) 2s RAM0123 TYPE80 */ /***********************************************************************/ typedef struct D_IMA_TYPE42 D_IMA_TYPE42_IM_L_t;/* IMA */ typedef struct D_IEA_TYPE80 D_IEA_TYPE80_IM_L_t;/* IEA */ /***********************************************************************/ /* ION MODE IL_S */ /* Ion Lunar Solar Wind Mode 0x13 */ /* IMA 4X16X16(mode3) 8s RAM0 MASS8 TYPE43 */ /* IEA 16X64(mode1) 2s RAM0 128PT TYPE82 */ /* ION MODE IL_S_L */ /* Ion Lunar Solar Wind Mode 0x19 */ /* IMA 4X16X16(mode3) 8s RAM0 MASS8 TYPE43 */ /* IEA 16X64(mode1) 8s RAM0 128PT TYPE82 */ /***********************************************************************/ typedef struct D_IMA_TYPE43 D_IMA_TYPE43_IL_S_t;/* IMA */ typedef struct D_IEA_TYPE82 D_IEA_TYPE82_IL_S_t;/* IEA */ /***********************************************************************/ /* ION MODE IL_V */ /* Ion Lunar WAKE Mode 0x14 */ /* IMA 4X16X16(mode3) 8s RAM1 MASS8 TYPE43 */ /* IEA 16X64(mode1) 8s RAM1 TYPE81 */ /***********************************************************************/ typedef struct D_IMA_TYPE43 D_IMA_TYPE43_IL_V_t;/* IMA */ typedef struct D_IEA_TYPE81 D_IEA_TYPE81_IL_V_t;/* IEA */ /***********************************************************************/ /* ION MODE IL_M */ /* Ion Lunar Ion Mass Survey Mode 0x15 */ /* IMA 4X16X64(drct3) 16s RAM0123 Time Profile TYPE45 */ /* IEA 4X16(mode3) 16s RAM0123 TYPE80 */ /***********************************************************************/ typedef struct D_IMA_TYPE45 D_IMA_TYPE45_IL_M_t;/* IMA */ typedef struct D_IEA_TYPE80 D_IEA_TYPE80_IL_M_t;/* IEA */ /***********************************************************************/ /* ION MODE IL_R */ /* Ion Lunar Ion Wake No Compression Mode 0x16 */ /* IMA 4X16X16(mode3) 16s RAM1 MASS8 TYPE43 */ /* IEA 4X16(mode3) 16s RAM1 TYPE80 */ /***********************************************************************/ typedef struct D_IMA_TYPE43 D_IMA_TYPE43_IL_R_t;/* IMA */ typedef struct D_IEA_TYPE80 D_IEA_TYPE80_IL_R_t;/* IEA */ /***********************************************************************/ /* ION MODE IS_A */ /* Ion Lunar Ion Sputtering Mode 0x17 */ /* IMA 16X64X16(mode1) 16s(4s) RAM2 8ENERGY MASS16 TYPE44 */ /* IEA 16X64(mode1) 2s RAM0 128PT TYPE82 */ /***********************************************************************/ typedef struct D_IMA_TYPE44 D_IMA_TYPE44_IS_A_t;/* IMA */ typedef struct D_IEA_TYPE82 D_IEA_TYPE82_IS_A_t;/* IEA */ /***********************************************************************/ /* ION MODE PM_1 */ /* Ion PM NORMAL1 Mode 0x21 */ /* IMA 16X4X16(mode2) 16s RAM0123 MASS16 TYPE45 */ /* IEA 4X16(mode2) 16s RAM0123 TYPE80 */ /***********************************************************************/ typedef struct D_IMA_TYPE45 D_IMA_TYPE45_PM_1_t;/* IMA */ typedef struct D_IEA_TYPE80 D_IEA_TYPE80_PM_1_t;/* IEA */ /***********************************************************************/ /* ION MODE PM_2 */ /* Ion PM NORMAL2 Mode 0x22 */ /* IMA 16X16X64(mode1) 32s RAM0123 MASS1 TYPE41 */ /* IEA 16X64(mode1) 32s RAM0123 TYPE81 */ /***********************************************************************/ typedef struct D_IMA_TYPE41 D_IMA_TYPE41_PM_2_t;/* IMA */ typedef struct D_IEA_TYPE81 D_IEA_TYPE81_PM_2_t;/* IEA */ /***********************************************************************/ /* SPECIAL MODE SV_MONITOR */ /* SV MONITOR MODE Command Mode 0x0071 */ /* ESA-S1 sp 1024 , ang1 1024 , ang2 1024 */ /* ESA-S2 sp 1024 , ang1 1024 , ang2 1024 */ /* IMA sp 1024 , ang1 1024 , ang2 1024 , g 1024 */ /* IEA sp 1024 , ang1 1024 , ang2 1024 , g 1024 */ /***********************************************************************/ typedef struct D_TYPEF0_ESA_SV_MONITOR D_TYPEF0_ESAS1_SV_MONITOR_t;/* ESAS1 */ typedef struct D_TYPEF0_ESA_SV_MONITOR D_TYPEF0_ESAS2_SV_MONITOR_t;/* ESAS2 */ typedef struct D_TYPEF1_IMEA_SV_MONITOR D_TYPEF1_IMA_SV_MONITOR_t;/* IMA */ typedef struct D_TYPEF1_IMEA_SV_MONITOR D_TYPEF1_IEA_SV_MONITOR_t;/* IEA */ /***********************************************************************/ /* SPECIAL MODE LMAG_MONITOR */ /* LMAG MONITOR MODE Command Mode 0x0078 */ /***********************************************************************/ typedef struct D_TYPEF2_LMAG_MONITOR D_TYPEF2_LMAG_MONITOR_t; /***********************************************************************/ /* SPECIAL MODE INTERNAL_INFORMATION */ /* INTERNAL INFORMATION MODE Command Mode 0x0070 */ /***********************************************************************/ typedef struct D_TYPEF3_INTERNAL_INFORMATION D_TYPEF3_INTERNAL_INFORMATION_t; /***********************************************************************/ /* data type definition ESA */ /***********************************************************************/ typedef struct D_ESA_TYPE00 D_ESAS1_TYPE00_t; /* ESAS1 */ typedef struct D_ESA_TYPE00 D_ESAS2_TYPE00_t; /* ESAS2 */ typedef struct D_ESA_TYPE01 D_ESAS1_TYPE01_t; /* ESAS1 */ typedef struct D_ESA_TYPE01 D_ESAS2_TYPE01_t; /* ESAS2 */ typedef struct D_ESA_TYPE02 D_ESAS1_TYPE02_t; /* ESAS1 */ typedef struct D_ESA_TYPE02 D_ESAS2_TYPE02_t; /* ESAS2 */ typedef struct D_ESA_TYPE03 D_ESAS1_TYPE03_t; /* ESAS1 */ typedef struct D_ESA_TYPE03 D_ESAS2_TYPE03_t; /* ESAS2 */ /***********************************************************************/ /* data type definition IMA */ /***********************************************************************/ typedef struct D_IMA_TYPE40 D_IMA_TYPE40_t; /* IMA */ typedef struct D_IMA_TYPE41 D_IMA_TYPE41_t; /* IMA */ typedef struct D_IMA_TYPE42 D_IMA_TYPE42_t; /* IMA */ typedef struct D_IMA_TYPE43 D_IMA_TYPE43_t; /* IMA */ typedef struct D_IMA_TYPE44 D_IMA_TYPE44_t; /* IMA */ typedef struct D_IMA_TYPE45 D_IMA_TYPE45_t; /* IMA */ /***********************************************************************/ /* data type definition IEA */ /***********************************************************************/ typedef struct D_IEA_TYPE80 D_IEA_TYPE80_t; /* IEA */ typedef struct D_IEA_TYPE81 D_IEA_TYPE81_t; /* IEA */ typedef struct D_IEA_TYPE82 D_IEA_TYPE82_t; /* IEA */ /***********************************************************************/ /***********************************************************************/ /* MODE 01 PM NORMAL1 */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_01 { H_P_t header; D_ESAS1_TYPE01_PM_1_t data; } S_ESAS1_MODE_01_t; typedef struct S_ESAS2_MODE_01 { H_P_t header; D_ESAS2_TYPE01_PM_1_t data; } S_ESAS2_MODE_01_t; typedef struct S_IMA_MODE_01 { H_P_t header; D_IMA_TYPE45_PM_1_t data; } S_IMA_MODE_01_t; typedef struct S_IEA_MODE_01 { H_P_t header; D_IEA_TYPE80_PM_1_t data; } S_IEA_MODE_01_t; /***********************************************************************/ /***********************************************************************/ /* MODE 02 PM NORMAL2 */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_02 { H_P_t header; D_ESAS1_TYPE00_PM_2_t data; } S_ESAS1_MODE_02_t; typedef struct S_ESAS2_MODE_02 { H_P_t header; D_ESAS2_TYPE00_PM_2_t data; } S_ESAS2_MODE_02_t; typedef struct S_IMA_MODE_02 { H_P_t header; D_IMA_TYPE41_PM_2_t data; } S_IMA_MODE_02_t; typedef struct S_IEA_MODE_02 { H_P_t header; D_IEA_TYPE81_PM_2_t data; } S_IEA_MODE_02_t; /***********************************************************************/ /***********************************************************************/ /* MODE 11 TOFCAL */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_11 { H_P_t header; D_ESAS1_TYPE00_EC_N_t data; } S_ESAS1_MODE_11_t; typedef struct S_ESAS2_MODE_11 { H_P_t header; D_ESAS2_TYPE00_EC_N_t data; } S_ESAS2_MODE_11_t; typedef struct S_IMA_MODE_11 { H_P_t header; D_IMA_TYPE40_IC_T_t data; } S_IMA_MODE_11_t; typedef struct S_IEA_MODE_11 { H_P_t header; D_IEA_TYPE80_IC_T_t data; } S_IEA_MODE_11_t; /***********************************************************************/ /***********************************************************************/ /* MODE 12 POSCAL */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_12 { H_P_t header; D_ESAS1_TYPE00_EC_N_t data; } S_ESAS1_MODE_12_t; typedef struct S_ESAS2_MODE_12 { H_P_t header; D_ESAS2_TYPE00_EC_N_t data; } S_ESAS2_MODE_12_t; typedef struct S_IMA_MODE_12 { H_P_t header; D_IMA_TYPE41_IC_P_t data; } S_IMA_MODE_12_t; typedef struct S_IEA_MODE_12 { H_P_t header; D_IEA_TYPE81_IC_P_t data; } S_IEA_MODE_12_t; /***********************************************************************/ /***********************************************************************/ /* MODE 13 E2sI1s */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_13 { H_P_t header; D_ESAS1_TYPE01_EM_N_t data; } S_ESAS1_MODE_13_t; typedef struct S_ESAS2_MODE_13 { H_P_t header; D_ESAS2_TYPE01_EM_N_t data; } S_ESAS2_MODE_13_t; typedef struct S_IMA_MODE_13 { H_P_t header; D_IMA_TYPE42_IM_N_t data; } S_IMA_MODE_13_t; typedef struct S_IEA_MODE_13 { H_P_t header; D_IEA_TYPE80_IM_N_t data; } S_IEA_MODE_13_t; /***********************************************************************/ /***********************************************************************/ /* MODE 14 3D MASS SOLAR WIND */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_14 { H_P_t header; D_ESAS1_TYPE01_EM_N_t data; } S_ESAS1_MODE_14_t; typedef struct S_ESAS2_MODE_14 { H_P_t header; D_ESAS2_TYPE01_EM_N_t data; } S_ESAS2_MODE_14_t; typedef struct S_IMA_MODE_14 { H_P_t header; D_IMA_TYPE43_IL_S_t data; } S_IMA_MODE_14_t; typedef struct S_IEA_MODE_14 { H_P_t header; D_IEA_TYPE82_IL_S_t data; } S_IEA_MODE_14_t; /***********************************************************************/ /***********************************************************************/ /* MODE 24 3D MASS WAKE */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_24 { H_P_t header; D_ESAS1_TYPE01_EM_N_t data; } S_ESAS1_MODE_24_t; typedef struct S_ESAS2_MODE_24 { H_P_t header; D_ESAS2_TYPE01_EM_N_t data; } S_ESAS2_MODE_24_t; typedef struct S_IMA_MODE_24 { H_P_t header; D_IMA_TYPE43_IL_V_t data; } S_IMA_MODE_24_t; typedef struct S_IEA_MODE_24 { H_P_t header; D_IEA_TYPE81_IL_V_t data; } S_IEA_MODE_24_t; /***********************************************************************/ /***********************************************************************/ /* MODE 15 ER LUNAR ION SOLAR WIND */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_15E { H_P_t header; D_ESAS1_TYPE02_ER_H_t data; } S_ESAS1_MODE_15E_t; typedef struct S_ESAS1_MODE_15T { H_P_t header; D_ESAS1_TYPE01_EM_N_t data; } S_ESAS1_MODE_15T_t; typedef struct S_ESAS2_MODE_15E { H_P_t header; D_ESAS2_TYPE02_ER_H_t data; } S_ESAS2_MODE_15E_t; typedef struct S_ESAS2_MODE_15T { H_P_t header; D_ESAS2_TYPE01_EM_N_t data; } S_ESAS2_MODE_15T_t; typedef struct S_IMA_MODE_15 { H_P_t header; D_IMA_TYPE43_IL_S_t data; } S_IMA_MODE_15_t; typedef struct S_IEA_MODE_15 { H_P_t header; D_IEA_TYPE82_IL_S_t data; } S_IEA_MODE_15_t; /***********************************************************************/ /***********************************************************************/ /* MODE 25 ER LUNAR ION WAKE */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_25E { H_P_t header; D_ESAS1_TYPE03_ER_W_t data; } S_ESAS1_MODE_25E_t; typedef struct S_ESAS1_MODE_25T { H_P_t header; D_ESAS1_TYPE01_EM_N_t data; } S_ESAS1_MODE_25T_t; typedef struct S_ESAS2_MODE_25E { H_P_t header; D_ESAS2_TYPE03_ER_W_t data; } S_ESAS2_MODE_25E_t; typedef struct S_ESAS2_MODE_25T { H_P_t header; D_ESAS2_TYPE01_EM_N_t data; } S_ESAS2_MODE_25T_t; typedef struct S_IMA_MODE_25 { H_P_t header; D_IMA_TYPE43_IL_V_t data; } S_IMA_MODE_25_t; typedef struct S_IEA_MODE_25 { H_P_t header; D_IEA_TYPE81_IL_V_t data; } S_IEA_MODE_25_t; /***********************************************************************/ /***********************************************************************/ /* MODE 16 ER SPUTTERING ION SOLAR WIND */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_16E { H_P_t header; D_ESAS1_TYPE02_ER_H_t data; } S_ESAS1_MODE_16E_t; typedef struct S_ESAS1_MODE_16T { H_P_t header; D_ESAS1_TYPE01_EM_N_t data; } S_ESAS1_MODE_16T_t; typedef struct S_ESAS2_MODE_16E { H_P_t header; D_ESAS2_TYPE02_ER_H_t data; } S_ESAS2_MODE_16E_t; typedef struct S_ESAS2_MODE_16T { H_P_t header; D_ESAS2_TYPE01_EM_N_t data; } S_ESAS2_MODE_16T_t; typedef struct S_IMA_MODE_16 { H_P_t header; D_IMA_TYPE44_IS_A_t data; } S_IMA_MODE_16_t; typedef struct S_IEA_MODE_16 { H_P_t header; D_IEA_TYPE82_IS_A_t data; } S_IEA_MODE_16_t; /***********************************************************************/ /***********************************************************************/ /* MODE 26 ER SPUTTERING ION WAKE */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_26E { H_P_t header; D_ESAS1_TYPE03_ER_W_t data; } S_ESAS1_MODE_26E_t; typedef struct S_ESAS1_MODE_26T { H_P_t header; D_ESAS1_TYPE01_EM_N_t data; } S_ESAS1_MODE_26T_t; typedef struct S_ESAS2_MODE_26E { H_P_t header; D_ESAS2_TYPE03_ER_W_t data; } S_ESAS2_MODE_26E_t; typedef struct S_ESAS2_MODE_26T { H_P_t header; D_ESAS2_TYPE01_EM_N_t data; } S_ESAS2_MODE_26T_t; typedef struct S_IMA_MODE_26 { H_P_t header; D_IMA_TYPE44_IS_A_t data; } S_IMA_MODE_26_t; typedef struct S_IEA_MODE_26 { H_P_t header; D_IEA_TYPE82_IS_A_t data; } S_IEA_MODE_26_t; /***********************************************************************/ /***********************************************************************/ /* MODE 17 LUNAR ION WAKE NO COMPRESSION */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_17 { H_P_t header; D_ESAS1_TYPE01_EM_R_t data; } S_ESAS1_MODE_17_t; typedef struct S_ESAS2_MODE_17 { H_P_t header; D_ESAS2_TYPE01_EM_R_t data; } S_ESAS2_MODE_17_t; typedef struct S_IMA_MODE_17 { H_P_t header; D_IMA_TYPE43_IL_R_t data; } S_IMA_MODE_17_t; typedef struct S_IEA_MODE_17 { H_P_t header; D_IEA_TYPE80_IL_R_t data; } S_IEA_MODE_17_t; /***********************************************************************/ /***********************************************************************/ /* MODE 18 ER LUNAR ION NO COMPRESSION */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_18E { H_P_t header; D_ESAS1_TYPE02_ER_R_t data; } S_ESAS1_MODE_18E_t; typedef struct S_ESAS1_MODE_18T { H_P_t header; D_ESAS1_TYPE01_EM_R_t data; } S_ESAS1_MODE_18T_t; typedef struct S_ESAS2_MODE_18E { H_P_t header; D_ESAS2_TYPE02_ER_R_t data; } S_ESAS2_MODE_18E_t; typedef struct S_ESAS2_MODE_18T { H_P_t header; D_ESAS2_TYPE01_EM_R_t data; } S_ESAS2_MODE_18T_t; typedef struct S_IMA_MODE_18 { H_P_t header; D_IMA_TYPE43_IL_R_t data; } S_IMA_MODE_18_t; typedef struct S_IEA_MODE_18 { H_P_t header; D_IEA_TYPE80_IL_R_t data; } S_IEA_MODE_18_t; /***********************************************************************/ /***********************************************************************/ /* MODE 19 ER LUNAR ION SOLAR WIND BACKUP */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_19E { H_P_t header; D_ESAS1_TYPE02_ER_H_t data; } S_ESAS1_MODE_19E_t; typedef struct S_ESAS1_MODE_19T { H_P_t header; D_ESAS1_TYPE01_EM_N_t data; } S_ESAS1_MODE_19T_t; typedef struct S_ESAS2_MODE_19E { H_P_t header; D_ESAS2_TYPE02_ER_H_t data; } S_ESAS2_MODE_19E_t; typedef struct S_ESAS2_MODE_19T { H_P_t header; D_ESAS2_TYPE01_EM_N_t data; } S_ESAS2_MODE_19T_t; typedef struct S_IMA_MODE_19 { H_P_t header; D_IMA_TYPE43_IL_S_t data; } S_IMA_MODE_19_t; typedef struct S_IEA_MODE_19 { H_P_t header; D_IEA_TYPE82_IL_S_t data; } S_IEA_MODE_19_t; /***********************************************************************/ /***********************************************************************/ /* MODE 29 ER LUNAR ION WAKE BACKUP */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_29E { H_P_t header; D_ESAS1_TYPE00_ER_N_t data; } S_ESAS1_MODE_29E_t; typedef struct S_ESAS1_MODE_29T { H_P_t header; D_ESAS1_TYPE01_EM_N_t data; } S_ESAS1_MODE_29T_t; typedef struct S_ESAS2_MODE_29E { H_P_t header; D_ESAS2_TYPE00_ER_N_t data; } S_ESAS2_MODE_29E_t; typedef struct S_ESAS2_MODE_29T { H_P_t header; D_ESAS2_TYPE01_EM_N_t data; } S_ESAS2_MODE_29T_t; typedef struct S_IMA_MODE_29 { H_P_t header; D_IMA_TYPE43_IL_V_t data; } S_IMA_MODE_29_t; typedef struct S_IEA_MODE_29 { H_P_t header; D_IEA_TYPE81_IL_V_t data; } S_IEA_MODE_29_t; /***********************************************************************/ /***********************************************************************/ /* MODE 1A ER SPUTTERING ION SOLAR WIND BACKUP */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_1AE { H_P_t header; D_ESAS1_TYPE02_ER_H_t data; } S_ESAS1_MODE_1AE_t; typedef struct S_ESAS1_MODE_1AT { H_P_t header; D_ESAS1_TYPE01_EM_N_t data; } S_ESAS1_MODE_1AT_t; typedef struct S_ESAS2_MODE_1AE { H_P_t header; D_ESAS2_TYPE02_ER_H_t data; } S_ESAS2_MODE_1AE_t; typedef struct S_ESAS2_MODE_1AT { H_P_t header; D_ESAS2_TYPE01_EM_N_t data; } S_ESAS2_MODE_1AT_t; typedef struct S_IMA_MODE_1A { H_P_t header; D_IMA_TYPE44_IS_A_t data; } S_IMA_MODE_1A_t; typedef struct S_IEA_MODE_1A { H_P_t header; D_IEA_TYPE82_IS_A_t data; } S_IEA_MODE_1A_t; /***********************************************************************/ /***********************************************************************/ /* MODE 2A ER SPUTTERING ION WAKE BACKUP */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_2AE { H_P_t header; D_ESAS1_TYPE00_ER_N_t data; } S_ESAS1_MODE_2AE_t; typedef struct S_ESAS1_MODE_2AT { H_P_t header; D_ESAS1_TYPE01_EM_N_t data; } S_ESAS1_MODE_2AT_t; typedef struct S_ESAS2_MODE_2AE { H_P_t header; D_ESAS2_TYPE00_ER_N_t data; } S_ESAS2_MODE_2AE_t; typedef struct S_ESAS2_MODE_2AT { H_P_t header; D_ESAS2_TYPE01_EM_N_t data; } S_ESAS2_MODE_2AT_t; typedef struct S_IMA_MODE_2A { H_P_t header; D_IMA_TYPE44_IS_A_t data; } S_IMA_MODE_2A_t; typedef struct S_IEA_MODE_2A { H_P_t header; D_IEA_TYPE82_IS_A_t data; } S_IEA_MODE_2A_t; /***********************************************************************/ /***********************************************************************/ /* MODE 1B E1sI2s */ /***********************************************************************/ /***********************************************************************/ typedef struct S_ESAS1_MODE_1B { H_P_t header; D_ESAS1_TYPE01_EM_H_t data; } S_ESAS1_MODE_1B_t; typedef struct S_ESAS2_MODE_1B { H_P_t header; D_ESAS2_TYPE01_EM_H_t data; } S_ESAS2_MODE_1B_t; typedef struct S_IMA_MODE_1B { H_P_t header; D_IMA_TYPE42_IM_L_t data; } S_IMA_MODE_1B_t; typedef struct S_IEA_MODE_1B { H_P_t header; D_IEA_TYPE80_IM_L_t data; } S_IEA_MODE_1B_t; /***********************************************************************/ /***********************************************************************/ /* MODE 71 SV MONITOR */ /***********************************************************************/ /***********************************************************************/ typedef struct S_SVMONITOR_MODE_71 { H_P_t header; D_TYPEF0_ESAS1_SV_MONITOR_t esas1_mon; D_TYPEF0_ESAS2_SV_MONITOR_t esas2_mon; D_TYPEF1_IMA_SV_MONITOR_t ima_mon; D_TYPEF1_IEA_SV_MONITOR_t iea_mon; } S_SVMONITOR_MODE_71_t; /***********************************************************************/ /***********************************************************************/ /* MODE 78 LMAG MONITOR */ /***********************************************************************/ /***********************************************************************/ typedef struct S_LMAGMONITOR_MODE_78 { H_P_t header; D_TYPEF2_LMAG_MONITOR_t lmag_mon; } S_LMAGMONITOR_MODE_78_t; /***********************************************************************/ /***********************************************************************/ /* MODE 70 INTERNAL INFORMATION */ /***********************************************************************/ /***********************************************************************/ typedef struct S_INTINF_MODE_70 { H_P_t header; D_TYPEF3_INTERNAL_INFORMATION_t int_inf; } S_INTINF_MODE_70_t;