no-timer.c

来自「RTEMS (Real-Time Executive for Multiproc」· C语言 代码 · 共 123 行

C
123
字号
/* *  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 + =
减小字号Ctrl + -
显示快捷键?