Lines Matching full:flags
13 * @brief Set the specified Thread Flags of a thread.
15 uint32_t osThreadFlagsSet(osThreadId_t thread_id, uint32_t flags) in osThreadFlagsSet() argument
21 || (flags & 0x80000000)) { in osThreadFlagsSet()
26 tid->signal_results |= flags; in osThreadFlagsSet()
35 * @brief Get the current Thread Flags of current running thread.
54 * @brief Clear the specified Thread Flags of current running thread.
56 uint32_t osThreadFlagsClear(uint32_t flags) in osThreadFlagsClear() argument
65 if (flags & 0x80000000) { in osThreadFlagsClear()
76 tid->signal_results &= ~(flags); in osThreadFlagsClear()
83 * @brief Wait for one or more Thread Flags of the current running thread to
86 uint32_t osThreadFlagsWait(uint32_t flags, uint32_t options, uint32_t timeout) in osThreadFlagsWait() argument
98 if (flags & 0x80000000) { in osThreadFlagsWait()
146 if ((tid->signal_results & flags) == flags) { in osThreadFlagsWait()
175 /* Clear signal flags as the thread is ready now */ in osThreadFlagsWait()
177 tid->signal_results &= ~(flags); in osThreadFlagsWait()