diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-05-31 15:55:10 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 1997-05-31 15:55:10 +0000 |
commit | a94c5a5d6992b6dca9afec09352ab80db4643078 (patch) | |
tree | 09da48a21cc739f0871774d815761a536591e7fe /doc/user/clock.t | |
parent | Changed bitwise OR's used to build up option and attribute sets (diff) | |
download | rtems-a94c5a5d6992b6dca9afec09352ab80db4643078.tar.bz2 |
Changed bitwise OR's used to build up option and attribute sets
to be correct in either C or Ada.
Added the interrupt disable, enable, flash, and is in progress directives.
changed "97" to "1997"
Diffstat (limited to 'doc/user/clock.t')
-rw-r--r-- | doc/user/clock.t | 30 |
1 files changed, 19 insertions, 11 deletions
diff --git a/doc/user/clock.t b/doc/user/clock.t index aaf9f3b9cc..acc84796e9 100644 --- a/doc/user/clock.t +++ b/doc/user/clock.t @@ -5,7 +5,7 @@ @c @ifinfo -@node Clock Manager, Clock Manager Introduction, INTERRUPT_CATCH - Establish an ISR, Top +@node Clock Manager, Clock Manager Introduction, INTERRUPT_IS_IN_PROGRESS - Is an ISR in Progress, Top @end ifinfo @chapter Clock Manager @ifinfo @@ -239,11 +239,19 @@ dependent on the option selected by the caller. The following options are available: @itemize @bullet -@item CLOCK_GET_TOD - obtain native style date and time -@item CLOCK_GET_TIME_VALUE - obtain UNIX-style date and time -@item CLOCK_GET_TICKS_SINCE_BOOT - obtain number of ticks since RTEMS was initialized -@item CLOCK_GET_SECONDS_SINCE_EPOCH - obtain number of seconds since RTEMS epoch -@item CLOCK_GET_TICKS_PER_SECOND - obtain number of clock ticks per second +@item @code{CLOCK_GET_TOD} - obtain native style date and time + +@item @code{CLOCK_GET_TIME_VALUE} - obtain UNIX-style date and time + +@item @code{CLOCK_GET_TICKS_SINCE_BOOT} - obtain number of ticks +since RTEMS was initialized + +@item @code{CLOCK_GET_SECONDS_SINCE_EPOCH} - obtain number of seconds +since RTEMS epoch + +@item @code{CLOCK_GET_TICKS_PER_SECOND} - obtain number of clock ticks +per second + @end itemize Calendar time operations will return an error code if @@ -354,13 +362,13 @@ procedure Clock_Get ( This directive obtains the system date and time. If the caller is attempting to obtain the date and time (i.e. -option is set to either CLOCK_GET_SECONDS_SINCE_EPOCH, -CLOCK_GET_TOD, or CLOCK_GET_TIME_VALUE) and the date and time +option is set to either @code{CLOCK_GET_SECONDS_SINCE_EPOCH}, +@code{CLOCK_GET_TOD}, or @code{CLOCK_GET_TIME_VALUE}) and the date and time has not been set with a previous call to clock_set, then the -NOT_DEFINED status code is returned. The caller can always +@code{NOT_DEFINED} status code is returned. The caller can always obtain the number of ticks per second (option is -CLOCK_GET_TICKS_PER_SECOND) and the number of ticks since the -executive was initialized option is CLOCK_GET_TICKS_SINCE_BOOT). +@code{CLOCK_GET_TICKS_PER_SECOND}) and the number of ticks since the +executive was initialized option is @code{CLOCK_GET_TICKS_SINCE_BOOT}). @subheading NOTES: |