mirror of https://github.com/ARMmbed/mbed-os.git
Edit Kernel.h
Make minor copy edits for active voice, branding and deletion of extra spaces.pull/8435/head
parent
4cdcdc1010
commit
2418d9c0ae
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue