Lines Matching +full:0 +full:b

48 /// \note MUST REMAIN UNCHANGED: \b osCMSIS identifies the CMSIS-RTOS API version.
49 #define osCMSIS 0x10002 ///< API version (main [31:16] .sub [15:0])
51 /// \note CAN BE CHANGED: \b osCMSIS_KERNEL identifies the underlying RTOS kernel and version numbe…
52 #define osCMSIS_KERNEL 0x10000 ///< RTOS identification and version (main [31:16] .sub …
54 /// \note MUST REMAIN UNCHANGED: \b osKernelSystemId shall be consistent in every CMSIS-RTOS.
57 /// \note MUST REMAIN UNCHANGED: \b osFeature_xxx shall be consistent in every CMSIS-RTOS.
58 #define osFeature_MainThread 1 ///< main thread 1=main can be thread, 0=not available
59 #define osFeature_Pool 1 ///< Memory Pools: 1=available, 0=not available
60 #define osFeature_MailQ 1 ///< Mail Queues: 1=available, 0=not available
61 #define osFeature_MessageQ 1 ///< Message Queues: 1=available, 0=not available
64 #define osFeature_Wait 0 ///< osWait function: 1=available, 0=not available
65 #define osFeature_SysTick 1 ///< osKernelSysTick functions: 1=available, 0=not available
81 /// \note MUST REMAIN UNCHANGED: \b osPriority shall be consistent in every CMSIS-RTOS.
86 osPriorityNormal = 0, ///< priority: normal (default)
90 …osPriorityError = 0x84 ///< system cannot determine priority or thread has illegal…
94 /// \note MUST REMAIN UNCHANGED: \b osWaitForever shall be consistent in every CMSIS-RTOS.
95 #define osWaitForever 0xFFFFFFFF ///< wait forever timeout value
98 /// \note MUST REMAIN UNCHANGED: \b osStatus shall be consistent in every CMSIS-RTOS.
100 osOK = 0, ///< function completed; no error or event occurred.
101 osEventSignal = 0x08, ///< function completed; signal event occurred.
102 osEventMessage = 0x10, ///< function completed; message event occurred.
103 osEventMail = 0x20, ///< function completed; mail event occurred.
104 osEventTimeout = 0x40, ///< function completed; timeout occurred.
105 …osErrorParameter = 0x80, ///< parameter error: a mandatory parameter was missing or …
106 …osErrorResource = 0x81, ///< resource not available: a specified resource was not a…
107 …osErrorTimeoutResource = 0xC1, ///< resource not available within given time: a specified …
108 …osErrorISR = 0x82, ///< not allowed in ISR context: the function cannot be cal…
109 …osErrorISRRecursive = 0x83, ///< function called multiple times from ISR with same obje…
110 …osErrorPriority = 0x84, ///< system cannot determine priority or thread has illegal…
111 …osErrorNoMemory = 0x85, ///< system is out of memory: it was impossible to allocate…
112 osErrorValue = 0x86, ///< value of a parameter is out of range.
113 …osErrorOS = 0xFF, ///< unspecified RTOS error: run-time error but no other er…
114 os_status_reserved = 0x7FFFFFFF ///< prevent from enum down-size compiler optimization.
119 /// \note MUST REMAIN UNCHANGED: \b os_timer_type shall be consistent in every CMSIS-RTOS.
121 osTimerOnce = 0, ///< one-shot timer
126 /// \note MUST REMAIN UNCHANGED: \b os_pthread shall be consistent in every CMSIS-RTOS.
130 /// \note MUST REMAIN UNCHANGED: \b os_ptimer shall be consistent in every CMSIS-RTOS.
136 /// \note CAN BE CHANGED: \b os_thread_cb is implementation specific in every CMSIS-RTOS.
140 /// \note CAN BE CHANGED: \b os_timer_cb is implementation specific in every CMSIS-RTOS.
144 /// \note CAN BE CHANGED: \b os_mutex_cb is implementation specific in every CMSIS-RTOS.
148 /// \note CAN BE CHANGED: \b os_semaphore_cb is implementation specific in every CMSIS-RTOS.
152 /// \note CAN BE CHANGED: \b os_pool_cb is implementation specific in every CMSIS-RTOS.
156 /// \note CAN BE CHANGED: \b os_messageQ_cb is implementation specific in every CMSIS-RTOS.
160 /// \note CAN BE CHANGED: \b os_mailQ_cb is implementation specific in every CMSIS-RTOS.
165 /// \note CAN BE CHANGED: \b os_thread_def is implementation specific in every CMSIS-RTOS.
170 …uint32_t stacksize; ///< stack size requirements in bytes; 0 is default stack size
176 ///< a bitarray used to indicate whether the thread is used or not, 0: unused, 1: used
181 /// \note CAN BE CHANGED: \b os_timer_def is implementation specific in every CMSIS-RTOS.
187 /// \note CAN BE CHANGED: \b os_mutex_def is implementation specific in every CMSIS-RTOS.
193 /// \note CAN BE CHANGED: \b os_semaphore_def is implementation specific in every CMSIS-RTOS.
199 /// \note CAN BE CHANGED: \b os_pool_def is implementation specific in every CMSIS-RTOS.
207 /// \note CAN BE CHANGED: \b os_messageQ_def is implementation specific in every CMSIS-RTOS.
216 /// \note CAN BE CHANGED: \b os_mailQ_def is implementation specific in every CMSIS-RTOS.
225 /// \note MUST REMAIN UNCHANGED: \b os_event shall be consistent in every CMSIS-RTOS.
245 /// \note MUST REMAIN UNCHANGED: \b osKernelInitialize shall be consistent in every CMSIS-RTOS.
250 /// \note MUST REMAIN UNCHANGED: \b osKernelStart shall be consistent in every CMSIS-RTOS.
254 /// \note MUST REMAIN UNCHANGED: \b osKernelRunning shall be consistent in every CMSIS-RTOS.
255 /// \return 0 RTOS is not started, 1 RTOS is started.
258 #if (defined (osFeature_SysTick) && (osFeature_SysTick != 0)) // System Timer available
261 /// \note MUST REMAIN UNCHANGED: \b osKernelSysTick shall be consistent in every CMSIS-RTOS.
283 /// \note CAN BE CHANGED: The parameters to \b osThreadDef shall be consistent but the
298 (&wait_events_##name), 0, (void *)(&bitarray_##name)}
303 /// \note CAN BE CHANGED: The parameter to \b osThread shall be consistent but the
312 /// \note MUST REMAIN UNCHANGED: \b osThreadCreate shall be consistent in every CMSIS-RTOS.
317 /// \note MUST REMAIN UNCHANGED: \b osThreadGetId shall be consistent in every CMSIS-RTOS.
323 /// \note MUST REMAIN UNCHANGED: \b osThreadTerminate shall be consistent in every CMSIS-RTOS.
326 /// Pass control to next thread that is in state \b READY.
328 /// \note MUST REMAIN UNCHANGED: \b osThreadYield shall be consistent in every CMSIS-RTOS.
335 /// \note MUST REMAIN UNCHANGED: \b osThreadSetPriority shall be consistent in every CMSIS-RTOS.
341 /// \note MUST REMAIN UNCHANGED: \b osThreadGetPriority shall be consistent in every CMSIS-RTOS.
352 #if (defined (osFeature_Wait) && (osFeature_Wait != 0)) // Generic Wait available
355 /// \param[in] millisec \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out
357 /// \note MUST REMAIN UNCHANGED: \b osWait shall be consistent in every CMSIS-RTOS.
367 /// \note CAN BE CHANGED: The parameter to \b osTimerDef shall be consistent but the
380 /// \note CAN BE CHANGED: The parameter to \b osTimer shall be consistent but the
390 /// \note MUST REMAIN UNCHANGED: \b osTimerCreate shall be consistent in every CMSIS-RTOS.
397 /// \note MUST REMAIN UNCHANGED: \b osTimerStart shall be consistent in every CMSIS-RTOS.
403 /// \note MUST REMAIN UNCHANGED: \b osTimerStop shall be consistent in every CMSIS-RTOS.
409 /// \note MUST REMAIN UNCHANGED: \b osTimerDelete shall be consistent in every CMSIS-RTOS.
418 /// \return previous signal flags of the specified thread or 0x80000000 in case of incorrect parame…
419 /// \note MUST REMAIN UNCHANGED: \b osSignalSet shall be consistent in every CMSIS-RTOS.
425 /// \return previous signal flags of the specified thread or 0x80000000 in case of incorrect parame…
426 /// \note MUST REMAIN UNCHANGED: \b osSignalClear shall be consistent in every CMSIS-RTOS.
429 /// Wait for one or more Signal Flags to become signaled for the current \b RUNNING thread.
430 /// \param[in] signals wait until all specified signal flags set or 0 for any single sign…
431 /// \param[in] millisec \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out.
433 /// \note MUST REMAIN UNCHANGED: \b osSignalWait shall be consistent in every CMSIS-RTOS.
441 /// \note CAN BE CHANGED: The parameter to \b osMutexDef shall be consistent but the
448 const osMutexDef_t os_mutex_def_##name = { 0 }
453 /// \note CAN BE CHANGED: The parameter to \b osMutex shall be consistent but the
461 /// \note MUST REMAIN UNCHANGED: \b osMutexCreate shall be consistent in every CMSIS-RTOS.
466 /// \param[in] millisec \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out.
468 /// \note MUST REMAIN UNCHANGED: \b osMutexWait shall be consistent in every CMSIS-RTOS.
474 /// \note MUST REMAIN UNCHANGED: \b osMutexRelease shall be consistent in every CMSIS-RTOS.
480 /// \note MUST REMAIN UNCHANGED: \b osMutexDelete shall be consistent in every CMSIS-RTOS.
486 #if (defined (osFeature_Semaphore) && (osFeature_Semaphore != 0)) // Semaphore available
490 /// \note CAN BE CHANGED: The parameter to \b osSemaphoreDef shall be consistent but the
497 const osSemaphoreDef_t os_semaphore_def_##name = { 0 }
502 /// \note CAN BE CHANGED: The parameter to \b osSemaphore shall be consistent but the
511 /// \note MUST REMAIN UNCHANGED: \b osSemaphoreCreate shall be consistent in every CMSIS-RTOS.
516 /// \param[in] millisec \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out.
518 /// \note MUST REMAIN UNCHANGED: \b osSemaphoreWait shall be consistent in every CMSIS-RTOS.
524 /// \note MUST REMAIN UNCHANGED: \b osSemaphoreRelease shall be consistent in every CMSIS-RTOS.
530 /// \note MUST REMAIN UNCHANGED: \b osSemaphoreDelete shall be consistent in every CMSIS-RTOS.
538 #if (defined (osFeature_Pool) && (osFeature_Pool != 0)) // Memory Pool Management available
544 /// \note CAN BE CHANGED: The parameter to \b osPoolDef shall be consistent but the
558 /// \note CAN BE CHANGED: The parameter to \b osPool shall be consistent but the
566 /// \note MUST REMAIN UNCHANGED: \b osPoolCreate shall be consistent in every CMSIS-RTOS.
572 /// \note MUST REMAIN UNCHANGED: \b osPoolAlloc shall be consistent in every CMSIS-RTOS.
578 /// \note MUST REMAIN UNCHANGED: \b osPoolCAlloc shall be consistent in every CMSIS-RTOS.
585 /// \note MUST REMAIN UNCHANGED: \b osPoolFree shall be consistent in every CMSIS-RTOS.
593 #if (defined (osFeature_MessageQ) && (osFeature_MessageQ != 0)) // Message Queues available
599 /// \note CAN BE CHANGED: The parameter to \b osMessageQDef shall be consistent but the
614 /// \note CAN BE CHANGED: The parameter to \b osMessageQ shall be consistent but the
623 /// \note MUST REMAIN UNCHANGED: \b osMessageCreate shall be consistent in every CMSIS-RTOS.
629 /// \param[in] millisec \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out.
631 /// \note MUST REMAIN UNCHANGED: \b osMessagePut shall be consistent in every CMSIS-RTOS.
636 /// \param[in] millisec \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out.
638 /// \note MUST REMAIN UNCHANGED: \b osMessageGet shall be consistent in every CMSIS-RTOS.
646 #if (defined (osFeature_MailQ) && (osFeature_MailQ != 0)) // Mail Queues available
652 /// \note CAN BE CHANGED: The parameter to \b osMailQDef shall be consistent but the
667 /// \note CAN BE CHANGED: The parameter to \b osMailQ shall be consistent but the
676 /// \note MUST REMAIN UNCHANGED: \b osMailCreate shall be consistent in every CMSIS-RTOS.
681 /// \param[in] millisec \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out
683 /// \note MUST REMAIN UNCHANGED: \b osMailAlloc shall be consistent in every CMSIS-RTOS.
688 /// \param[in] millisec \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out
690 /// \note MUST REMAIN UNCHANGED: \b osMailCAlloc shall be consistent in every CMSIS-RTOS.
697 /// \note MUST REMAIN UNCHANGED: \b osMailPut shall be consistent in every CMSIS-RTOS.
702 /// \param[in] millisec \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out
704 /// \note MUST REMAIN UNCHANGED: \b osMailGet shall be consistent in every CMSIS-RTOS.
711 /// \note MUST REMAIN UNCHANGED: \b osMailFree shall be consistent in every CMSIS-RTOS.