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

📄 nu_extr.h

📁 NecluesRTX RTOS的源码
💻 H
字号:
/************************************************************************/
/*                                                                      */
/*         Copyright 1990-1992 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 information necessary for nucleus applications   */
/*  to access the nucleus service routines.                             */
/*                                                                      */
/*  ROUTINES                                                            */
/*                                                                      */
/*      None                                                            */
/*                                                                      */
/*  NOTES                                                               */
/*                                                                      */
/*      None                                                            */
/*                                                                      */
/************************************************************************/

signed int  NU_Retrieve_Item(signed int queue_id, unsigned int *dest_ptr,
                             signed int wait);
signed int  NU_Send_Item(signed int queue_id, unsigned int *source_ptr,
                         signed int wait);
signed int  NU_Retrieve_Item_Mult(signed int queue_id_1, 
                                  signed int queue_id_2,
                                  signed int queue_id_3,
                                  unsigned int *dest_ptr, signed int wait);
signed int  NU_Force_Item_In_Front(signed int queue_id, 
                                   unsigned int *source_ptr);
signed int  NU_Sleep(unsigned int ticks);
signed int  NU_Relinquish(void);
signed int  NU_Start(signed int task_id);
signed int  NU_Stop(signed int task_id);
signed int  NU_Reset(signed int task_id);
unsigned int  NU_Read_Time(void);
void    NU_Set_Time(unsigned int time);
signed int  NU_Change_Priority(signed int task_id, unsigned char priority);
signed int  NU_Current_Task_ID(void);
signed int  NU_Disable_Preemption(void);
signed int  NU_Enable_Preemption(void);
signed int  NU_Change_Time_Slice(signed int task_id, signed int time_slice);
signed int  NU_Request_Resource(signed int resource_id, signed int wait);
signed int  NU_Release_Resource(signed int resource_id);
signed int  NU_Alloc_Partition(signed int partition_id, 
                               unsigned int **mem_ptr_ptr, signed int wait);
signed int  NU_Dealloc_Partition(unsigned int *mem_ptr);
signed int  NU_Available_Partitions(signed int partition_id);
signed int  NU_Alloc_Memory(unsigned long size, unsigned int **mem_ptr_ptr,
                            signed int wait);
signed int  NU_Dealloc_Memory(unsigned int *mem_ptr);
unsigned long  NU_Available_Memory(void);
signed int  NU_Control_Interrupts(signed int level);
signed int  NU_Set_Events(signed int event_group_id, signed int operation,
                          unsigned int event_flags);
signed int  NU_Wait_For_Events(signed int event_group_id, 
                               signed int operation, unsigned int event_flags,
                               unsigned int *curr_events, signed int wait);
signed int  NU_Retrieve_Queue_Status(signed int queue_id,
                                     signed int *items_queued,
                                     signed int *item_size);
signed int  NU_Retrieve_Resource_Status(signed int resource_id,
                                        signed int *tasks_requested);
signed int  NU_Retrieve_Task_Status(signed int task_id,
                                    signed int *status, 
                                    unsigned int *scheduled);
signed int  NU_Reset_Performance_Timer(signed int task_id,
                                       signed int timer_id);
signed int  NU_Retrieve_Next_History_Entry(signed int *sequence,
                                           signed int *event,
                                           unsigned int *param_1,
                                           unsigned int *param_2,
                                           unsigned int *time);
signed int  NU_Retrieve_Performance_Info(signed int task_id,
                                         signed int timer_id,
                                         unsigned int *max_time,
                                         unsigned int *min_time,
                                         unsigned int *accum_time,
                                         unsigned int *accum_count);
signed int  NU_Start_History_Saving(void);
signed int  NU_Start_Performance_Timer(signed int task_id,signed int timer_id);
signed int  NU_Stop_History_Saving(void);
signed int  NU_Stop_Performance_Timer(signed int task_id, signed int timer_id);

⌨️ 快捷键说明

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