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

📄 no-event.c

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 C
字号:
/* *  Event Manager * *  COPYRIGHT (c) 1989-1999. *  On-Line Applications Research Corporation (OAR). * *  The license and distribution terms for this file may be *  found in the file LICENSE in this distribution or at *  http://www.rtems.com/license/LICENSE. * *  $Id: no-event.c,v 1.10.4.1 2003/09/04 18:46:08 joel Exp $ */#include <rtems/system.h>#include <rtems/rtems/status.h>#include <rtems/rtems/event.h>#include <rtems/score/isr.h>#include <rtems/score/object.h>#include <rtems/rtems/options.h>#include <rtems/score/states.h>#include <rtems/score/thread.h>#include <rtems/score/interr.h>void _Event_Manager_initialization( void ){}rtems_status_code rtems_event_send(  Objects_Id         id,  rtems_event_set event_in){  _Internal_error_Occurred(    INTERNAL_ERROR_RTEMS_API,    FALSE,    RTEMS_NOT_CONFIGURED  );  return RTEMS_NOT_CONFIGURED;}rtems_status_code rtems_event_receive(  rtems_event_set  event_in,  rtems_option     option_set,  rtems_interval   ticks,  rtems_event_set *event_out){  _Internal_error_Occurred(    INTERNAL_ERROR_RTEMS_API,    FALSE,    RTEMS_NOT_CONFIGURED  );  return RTEMS_NOT_CONFIGURED;}

⌨️ 快捷键说明

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