Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
Functions in the Kernel namespace control RTOS kernel information. More...
Functions | |
uint64_t | get_ms_count () |
Read the current RTOS kernel millisecond tick count. | |
void | attach_idle_hook (void(*fptr)(void)) |
Attach a function to be called by the RTOS idle task. | |
void | attach_thread_terminate_hook (void(*fptr)(osThreadId_t id)) |
Attach a function to be called when a thread terminates. |
Detailed Description
Functions in the Kernel namespace control RTOS kernel information.
Function Documentation
void attach_idle_hook | ( | void(*)(void) | fptr ) |
Attach a function to be called by the RTOS idle task.
- Parameters:
-
fptr pointer to the function to be called
- Note:
- You may call this function from ISR context.
Definition at line 77 of file Kernel.cpp.
void attach_thread_terminate_hook | ( | void(*)(osThreadId_t id) | fptr ) |
Attach a function to be called when a thread terminates.
- Parameters:
-
fptr pointer to the function to be called
- Note:
- You may call this function from ISR context.
Definition at line 82 of file Kernel.cpp.
Generated on Tue Jul 12 2022 13:55:45 by
