📄 in_defs.h
字号:
/************************************************************************/
/* */
/* Copyright 1990 by Accelerated Technology */
/* */
/* PROPRIETARY RIGHTS of Accelerated Technology are involved in the */
/* subject matter of this material. All manufacturing, reproduction, */
/* use, and sales rights pertaining to this subject matter are */
/* governed by the license agreement. The buyer or recipient of this */
/* package, implicitly accepts the terms of the license. */
/* */
/************************************************************************/
/************************************************************************/
/* */
/* FILE DESCRIPTION */
/* */
/* This file contains the definition of data structures necessary for */
/* the user to configure the system in the "IN_DATA.C" file. Data */
/* structure definitions for the fixed size partitions, the system */
/* queue definitions, and the required system tasks are defined in */
/* this file. */
/* */
/* ROUTINES */
/* */
/* None */
/* */
/* NOTES */
/* */
/* None */
/* */
/************************************************************************/
/* The following are definitions local to initialization routines. */
#define END_OF_LIST 0 /* Last item in defn list */
/* The structure IN_FIXED_PARTITION_STRUCT defines a single fixed
memory partition. Note that the size is in the terms of the number of
unsigned words. */
struct IN_FIXED_PARTITION_STRUCT
{
unsigned int in_partition_size; /* Size of partition */
unsigned int in_partition_count; /* Number of partitions */
};
/* The structure IN_QUEUE_DEFINITION_STRUCT defines a single queue
entry. */
struct IN_QUEUE_DEFINITION_STRUCT
{
unsigned int in_number_of_items; /* Number of items in queue */
unsigned int in_size_of_item; /* Size of each item in terms
of unsigneds */
};
/* The structure IN_TASK_DEFINITION_STRUCT defines a definition of a
single task definitions. */
struct IN_TASK_DEFINITION_STRUCT
{
void (*in_task_addr) (); /* Address of the task */
unsigned int in_stack_size; /* Size of task's stack */
unsigned char in_task_priority; /* Priority of task */
unsigned char in_auto_start; /* Automatic task start */
unsigned char in_no_preempt; /* Non-preemptable task? */
signed int in_time_slice; /* Time slice -1 for none */
};
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -