RTEMS CPU Kit with SuperCore
time.h
Go to the documentation of this file.
1 
10 /*
11  * COPYRIGHT (c) 1989-2011.
12  * On-Line Applications Research Corporation (OAR).
13  *
14  * The license and distribution terms for this file may be
15  * found in the file LICENSE in this distribution or at
16  * http://www.rtems.org/license/LICENSE.
17  */
18 
19 #ifndef _RTEMS_POSIX_TIME_H
20 #define _RTEMS_POSIX_TIME_H
21 
22 #include <rtems/score/timespec.h>
23 #include <rtems/score/watchdog.h>
39 typedef enum {
49 
66  const struct timespec *abstime,
67  Watchdog_Interval *ticks_out
68 );
69 
72 #endif
This include file contains helpers for manipulating timespecs.
POSIX_Absolute_timeout_conversion_results_t
Absolute timeout conversion results.
Definition: time.h:39
The timeout represents a time that is equal to the current time.
Definition: time.h:45
The timeout is invalid.
Definition: time.h:41
Constants and Structures Associated with Watchdog Timers.
POSIX_Absolute_timeout_conversion_results_t _POSIX_Absolute_timeout_to_ticks(const struct timespec *abstime, Watchdog_Interval *ticks_out)
Convert absolute timeout to ticks.
Definition: posixtimespecabsolutetimeout.c:37
The timeout represents a time that is in the past.
Definition: time.h:43
uint32_t Watchdog_Interval
Type is used to specify the length of intervals.
Definition: watchdog.h:47
The timeout represents a time that is in the future.
Definition: time.h:47