Edit Kernel.h

Make minor copy edits for active voice, branding and deletion of extra spaces.
pull/8435/head
Amanda Butler 2018-10-30 10:25:25 -05:00 committed by GitHub
parent 4cdcdc1010
commit 2418d9c0ae
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 7 deletions

View File

@ -33,18 +33,18 @@ namespace rtos {
namespace Kernel { namespace Kernel {
/** Read the current RTOS kernel millisecond tick count. /** Read the current RTOS kernel millisecond tick count.
The tick count corresponds to the tick count used by the RTOS for timing The tick count corresponds to the tick count the RTOS uses for timing
purposes. It increments monotonically from 0 at boot, hence effectively purposes. It increments monotonically from 0 at boot, so it effectively
never wraps. If the underlying RTOS only provides a 32-bit tick count, never wraps. If the underlying RTOS only provides a 32-bit tick count,
this method expands it to 64 bits. this method expands it to 64 bits.
@return RTOS kernel current tick count @return RTOS kernel current tick count
@note mbed OS always uses millisecond RTOS ticks, and this could only wrap @note Mbed OS always uses millisecond RTOS ticks, and this could only wrap
after half a billion years after half a billion years.
@note You cannot call this function from ISR context. @note You cannot call this function from ISR context.
*/ */
uint64_t get_ms_count(); uint64_t get_ms_count();
/** Attach a function to be called by the RTOS idle task /** Attach a function to be called by the RTOS idle task.
@param fptr pointer to the function to be called @param fptr pointer to the function to be called
@note You may call this function from ISR context. @note You may call this function from ISR context.