@@ -33,26 +33,26 @@ namespace rtos {
33
33
namespace Kernel {
34
34
35
35
/* * Read the current RTOS kernel millisecond tick count.
36
- The tick count corresponds to the tick count used by the RTOS for timing
37
- purposes. It increments monotonically from 0 at boot, hence effectively
36
+ The tick count corresponds to the tick count the RTOS uses for timing
37
+ purposes. It increments monotonically from 0 at boot, so it effectively
38
38
never wraps. If the underlying RTOS only provides a 32-bit tick count,
39
39
this method expands it to 64 bits.
40
40
@return RTOS kernel current tick count
41
- @note mbed OS always uses millisecond RTOS ticks, and this could only wrap
42
- after half a billion years
41
+ @note Mbed OS always uses millisecond RTOS ticks, and this could only wrap
42
+ after half a billion years.
43
43
@note You cannot call this function from ISR context.
44
44
*/
45
45
uint64_t get_ms_count ();
46
46
47
- /* * Attach a function to be called by the RTOS idle task
48
- @param fptr pointer to the function to be called
47
+ /* * Attach a function to be called by the RTOS idle task.
48
+ @param fptr pointer to the function to be called
49
49
50
50
@note You may call this function from ISR context.
51
51
*/
52
52
void attach_idle_hook (void (*fptr)(void ));
53
53
54
54
/* * Attach a function to be called when a thread terminates.
55
- @param fptr pointer to the function to be called
55
+ @param fptr pointer to the function to be called
56
56
57
57
@note You may call this function from ISR context.
58
58
*/
0 commit comments