summaryrefslogtreecommitdiffstats
path: root/cpukit/score/include/rtems/score/todimpl.h
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@oarcorp.com>2014-07-23 15:39:17 -0500
committerJoel Sherrill <joel.sherrill@oarcorp.com>2014-07-23 16:53:24 -0500
commit9113798c830ae122c591fd8600c7bf1be49ed1e7 (patch)
tree2bc05e203146d6d3292e0104cda64f06ff2b6262 /cpukit/score/include/rtems/score/todimpl.h
parentcoretod*.c: Fix Doxygen group and comment formatting (diff)
downloadrtems-9113798c830ae122c591fd8600c7bf1be49ed1e7.tar.bz2
todimpl.h: Add missing Doxygen
Diffstat (limited to 'cpukit/score/include/rtems/score/todimpl.h')
-rw-r--r--cpukit/score/include/rtems/score/todimpl.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/cpukit/score/include/rtems/score/todimpl.h b/cpukit/score/include/rtems/score/todimpl.h
index 68a2d15dd4..ad5ed39dab 100644
--- a/cpukit/score/include/rtems/score/todimpl.h
+++ b/cpukit/score/include/rtems/score/todimpl.h
@@ -334,6 +334,11 @@ void _TOD_Adjust(
const Timestamp_Control timestamp
);
+/**
+ * @brief Install the BSP's nanoseconds since clock tick handler
+ *
+ * @param[in] routine is the BSP's nanoseconds since clock tick method
+ */
RTEMS_INLINE_ROUTINE void _TOD_Set_nanoseconds_since_last_tick_handler(
TOD_Nanoseconds_since_last_tick_routine routine
)
@@ -341,6 +346,11 @@ RTEMS_INLINE_ROUTINE void _TOD_Set_nanoseconds_since_last_tick_handler(
_TOD.nanoseconds_since_last_tick = routine;
}
+/**
+ * @brief Check if the TOD is Set
+ *
+ * @return TRUE is the time is set. FALSE otherwise.
+ */
RTEMS_INLINE_ROUTINE bool _TOD_Is_set( void )
{
return _TOD.is_set;