mirror of
https://github.com/OneOfEleven/uv-k5-firmware-custom.git
synced 2025-06-20 23:18:39 +03:00
Initial commit
This commit is contained in:
16
external/CMSIS_5/CMSIS/DoxyGen/RTOS/src/RTX/cmsis_os_rtx_extensions.h
vendored
Normal file
16
external/CMSIS_5/CMSIS/DoxyGen/RTOS/src/RTX/cmsis_os_rtx_extensions.h
vendored
Normal file
@ -0,0 +1,16 @@
|
||||
// ==== RTX Extensions ====
|
||||
|
||||
/// Suspend the RTX task scheduler.
|
||||
/// \return number of ticks, for how long the system can sleep or power-down.
|
||||
uint32_t os_suspend (void);
|
||||
|
||||
/// Resume the RTX task scheduler.
|
||||
/// \param[in] sleep_time specifies how long the system was in sleep or power-down mode.
|
||||
void os_resume (uint32_t sleep_time);
|
||||
|
||||
/// OS idle demon (running when no other thread is ready to run).
|
||||
__NO_RETURN void os_idle_demon (void);
|
||||
|
||||
/// OS error callback (called when a runtime error is detected).
|
||||
/// \param[in] error_code actual error code that has been detected.
|
||||
__NO_RETURN void os_error (uint32_t error_code);
|
Reference in New Issue
Block a user