📄 rtkgener.het
字号:
/******************************************************************************/
/* Sccs: %Z% Name: %M% Date US: %G% %U% Ver.: %I% */
/******************************************************************************/
/*F(***************************************************************************
* File name : rtkgener.het
* Project : RTKGENER
* Module : RTK-E (Real Time Kernel)
* Date : (US) %G% %U%
* Version : %I%
* Compiler name and release(s) :
*----------------------------------------------------------------------------*
*----------------------------------------------------------------------------*
* DESCRIPTION
* System external structures
*----------------------------------------------------------------------------*
*----------------------------------------------------------------------------*
* FUNCTIONS DEFINED IN THIS FILE
*----------------------------------------------------------------------------*
* Name | Object
*----------------------------------------------------------------------------*
*
*----------------------------------------------------------------------------*
*----------------------------------------------------------------------------*
* EVOLUTION
*----------------------------------------------------------------------------*
* Date | Author | Arnb | Description
*----------------------------------------------------------------------------*
* 07/07/97 | J.Thomas | | Creation from 'RTK-RR17.1.2' for rtke
*----------------------------------------------------------------------------*
* 12/10/97 | S.L | | User Events Implementation
*----------------------------------------------------------------------------*
* 17/05/00 | J.C.Trotin | | Add external structure for the dynamic memory
* | | | management :
* | | | t_RtkDynPoolInfo (cluster debug only)
*----------------------------------------------------------------------------*
* 16/12/02 | M.Sapienza | | Add external structure for storing
* | | | function and link program counter
* | | | (cluster debug only)
**************************************************************************)F*/
/* #*/
#ifndef RTKGENER_HET
#define RTKGENER_HET
/*---------------------------------------------*/
/* Task descriptor structure access definition */
/*---------------------------------------------*/
typedef struct st_TaskDescriptor t_DubTaskDescriptor;
/*-----------------------------------*/
/* Timer structure access definition */
/*-----------------------------------*/
typedef struct st_RtkTimer t_DubRtkTimer;
typedef u32 t_TimerID;
#ifdef CLUSTER_DEBUG
/*-------------------------------------------*/
/* Dynamic memory pool information structure */
/*-------------------------------------------*/
typedef struct st_RtkDynPoolInfo {
u32 v_BlockMaxSize;
u32 v_MaxUsedBytes;
u16 v_MaxSearchLoops;
u16 v_MaxBlocksNb;
u16 v_CurrBlocksNb;
MC_PCC_FILL_STRUCT2
} t_RtkDynPoolInfo;
#endif
/*tcmc_msp: changes for PR1222 on date 16/12/2002*/
#ifdef CLUSTER_DEBUG
/*-----------------------*/
/* Program Counter store */
/*-----------------------*/
typedef struct st_Rtk_StoreProgCounter {
void *FctProgCounter;
void *LnkProgCounter;
} t_Rtk_StoreProgCounter;
#endif
/*tcmc_msp: end of changes Pr1222*/
/*--------------------------------------*/
/* Envelops structure access definition */
/*--------------------------------------*/
typedef struct st_RtkEnvelop t_RtkEnvelop;
typedef struct st_RtkEnvelop1 t_RtkEnvelop1;
/*-------------------*/
/* Queues structures */
/*-------------------*/
typedef struct {
struct st_RtkEnvelop *p_First;
struct st_RtkEnvelop *p_Last;
}t_RtkQueueEnv;
typedef struct {
struct st_RtkEnvelop1 *p_First;
struct st_RtkEnvelop1 *p_Last;
}t_RtkQueue;
/*-----------------------------------------------*/
/* Structure returned by Receive and TestReceive */
/*-----------------------------------------------*/
typedef struct st_RtkObject {
union {
t_TimerID v_TimerID; /* OUT: Timer ID received */
PACKED struct st_MsgHeader *p_MessageAddress; /* OUT: Message received */
u16 v_UserEvent; /* OUT: User events occured */
}u_ReceivedObj;
u32 v_UserData; /* OUT: Pointer to an Area used to store */
u16 v_UserEventMask; /* IN: User events to wait */
u8 v_TypeOfObj; /* OUT: Type of object in the union */
MC_PCC_FILL_STRUCT1
}t_RtkObject;
typedef struct st_RtkObject t_FsmObject; /* for existing programs */
#endif /* RTKGENER_HET */
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -