📄 ccstr.h
字号:
#ifndef __CC_STRUC_H
#define __CC_STRUC_H
#ifdef SIMU_ON_PC /*zch for protocol simulator */
#pragma pack( push, ccstucture,1)
#endif
#ifdef _ARM607_
__packed
#endif
typedef struct //zch for test 0709
{
U2 evt_code;
void (*fnc_adr)(void);
U2 state;
}SYS_STATE_TBL;
#ifdef _ARM607_
__packed
#endif
typedef struct
{
U1 *next_po;
U1 lst_len;
U1 len;
U1 dat[L3_MSGSZ];
} CC_MSGDAT;
#ifdef _ARM607_
__packed
#endif
typedef struct
{
U2 evt_cod;
U2 dl_typ;
U2 dl_id;
U2 dl_sou;
CC_MSGDAT *msg_adr;
U2 dont_care[2];
} CC_DLDEVT;
#ifdef _ARM607_
__packed
#endif
typedef struct
{
U2 evt_cod;
U2 pri_cod;
U1 *buf_adr;
U2 inf_len;
U1 *inf_adr;
U1 add_dat;
U1 dmy3;
} CC_PRIEVT;
#ifdef _ARM607_
__packed
#endif
typedef struct
{
U2 shubetu;
U2 count;
U2 no;
U2 id;
U2 data[7];
} CC_SET_TIME;
#ifdef _ARM607_
__packed
#endif
typedef struct
{
U2 in_evt[8];
U2 tsk_id;
U2 out_evt[8];
U1 *inf_ptr;
U1 *out_ptr;
//U1 version;
//U1 lock_shift_flag;
//U1 codeset_id;
//U1 disconnect_complete_flag;
//U1 call_state;
} CC_SYSWRK;
#ifdef _ARM607_
__packed
#endif
typedef struct
{
U1 element_id;
U1 option_id;
U1 man_flag;
U1 link_direction;
}cc_info_element_t;
#ifdef _ARM607_
__packed
#endif
typedef struct
{
U1 protocol_id;
U1 call_reference[2];
U1 msg_type;
}cc_msg_header;
#ifdef SIMU_ON_PC /*zch for protocol simulator */
#pragma pack( pop, ccstucture,1)
#endif
#endif /* __CC_STRUC_H */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -