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

📄 rtk05pma.hec

📁 这是用Labwindows开发的一个RF test程序。 用于日本机种的组装后ANT 测试。
💻 HEC
字号:
/******************************************************************************/
/* SCCS: %Z% Name: %M% Date US: %G% %U% Ver.: %I% */
/******************************************************************************/
/*F(*************************************************************************** 
 * File name : rtk05pma.hec
 * Project : RTKGENER
 * Module : RTK-E (Real Time Kernel)
 * Date : (US) %G% %U%
 * Version : %I%
 * Compiler name and release(s) :
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                                    DESCRIPTION
 * Finite State Machine external constants
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                           FUNCTIONS DEFINED IN THIS FILE
 *----------------------------------------------------------------------------* 
 * Name | Object
 *----------------------------------------------------------------------------* 
 * 
 *----------------------------------------------------------------------------* 
 *----------------------------------------------------------------------------* 
 *                                    EVOLUTION
 *----------------------------------------------------------------------------* 
 * Date     | Author     | Arnb   | Description
 *----------------------------------------------------------------------------* 
 * 06/24/97 | J.Thomas   |        | - Creation from 'SERVICES-RR17.1.18' for rtke
 * 12/10/97 | S.L        |        | - User Events Implementation
 * ---------+------------+--------+-------------------------------------------*
 * 04/05/00 | J.C.Trotin |        | - Add constants which identify the running 
 *          |            |        | entity (initialization, interrupt or 
 *          |            |        | process runner)
 ***************************************************************************)F*/
/* #*/

#ifndef RTK05PMA_HEC
#define RTK05PMA_HEC

/* Definitions of the shifts values used in the macros
   definitions (according to the target)
------------------------------------------------------*/
#if defined(__arm) && !defined(__BIG_ENDIAN)

/* Definitions for ARM target in Little Endian mode */
#define SHIFT_INST		0
#define SHIFT_PROC		8

#define SHIFT_TIMER_INST	0
#define SHIFT_TIMER_PROC	8
#define SHIFT_TIMER_OPTY	16

#else
/* Definitions for the other targets */
#define SHIFT_INST		8
#define SHIFT_PROC		0

#define SHIFT_TIMER_INST	24
#define SHIFT_TIMER_PROC	16
#define SHIFT_TIMER_OPTY	0

#endif /* defined(__arm) && !defined(__BIG_ENDIAN) */

/* Running entity
   (process runner, interrupt or initialization and background task)
--------------------------------------------------------------------*/
#define RTK_RUNNING_ENTITY		0xff
#define RTK_PROCESS_RUNNER_ENTITY	0xff
#define RTK_INTERRUPT_ENTITY		0xfe
#define RTK_INIT_BKG_ENTITY		0xfd

/* Next States can be UNKNOWN , SAME or a state
-----------------------------------------------*/
#define UNKNOWN ((const struct st_OperationDescriptor *)0xFFFFFFFF)
#define SAME    ((const struct st_OperationDescriptor *)0x00000000)

/* All operation types greather or equal of this value are taken in account
   from the process manager as system operations */
#define FSM_SYS_OPERATION	0xFFFD

/* Indication for next table for State Charts implementation
------------------------------------------------------------*/
#define FSM_NEXT_OPERATION_TABLE 0xFFFD

/* Identificator for memorized message
   Theorically, just before a FSM_END_OPERATION_TABLE identificator
-------------------------------------------------------------------*/
#define FSM_MEM_OPERATION_TABLE  0xFFFE

/* End of a LMS FSM table for the "MC_FSM_RUN()" routine
---------------------------------------------------------*/
#define FSM_END_OPERATION_TABLE  0xFFFF

/* Operation type for user events
----------------------------------*/
#define USER_EVT 0xFFF0

/* User Event bits
-------------------*/
#define RTK_USER_EVENT_0 0
#define RTK_USER_EVENT_1 1
#define RTK_USER_EVENT_2 2
#define RTK_USER_EVENT_3 3
#define RTK_USER_EVENT_4 4
#define RTK_USER_EVENT_5 5
#define RTK_USER_EVENT_6 6
#define RTK_USER_EVENT_7 7
#define RTK_USER_EVENT_8 8
#define RTK_USER_EVENT_9 9
#define RTK_USER_EVENT_10 10
#define RTK_USER_EVENT_11 11
#define RTK_USER_EVENT_12 12
#define RTK_USER_EVENT_13 13
#define RTK_USER_EVENT_14 14
#define RTK_USER_EVENT_15 15

#endif /* RTK05PMA_HEC */

⌨️ 快捷键说明

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