osStop function
void osStop(void);

Function stops the operating system execution.

This function allows immediately suspending the operating system execution. Code execution is continued from place, where an osStart was called to start the operating system. When the operating system is stopped, it can be resumed by calling an osStart function. The osStop function is available only, when the OS_STOP_FUNC is set to 1.

Header file:OS_API.h
See also: osStart
SpaceShadow documentation