source:
rtems/cpukit/rtems/src/timerfirewhen.c
@
66cb142
Last change on this file since 66cb142 was 03b900d, checked in by Sebastian Huber <sebastian.huber@…>, on 02/18/16 at 07:36:26 | |
---|---|
|
|
File size: 781 bytes |
Rev | Line | |
---|---|---|
[60ceb613] | 1 | /** |
2 | * @file | |
[be47df9] | 3 | * |
[60ceb613] | 4 | * @brief RTEMS Timer Fire When |
5 | * @ingroup ClassicTimer | |
6 | */ | |
7 | ||
8 | /* | |
[0e87deaa] | 9 | * COPYRIGHT (c) 1989-2007. |
[be47df9] | 10 | * On-Line Applications Research Corporation (OAR). |
11 | * | |
12 | * The license and distribution terms for this file may be | |
13 | * found in the file LICENSE in this distribution or at | |
[c499856] | 14 | * http://www.rtems.org/license/LICENSE. |
[be47df9] | 15 | */ |
16 | ||
[1095ec1] | 17 | #if HAVE_CONFIG_H |
18 | #include "config.h" | |
19 | #endif | |
20 | ||
[e90b1df] | 21 | #include <rtems/rtems/timerimpl.h> |
[be47df9] | 22 | |
23 | rtems_status_code rtems_timer_fire_when( | |
[d3b72ca3] | 24 | rtems_id id, |
[be47df9] | 25 | rtems_time_of_day *wall_time, |
26 | rtems_timer_service_routine_entry routine, | |
27 | void *user_data | |
28 | ) | |
29 | { | |
[03b900d] | 30 | return _Timer_Fire_when( |
31 | id, | |
32 | wall_time, | |
33 | routine, | |
34 | user_data, | |
35 | TIMER_TIME_OF_DAY, | |
36 | _Timer_Routine_adaptor | |
37 | ); | |
[be47df9] | 38 | } |
Note: See TracBrowser
for help on using the repository browser.