|
|
@@ -615,13 +615,15 @@ Examples:
|
|
|
The following CMSIS-RTOS2 functions can be called from threads and Interrupt Service Routines (ISR):
|
|
|
- \ref osKernelGetInfo, \ref osKernelGetState,
|
|
|
\ref osKernelGetTickCount, \ref osKernelGetTickFreq, \ref osKernelGetSysTimerCount, \ref osKernelGetSysTimerFreq
|
|
|
- - \ref osThreadGetId, \ref osThreadFlagsSet
|
|
|
- - \ref osEventFlagsSet, \ref osEventFlagsClear, \ref osEventFlagsGet, \ref osEventFlagsWait
|
|
|
- - \ref osSemaphoreAcquire, \ref osSemaphoreRelease, \ref osSemaphoreGetCount
|
|
|
- - \ref osMemoryPoolAlloc, \ref osMemoryPoolFree, \ref osMemoryPoolGetCapacity, \ref osMemoryPoolGetBlockSize,
|
|
|
- \ref osMemoryPoolGetCount, \ref osMemoryPoolGetSpace
|
|
|
- - \ref osMessageQueuePut, \ref osMessageQueueGet, \ref osMessageQueueGetCapacity, \ref osMessageQueueGetMsgSize,
|
|
|
- \ref osMessageQueueGetCount, \ref osMessageQueueGetSpace
|
|
|
+ - \ref osThreadGetName, \ref osThreadGetId, \ref osThreadFlagsSet
|
|
|
+ - \ref osTimerGetName
|
|
|
+ - \ref osEventFlagsGetName, \ref osEventFlagsSet, \ref osEventFlagsClear, \ref osEventFlagsGet, \ref osEventFlagsWait
|
|
|
+ - \ref osMutexGetName
|
|
|
+ - \ref osSemaphoreGetName, \ref osSemaphoreAcquire, \ref osSemaphoreRelease, \ref osSemaphoreGetCount
|
|
|
+ - \ref osMemoryPoolGetName, \ref osMemoryPoolAlloc, \ref osMemoryPoolFree,
|
|
|
+ \ref osMemoryPoolGetCapacity, \ref osMemoryPoolGetBlockSize, \ref osMemoryPoolGetCount, \ref osMemoryPoolGetSpace
|
|
|
+ - \ref osMessageQueueGetName, \ref osMessageQueuePut, \ref osMessageQueueGet, \ref osMessageQueueGetCapacity,
|
|
|
+ \ref osMessageQueueGetMsgSize, \ref osMessageQueueGetCount, \ref osMessageQueueGetSpace
|
|
|
|
|
|
Functions that cannot be called from an ISR are verifying the interrupt status and return the status code \b osErrorISR, in
|
|
|
case they are called from an ISR context. In some implementations, this condition might be caught using the HARD_FAULT
|
|
|
@@ -2233,13 +2235,15 @@ The following CMSIS-RTOS C API v2 functions can be called from threads and \ref
|
|
|
(ISR):
|
|
|
- \ref osKernelGetInfo, \ref osKernelGetState,
|
|
|
\ref osKernelGetTickCount, \ref osKernelGetTickFreq, \ref osKernelGetSysTimerCount, \ref osKernelGetSysTimerFreq
|
|
|
- - \ref osThreadGetId, \ref osThreadFlagsSet
|
|
|
- - \ref osEventFlagsSet, \ref osEventFlagsClear, \ref osEventFlagsGet, \ref osEventFlagsWait
|
|
|
- - \ref osSemaphoreAcquire, \ref osSemaphoreRelease, \ref osSemaphoreGetCount
|
|
|
- - \ref osMemoryPoolAlloc, \ref osMemoryPoolFree, \ref osMemoryPoolGetCapacity, \ref osMemoryPoolGetBlockSize,
|
|
|
- \ref osMemoryPoolGetCount, \ref osMemoryPoolGetSpace
|
|
|
- - \ref osMessageQueuePut, \ref osMessageQueueGet, \ref osMessageQueueGetCapacity, \ref osMessageQueueGetMsgSize,
|
|
|
- \ref osMessageQueueGetCount, \ref osMessageQueueGetSpace
|
|
|
+ - \ref osThreadGetName, \ref osThreadGetId, \ref osThreadFlagsSet
|
|
|
+ - \ref osTimerGetName
|
|
|
+ - \ref osEventFlagsGetName, \ref osEventFlagsSet, \ref osEventFlagsClear, \ref osEventFlagsGet, \ref osEventFlagsWait
|
|
|
+ - \ref osMutexGetName
|
|
|
+ - \ref osSemaphoreGetName, \ref osSemaphoreAcquire, \ref osSemaphoreRelease, \ref osSemaphoreGetCount
|
|
|
+ - \ref osMemoryPoolGetName, \ref osMemoryPoolAlloc, \ref osMemoryPoolFree,
|
|
|
+ \ref osMemoryPoolGetCapacity, \ref osMemoryPoolGetBlockSize, \ref osMemoryPoolGetCount, \ref osMemoryPoolGetSpace
|
|
|
+ - \ref osMessageQueueGetName, \ref osMessageQueuePut, \ref osMessageQueueGet, \ref osMessageQueueGetCapacity,
|
|
|
+ \ref osMessageQueueGetMsgSize, \ref osMessageQueueGetCount, \ref osMessageQueueGetSpace
|
|
|
*/
|
|
|
|
|
|
|