summaryrefslogtreecommitdiffstats
path: root/doc/user/clock.t
diff options
context:
space:
mode:
authorGlenn Humphrey <glenn.humphrey@oarcorp.com>2007-10-25 19:46:41 +0000
committerGlenn Humphrey <glenn.humphrey@oarcorp.com>2007-10-25 19:46:41 +0000
commit4ffbc495141dedadf3d0a9b0748c4176fd0acde0 (patch)
treec9a339022218fd5985125755c62cfdceec3067de /doc/user/clock.t
parentadded documentation to libi2c (diff)
downloadrtems-4ffbc495141dedadf3d0a9b0748c4176fd0acde0.tar.bz2
2007-10-25 Glenn Humphrey <glenn.humphrey@OARcorp.com>
* user/barrier.t, user/clock.t, user/concepts.t, user/cpuuse.t, user/init.t, user/intr.t, user/io.t, user/mp.t, user/rtmon.t, user/sem.t, user/stackchk.t, user/task.t, user/timer.t: Updated the Ada documentation to reflect the current binding.
Diffstat (limited to 'doc/user/clock.t')
-rw-r--r--doc/user/clock.t31
1 files changed, 18 insertions, 13 deletions
diff --git a/doc/user/clock.t b/doc/user/clock.t
index 4e6a1fef27..b51972539e 100644
--- a/doc/user/clock.t
+++ b/doc/user/clock.t
@@ -351,34 +351,34 @@ indicated below:
@itemize @bullet
@item @code{@value{RPREFIX}CLOCK_GET_TOD} - (rtems_time_of_day *)
-@item @code{@value{RPREFIX}CLOCK_GET_TIME_VALUE} - (rtems_clock_time_value *)
+@item @code{@value{RPREFIX}CLOCK_GET_SECONDS_SINCE_EPOCH} - (rtems_interval *)
@item @code{@value{RPREFIX}CLOCK_GET_TICKS_SINCE_BOOT} - (rtems_interval *)
-@item @code{@value{RPREFIX}CLOCK_GET_SECONDS_SINCE_EPOCH} - (rtems_interval *)
-
@item @code{@value{RPREFIX}CLOCK_GET_TICKS_PER_SECOND} - (rtems_interval *)
+@item @code{@value{RPREFIX}CLOCK_GET_TIME_VALUE} - (rtems_clock_time_value *)
+
@end itemize
@end ifset
@ifset is-Ada
@itemize @bullet
-@item @code{@value{RPREFIX}CLOCK_GET_TOD} - Address of an variable of
+@item @code{@value{RPREFIX}Clock_Get_TOD} - Address of an variable of
type RTEMS.Time_Of_Day
-@item @code{@value{RPREFIX}CLOCK_GET_TIME_VALUE} - Address of an variable of
-type RTEMS.Clock_Time_Value
-
-@item @code{@value{RPREFIX}CLOCK_GET_TICKS_SINCE_BOOT} - Address of an
+@item @code{@value{RPREFIX}Clock_Get_Seconds_Since_Epoch} - Address of an
variable of type RTEMS.Interval
-@item @code{@value{RPREFIX}CLOCK_GET_SECONDS_SINCE_EPOCH} - Address of an
+@item @code{@value{RPREFIX}Clock_Get_Ticks_Since_Boot} - Address of an
variable of type RTEMS.Interval
-@item @code{@value{RPREFIX}CLOCK_GET_TICKS_PER_SECOND} - Address of an
+@item @code{@value{RPREFIX}Clock_Get_Ticks_Per_Second} - Address of an
variable of type RTEMS.Interval
+@item @code{@value{RPREFIX}Clock_Get_Time_Value} - Address of an variable of
+type RTEMS.Clock_Time_Value
+
@end itemize
@end ifset
@@ -447,7 +447,7 @@ current date and time as well as timestamps.
@c
@c
@page
-@subsection CLOCK_GET_UPTIME - Get the time since booy
+@subsection CLOCK_GET_UPTIME - Get the time since boot
@cindex clock get uptime
@cindex uptime
@@ -465,7 +465,10 @@ rtems_status_code rtems_clock_get_uptime(
@ifset is-Ada
@example
-NOT SUPPORTED FROM Ada BINDING
+procedure Clock_Get_Uptime (
+ Uptime : out RTEMS.Timespec;
+ Result : out RTEMS.Status_Codes
+);
@end example
@end ifset
@@ -503,7 +506,9 @@ rtems_status_code rtems_clock_tick( void );
@ifset is-Ada
@example
-NOT SUPPORTED FROM Ada BINDING
+procedure Clock_Tick (
+ Result : out RTEMS.Status_Codes
+);
@end example
@end ifset