?? msom_mac.h
字號:
typedef struct
{
unsigned char sys_type;
unsigned char sys_status;
unsigned char e1_loop;
unsigned char eth_status[8];
unsigned char reserved;
}t_config_remote_msom_sys;
typedef struct
{
char status[4];
}t_config_remote_msom_lc_t;
typedef struct
{
t_config_remote_msom_sys sysInfo;
t_config_remote_msom_lc_t lcInfo[4];
}t_config_remote_msom;
/*sys_status*/
#define DEV_TYPPE_MSOM_OPT_LOS (1<<0)
#define DEV_TYPPE_MSOM_OPT_LOF (1<<1)
#define DEV_TYPPE_MSOM_OPT_E6 (1<<2)
#define DEV_TYPPE_MSOM_OPT_E3 (1<<3)
#define DEV_TYPPE_MSOM_ALL_WARNING (1<<4)
#define DEV_TYPPE_MSOM_RMT_WARNING (1<<5)
#define DEV_TYPPE_MSOM_BUZZER_ENABLE (1<<6)
#define DEV_TYPPE_MSOM_LED_PEERE (1<<7)
/*e1_loop*/
#define DEV_TYPPE_MSOM_E1_1_LOOP_EN (1<<0)
#define DEV_TYPPE_MSOM_E1_2_LOOP_EN (1<<1)
#define DEV_TYPPE_MSOM_E1_3_LOOP_EN (1<<2)
#define DEV_TYPPE_MSOM_E1_4_LOOP_EN (1<<3)
/*eth_status*/
#define DEV_TYPPE_MSOM_ETH_LINKUP (1<<0)
#define DEV_TYPPE_MSOM_ETH_CURR_100M (1<<1)
#define DEV_TYPPE_MSOM_ETH_CURR_FULL (1<<2)
#define DEV_TYPPE_MSOM_ETH_AUTO_NEGO_EN (1<<3)
#define DEV_TYPPE_MSOM_ETH_CFG_100M (1<<4)
#define DEV_TYPPE_MSOM_ETH_CFG_FULL (1<<5)
#define LC_MSOM_E1 0x01
#define LC_MSOM_4TX2E1 0x05
#define LC_MSOM_8VE1 0x09
#define LC_MSOM_V35E1 0x02
#define LC_MSOM_TXE1 0x00
typedef struct
{
unsigned char slot_type;
unsigned char slot_reset;
unsigned char e1_los;
unsigned char e1_loop;
unsigned char reserved;
}STRUCT_CONFIG_DEV_E1;
typedef struct
{
unsigned char slot_type;
unsigned char slot_reset;
unsigned char eth_status;
unsigned char reserved;
} STRUCT_CONFIG_DEV_4TX2E1;
typedef struct
{
unsigned char slot_type;
unsigned char slot_reset;
unsigned char phone_status;
unsigned char reserved;
} STRUCT_CONFIG_DEV_8VE1;
typedef struct
{
unsigned char slot_type;
unsigned char slot_reset;
unsigned char clock_status;
unsigned char reserved;
} STRUCT_CONFIG_DEV_V35E1;
typedef struct
{
unsigned char slot_type;
unsigned char slot_reset;
unsigned char eth_status;
unsigned char reserved;
}STRUCT_CONFIG_DEV_TXE1;
#define DEV_TYPE_OL100CR_X4X_V5 0x01
#define DEV_TYPE_OL100CR_GE_XXX_XXX_V5 0x02
#define DEV_TYPE DEV_TYPE_OL100CR_GE_XXX_XXX_V5
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -