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

📄 no-timer.c

📁 RTEMS (Real-Time Executive for Multiprocessor Systems) is a free open source real-time operating sys
💻 C
字号:
/* *  Timer 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-timer.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/score/object.h>#include <rtems/score/thread.h>#include <rtems/score/tod.h>#include <rtems/score/watchdog.h>#include <rtems/score/interr.h>#include <rtems/rtems/types.h>#include <rtems/rtems/timer.h>void _Timer_Manager_initialization(  unsigned32 maximum_timers){}rtems_status_code rtems_timer_create(  rtems_name    name,  Objects_Id   *id){  _Internal_error_Occurred(    INTERNAL_ERROR_RTEMS_API,    FALSE,    RTEMS_NOT_CONFIGURED  );  return RTEMS_NOT_CONFIGURED;}rtems_status_code rtems_timer_ident(  rtems_name    name,  Objects_Id   *id){  _Internal_error_Occurred(    INTERNAL_ERROR_RTEMS_API,    FALSE,    RTEMS_NOT_CONFIGURED  );  return RTEMS_NOT_CONFIGURED;}rtems_status_code rtems_timer_cancel(  Objects_Id id){  _Internal_error_Occurred(    INTERNAL_ERROR_RTEMS_API,    FALSE,    RTEMS_NOT_CONFIGURED  );  return RTEMS_NOT_CONFIGURED;}rtems_status_code rtems_timer_delete(  Objects_Id id){  _Internal_error_Occurred(    INTERNAL_ERROR_RTEMS_API,    FALSE,    RTEMS_NOT_CONFIGURED  );  return RTEMS_NOT_CONFIGURED;}rtems_status_code rtems_timer_fire_after(  Objects_Id                         id,  rtems_interval                     ticks,  rtems_timer_service_routine_entry  routine,  void                              *user_data){  _Internal_error_Occurred(    INTERNAL_ERROR_RTEMS_API,    FALSE,    RTEMS_NOT_CONFIGURED  );  return RTEMS_NOT_CONFIGURED;}rtems_status_code rtems_timer_fire_when(  Objects_Id                         id,  rtems_time_of_day                 *wall_time,  rtems_timer_service_routine_entry  routine,  void                              *user_data){  _Internal_error_Occurred(    INTERNAL_ERROR_RTEMS_API,    FALSE,    RTEMS_NOT_CONFIGURED  );  return RTEMS_NOT_CONFIGURED;}rtems_status_code rtems_timer_reset(  Objects_Id id){  _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 + -