Skip to content

Commit

Permalink
Merge pull request #12872 from rajkan01/kernel_interface_func_doxygen
Browse files Browse the repository at this point in the history
Add the Doxygen note to non-supported RTOS kernel APIs.
  • Loading branch information
0xc0170 committed Apr 29, 2020
2 parents 1ddfa59 + 57e0063 commit 6052b45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rtos/Kernel.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,13 +49,15 @@ uint64_t get_ms_count();
@param fptr pointer to the function to be called
@note You may call this function from ISR context.
@note Bare metal profile: This API is not supported.
*/
void attach_idle_hook(void (*fptr)(void));

/** Attach a function to be called when a thread terminates.
@param fptr pointer to the function to be called
@note You may call this function from ISR context.
@note Bare metal profile: This API is not supported.
*/
void attach_thread_terminate_hook(void (*fptr)(osThreadId_t id));

Expand Down

0 comments on commit 6052b45

Please sign in to comment.