Lines Matching +full:current +full:- +full:reference +full:- +full:control
2 * Copyright (c) 2013-2017 ARM Limited. All rights reserved.
4 * SPDX-License-Identifier: Apache-2.0
10 * www.apache.org/licenses/LICENSE-2.0
18 * ----------------------------------------------------------------------
23 * Project: CMSIS-RTOS2 API
28 * - osKernelGetInfo, osKernelGetState
31 * - osKernelGetTickCount, osKernelGetTickFreq
33 * - updated: osKernelGetTickCount, osDelayUntil
36 * - updated: osKernelLock, osKernelUnlock
37 * - added: osKernelRestoreLock
39 * - changed flags parameter and return type from int32_t to uint32_t
42 *---------------------------------------------------------------------------*/
85 osKernelError = -1, /* /< Error. */
86 osKernelReserved = 0x7FFFFFFFU /* /< Prevents enum down-size compiler optimization. */
96 osThreadError = -1, /* /< Error. */
97 osThreadReserved = 0x7FFFFFFF /* /< Prevents enum down-size compiler optimization. */
153 …osPriorityError = -1, /* /< System cannot determine priority or illegal priority. …
154 osPriorityReserved = 0x7FFFFFFF /* /< Prevents enum down-size compiler optimization. */
165 osTimerOnce = 0, /* /< One-shot timer. */
179 #define osFlagsErrorUnknown 0xFFFFFFFFU /* /< osError (-1). */
180 #define osFlagsErrorTimeout 0xFFFFFFFEU /* /< osErrorTimeout (-2). */
181 #define osFlagsErrorResource 0xFFFFFFFDU /* /< osErrorResource (-3). */
182 #define osFlagsErrorParameter 0xFFFFFFFCU /* /< osErrorParameter (-4). */
183 #define osFlagsErrorISR 0xFFFFFFFAU /* /< osErrorISR (-6). */
194 /* / Status code values returned by CMSIS-RTOS functions. */
197 …osError = -1, /* /< Unspecified RTOS error: run-time error but no other …
198 …osErrorTimeout = -2, /* /< Operation not completed within the timeout period. */
199 osErrorResource = -3, /* /< Resource not available. */
200 osErrorParameter = -4, /* /< Parameter error. */
201 …osErrorNoMemory = -5, /* /< System is out of memory: it was impossible to alloca…
202 …osErrorISR = -6, /* /< Not allowed in ISR context: the function cannot be c…
203 osStatusReserved = 0x7FFFFFFF /* /< Prevents enum down-size compiler optimization. */
240 void *cb_mem; /* /< memory for control block */
241 uint32_t cb_size; /* /< size of provided memory for control block */
253 void *cb_mem; /* /< memory for control block */
254 uint32_t cb_size; /* /< size of provided memory for control block */
261 void *cb_mem; /* /< memory for control block */
262 uint32_t cb_size; /* /< size of provided memory for control block */
269 void *cb_mem; /* /< memory for control block */
270 uint32_t cb_size; /* /< size of provided memory for control block */
277 void *cb_mem; /* /< memory for control block */
278 uint32_t cb_size; /* /< size of provided memory for control block */
285 void *cb_mem; /* /< memory for control block */
286 uint32_t cb_size; /* /< size of provided memory for control block */
295 void *cb_mem; /* /< memory for control block */
296 uint32_t cb_size; /* /< size of provided memory for control block */
315 /* / Get the current RTOS Kernel state. */
316 /* / \return current RTOS Kernel state. */
324 /* / \return previous lock state (1 - locked, 0 - not locked, error code if negative). */
328 /* / \return previous lock state (1 - locked, 0 - not locked, error code if negative). */
333 /* / \return new lock state (1 - locked, 0 - not locked, error code if negative). */
337 /* / \return time in ticks, for how long the system can sleep or power-down. */
341 /* / \param[in] sleep_ticks time in ticks for how long the system was in sleep or power-down …
345 /* / \return RTOS kernel current tick count. */
353 /* / \return RTOS kernel current system timer count as 32-bit value. */
367 /* / \return thread ID for reference by other functions or NULL in case of error. */
375 /* / Return the thread ID of the current running thread. */
376 /* / \return thread ID for reference by other functions or NULL in case of error. */
379 /* / Get current thread state of a thread. */
381 /* / \return current thread state of the specified thread. */
400 /* / Get current priority of a thread. */
402 /* / \return current priority value of the specified thread. */
405 /* / Pass control to next thread that is in state \b READY. */
429 /* / Terminate execution of current running thread. */
456 /* / Clear the specified Thread Flags of current running thread. */
461 /* / Get the current Thread Flags of current running thread. */
462 /* / \return current thread flags. */
465 /* / Wait for one or more Thread Flags of the current running thread to become signaled. */
468 /* / \param[in] timeout \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out. */
490 /* / \param[in] type \ref osTimerOnce for one-shot or \ref osTimerPeriodic for periodi…
493 /* / \return timer ID for reference by other functions or NULL in case of error. */
527 /* / \return event flags ID for reference by other functions or NULL in case of error. */
547 /* / Get the current Event Flags. */
549 /* / \return current event flags. */
556 /* / \param[in] timeout \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out. */
570 /* / \return mutex ID for reference by other functions or NULL in case of error. */
580 /* / \param[in] timeout \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out. */
606 /* / \return semaphore ID for reference by other functions or NULL in case of error. */
616 /* / \param[in] timeout \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out. */
625 /* / Get current Semaphore token count. */
642 /* / \return memory pool ID for reference by other functions or NULL in case of error. */
652 /* / \param[in] timeout \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out. */
694 /* / \return message queue ID for reference by other functions or NULL in case of error. */
706 /* / \param[in] timeout \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out. */
714 /* / \param[in] timeout \ref CMSIS_RTOS_TimeOutValue or 0 in case of no time-out. */