Home
last modified time | relevance | path

Searched refs:condition (Results 1 – 25 of 84) sorted by relevance

1234

/Zephyr-latest/doc/kernel/services/synchronization/
Dcondvar.rst6 A :dfn:`condition variable` is a synchronization primitive
7 that enables threads to wait until a particular condition occurs.
16 Any number of condition variables can be defined (limited only by available RAM). Each
17 condition variable is referenced by its memory address.
19 To wait for a condition to become true, a thread can make use of a condition
22 A condition variable is basically a queue of threads that threads can put
23 themselves on when some state of execution (i.e., some condition) is not as
24 desired (by waiting on the condition). The function
28 #. Puts the current thread in the condition variable queue.
32 the condition using :c:func:`k_condvar_signal` or
[all …]
/Zephyr-latest/modules/hal_nordic/nrf_802154/include/
Dnrf_802154_assert_zephyr.h14 #define NRF_802154_ASSERT(condition) __ASSERT_NO_MSG(condition) argument
20 #define NRF_802154_ASSERT(condition) \ argument
22 if (!(condition)) { \
/Zephyr-latest/samples/bluetooth/peripheral_esp/src/
Dmain.c125 uint8_t condition; member
145 .condition = ESS_TRIGGER_VALUE_CHANGED,
157 .condition = ESS_TRIGGER_VALUE_CHANGED,
220 uint8_t condition; member
225 uint8_t condition; member
236 switch (sensor->condition) { in read_temp_trigger_setting()
242 &sensor->condition, in read_temp_trigger_setting()
243 sizeof(sensor->condition)); in read_temp_trigger_setting()
250 rp.condition = sensor->condition; in read_temp_trigger_setting()
260 rp.condition = sensor->condition; in read_temp_trigger_setting()
[all …]
/Zephyr-latest/samples/kernel/condition_variables/condvar/
DREADME.rst5 Manipulate condition variables in a multithreaded application.
10 This sample demonstrates the usage of :ref:`condition variables <condvar>` in a
13 thread. A thread uses a condition variable to wait for a condition to
16 pending on the condition variable. The sample can be used with any
/Zephyr-latest/doc/services/device_mgmt/smp_groups/
Dsmp_group_3.rst132 | | non-zero (error condition) when using SMP version 2. |
134 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
220 | | non-zero (error condition) when using SMP version 2. |
222 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
310 | | non-zero (error condition) when using SMP version 2. |
312 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
386 | | non-zero (error condition) when using SMP version 2. |
388 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
462 | | non-zero (error condition) when using SMP version 2. |
464 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
[all …]
Dsmp_group_0.rst129 | | non-zero (error condition) when using SMP version 2. |
131 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
245 | | non-zero (error condition) when using SMP version 2. |
247 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
349 | | non-zero (error condition) when using SMP version 2. |
351 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
442 | | non-zero (error condition) when using SMP version 2. |
444 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
533 | | non-zero (error condition) when using SMP version 2. |
535 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
[all …]
Dsmp_group_10.rst101 | | non-zero (error condition) when using SMP version 2. |
103 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
189 | | non-zero (error condition) when using SMP version 2. |
191 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
294 | | non-zero (error condition) when using SMP version 2. |
296 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
422 | | non-zero (error condition) when using SMP version 2. |
424 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
Dsmp_group_63.rst88 | | non-zero (error condition) when using SMP version 2. |
90 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
Dsmp_group_2.rst129 | | non-zero (error condition) when using SMP version 2. |
131 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
222 | | non-zero (error condition) when using SMP version 2. |
224 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
Dsmp_group_8.rst153 | | non-zero (error condition) when using SMP version 2. |
155 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
292 | | non-zero (error condition) when using SMP version 2. |
294 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
392 | | non-zero (error condition) when using SMP version 2. |
394 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
542 | | non-zero (error condition) when using SMP version 2. |
544 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
640 … | | non-zero (error condition) when using SMP version 2. |
642 … | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
[all …]
Dsmp_group_9.rst126 | | non-zero (error condition) when using SMP version 2. |
128 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
Dsmp_group_1.rst203 | | non-zero (error condition) when using SMP version 2. |
205 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
406 | | non-zero (error condition) when using SMP version 2. |
408 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
508 | | non-zero (error condition) when using SMP version 2. |
510 | "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when |
628 …| | condition) when using SMP version 2. …
630 …| "rc" | :c:enum:`mcumgr_err_t` only appears if non-zero (error condition) when using…
/Zephyr-latest/samples/drivers/soc_flash_nrf/src/
Dmain.c46 static void erase_when_needed(const struct device *dev, bool condition, in erase_when_needed() argument
54 if (FLASH_PE_RUNTIME_CHECK(condition)) { in erase_when_needed()
61 (void)condition; in erase_when_needed()
/Zephyr-latest/soc/st/stm32/stm32wbax/hci_if/
Dlinklayer_plat_adapt.c151 void LINKLAYER_PLAT_Assert(uint8_t condition) in LINKLAYER_PLAT_Assert() argument
153 __ASSERT_NO_MSG(condition); in LINKLAYER_PLAT_Assert()
/Zephyr-latest/drivers/ieee802154/
Dieee802154_cc13xx_cc26xx.c342 drv_data->cmd_ieee_tx.condition.rule = in ieee802154_cc13xx_cc26xx_tx()
627 drv_data->cmd_fs.condition.rule = COND_NEVER; in ieee802154_cc13xx_cc26xx_init()
656 .condition.rule = COND_NEVER,
729 .condition.rule = COND_STOP_ON_FALSE,
754 .condition.rule = COND_NEVER,
772 .condition.rule = COND_NEVER,
794 .condition.rule = COND_NEVER,
Dieee802154_cc13xx_cc26xx_subg.c148 .condition.rule = COND_NEVER,
978 .condition.rule = COND_NEVER,
983 .condition.rule = COND_NEVER,
1016 .condition.rule = COND_NEVER,
1041 .condition.rule = COND_NEVER,
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_pkt_filter.rst26 condition is false then the next rule in the list is considered.
44 can be embedded into a larger structure when a specific condition requires
49 to statically define condition instances for various conditions, and
/Zephyr-latest/soc/andestech/ae350/
DKconfig.defconfig6 # Kconfig picks the first default with a satisfied condition.
/Zephyr-latest/cmake/linker/lld/
Dlinker_libraries.cmake11 # When new link principle is fully introduced, then the below condition can
/Zephyr-latest/tests/benchmarks/posix/threads/
DKconfig20 If there is a race condition, a value of zero here should
/Zephyr-latest/doc/kernel/services/
Dpolling.rst32 **poll events**, one for each condition.
36 Each event must specify which **type** of condition must be satisfied so that
37 its state is changed to signal the requested condition has been met.
39 Each event must specify what **kernel object** it wants the condition to be
42 Each event must specify which **mode** of operation is used when the condition
74 event a call to :c:func:`k_poll` will wait for its condition to be
142 :c:macro:`K_FOREVER` to either not wait or wait until an event condition is
/Zephyr-latest/samples/kernel/condition_variables/simple/
DREADME.rst11 This sample demonstrates the usage of condition variables in a
14 thread. Main thread uses a condition variable to wait for a condition to
17 pending on the condition variable. The sample can be used with any
/Zephyr-latest/lib/posix/options/
DKconfig.pthread10 Select 'y' here to enable POSIX threads, mutexes, condition variables, and thread-specific
34 int "Maximum number of POSIX condition variables"
37 Maximum simultaneously active condition variables in a POSIX application.
179 module-str = POSIX condition variable
/Zephyr-latest/cmake/linker/ld/
Dlinker_libraries.cmake16 # When new link principle is fully introduced, then the below condition can
/Zephyr-latest/tests/drivers/sdhc/
DREADME.txt21 * Request test: Make a request to read the card interface condition,

1234