Update some comments.

This commit is contained in:
Gregory Nutt 2018-03-14 08:17:50 -06:00
parent 5f0af167df
commit 06e7533bb0
2 changed files with 19 additions and 7 deletions

View File

@ -340,21 +340,24 @@ void clock_resynchronize(FAR struct timespec *rtc_diff);
*
* Description:
* Return the current value of the 32/64-bit system timer counter.
*
* Indirect access to the system timer counter is required through this
* function if the execution environment does not have direct access to
* kernel global data.
*
* Use of this function is also required to assue atomic access to the
* Use of this function is also required to assure atomic access to the
* 64-bit system timer.
*
* NOTE: This is an internal OS interface and should not be called from
* application code. Rather, the functionally equivalent, standard
* interface clock() should be used.
*
* Input Parameters:
* None
*
* Returned Value:
* The current value of the system timer counter
*
* Assumptions:
*
****************************************************************************/
#if !defined(__HAVE_KERNEL_GLOBALS) || defined(CONFIG_SYSTEM_TIME64)

View File

@ -67,7 +67,18 @@
* Name: clock_systimer
*
* Description:
* Return the current value of the 32/64-bit system timer counter
* Return the current value of the 32/64-bit system timer counter.
*
* Indirect access to the system timer counter is required through this
* function if the execution environment does not have direct access to
* kernel global data.
*
* Use of this function is also required to assure atomic access to the
* 64-bit system timer.
*
* NOTE: This is an internal OS interface and should not be called from
* application code. Rather, the functionally equivalent, standard
* interface clock() should be used.
*
* Input Parameters:
* None
@ -75,8 +86,6 @@
* Returned Value:
* The current value of the system timer counter
*
* Assumptions:
*
****************************************************************************/
systime_t clock_systimer(void)