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

📄 rtk05pma.het

📁 这是用Labwindows开发的一个RF test程序。 用于日本机种的组装后ANT 测试。
💻 HET
字号:
/******************************************************************************/
/* SCCS: %Z% Name: %M% Date US: %G% %U% Ver.: %I% */
/******************************************************************************/
/*F(*************************************************************************** 
 * File name : %M%
 * Project : RTK Generic
 * Module : Real Time Kernel
 * Date : (US) %G% %U%
 * Version : %I%
 * Compiler name and release(s) :
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                                    DESCRIPTION
 * Finite State Machine Structure definitions
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                           FUNCTIONS DEFINED IN THIS FILE
 *----------------------------------------------------------------------------* 
 * Name            | Object
 *----------------------------------------------------------------------------* 
 * 
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                                    EVOLUTION
 *----------------------------------------------------------------------------* 
 * Date     | Author    | Arnb   | Description
 *----------------------------------------------------------------------------* 
 * 06/24/97 | J.Thomas  | XXYYYY | - Creations from 'SERVICES-RR17.1.18' for rtke
 ***************************************************************************)F*/
/* #*/

#ifndef RTK05PMA_HET
#define RTK05PMA_HET


/*=======================================================================*/
/*=======================================================================*/
/*                           MESSAGES STRUCTURES                         */
/*=======================================================================*/
/*=======================================================================*/

typedef struct st_RtkObject t_DubRtkObject;

typedef u8 t_Mailbox_id;

typedef u8  t_ProcessInstance;
typedef u8  t_ProcessName;
typedef u16 t_OperationType;
typedef u16 t_ProcessIdentity;

/* Structure of a Process Identity
-----------------------------------*/
typedef struct st_ProcessIdentityFields {
   t_ProcessInstance v_FsmInstance;
   t_ProcessName     v_ProcessName;
   MC_PCC_FILL_STRUCT2
}t_ProcessIdentityFields;

/* Structure of a header within a timer ID
-------------------------------------------*/
typedef struct st_ProcessOperation {
   t_ProcessIdentity v_Receiver;
   t_OperationType   v_OperationType;
}t_ProcessOperation;

/* Structure of a message
--------------------------*/
typedef PACKED struct st_MsgHeader {
   u16               v_Length;
   t_ProcessIdentity s_Transmitter;
   t_ProcessIdentity s_Receiver;
   t_OperationType   v_OperationType;
}t_MsgHeader;

/*=======================================================================*/
/*=======================================================================*/
/*                              FSM STRUCTURES                           */
/*=======================================================================*/
/*=======================================================================*/


/*----------------------------------------*/
/* Description of an Operation type       */
/* specification in an Operations table   */
/* -- It is only used for a LMS_FSM --    */
/*----------------------------------------*/
typedef struct st_OperationDescriptor {
 
   union {
   	   const struct st_OperationDescriptor *(*p_Function)( struct st_RtkObject * ); /* Function to call */

  	   t_OperationType 	*p_OpTypeToMemorize;

	 } u_FsmPtr;

   const struct st_OperationDescriptor *NextState;	  /* Next State :    */
                                                  /* - SAME          */
                                                  /* - UNKNOWN       */
                                                  /* - another state */

   t_OperationType s_OperationType;		  /* Operation Type   */

   MC_PCC_FILL_STRUCT2

}t_OperationDescriptor;


typedef struct st_ProcessDescriptor t_DupProcessDescriptor;

/*---------------------------------------*/
/* Description of a Task Descriptor 	 */
/*---------------------------------------*/
typedef struct st_TaskDescriptor {
   const struct st_ProcessDescriptor *p_AllProcessDescriptors;
   u8                                 s_TaskNumber;
   t_Mailbox_id                       s_TaskMbx_id;
   u8                                 v_NbProcessDescriptors;
   MC_PCC_FILL_STRUCT1
}t_TaskDescriptor;

 
/*-------------------------------------------*/
/* Description of a FSM Task Specification   */
/* for the table of AllFsmTaskSpecifications */
/*-------------------------------------------*/
typedef u8 t_TaskSpecification;

typedef struct st_ProcessTaskSpecification {
   const t_TaskDescriptor *p_TaskDescriptors;
   u8                      v_ProcessNumberInTask;
   MC_PCC_FILL_STRUCT3

}t_ProcessTaskSpecification;


#endif

⌨️ 快捷键说明

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