Home
last modified time | relevance | path

Searched refs:then (Results 1 – 25 of 747) sorted by relevance

12345678910>>...30

/Zephyr-latest/tests/posix/timers/src/
Dsleep.c29 uint32_t then; in ZTEST() local
40 then = k_uptime_get(); in ZTEST()
43 zassert_true((now - then) >= 1 * MSEC_PER_SEC); in ZTEST()
46 then = k_uptime_get(); in ZTEST()
49 zassert_true((now - then) >= 2 * MSEC_PER_SEC); in ZTEST()
60 uint32_t then; in ZTEST() local
69 then = k_uptime_get(); in ZTEST()
72 zassert_true(((now - then) * USEC_PER_MSEC) / (USEC_PER_SEC - 1) >= 1); in ZTEST()
Dclock.c142 struct timespec then, now; in ZTEST() local
160 (void)clock_gettime(CLOCK_REALTIME, &then); in ZTEST()
167 x_i = tp_diff(&now, &then) / NSEC_PER_MSEC; in ZTEST()
168 then = now; in ZTEST()
/Zephyr-latest/doc/connectivity/networking/api/
Dnet_hostname.rst19 then the default hostname is set to be ``zephyr`` by
22 If the same firmware image is used to flash multiple boards, then it is not
28 ``01:02:03:04:05:06``, then the unique hostname could be
29 ``zephyr010203040506``. If you want to set the prefix yourself, then call
31 Alternatively, if you prefer a hexadecimal conversion for the prefix, then call
Dnet_stats.rst28 :kconfig:option:`CONFIG_NET_STATISTICS_ETHERNET_VENDOR` option is set, then
30 These statistics can then be transferred to application for processing.
32 If the :kconfig:option:`CONFIG_NET_SHELL` option is set, then network shell can
Dnet_config.rst25 network system is configured or initialized at all. If not set, then the
28 then the user can optionally configure static IP addresses to be set to the
37 DHCPv4 is not received within this limit, then a call to
42 If :kconfig:option:`CONFIG_NET_IPV4` is not enabled, then setting this option will
47 If :kconfig:option:`CONFIG_NET_IPV6` is not enabled, then setting this option will
49 ":kconfig:option:`CONFIG_NET_CONFIG_NEED_IPV6_ROUTER`", "If IPv6 is enabled, then
69 If :kconfig:option:`CONFIG_NET_CONFIG_AUTO_INIT` is set, then the configuration library
Dwebsocket.rst42 The Websocket transport socket is then created like this:
48 The Websocket socket can then be used to send or receive data, and the
61 If normal BSD socket functions are used, then currently only TEXT data
Dnet_pkt_filter.rst24 for a given rule are true then the packet outcome is immediately determined
26 condition is false then the next rule in the list is considered.
38 If a filter rule list is empty then ``NET_OK`` is assumed. If a non-empty
39 rule list runs to the end then ``NET_DROP`` is assumed. However it is
Dcapture.rst23 network data when there is no network interface involved, then you need to use
42 layer 2 protocol type of the captured data. The cooked mode capture API is then
44 * The network packet capturing infrastructure is then setup so that the ``cooked``
47 then automatically placed to the capture IP tunnel and sent to remote host
94 interface 2 to be written to capture interface 4, which in turn then capsulates
/Zephyr-latest/tests/benchmarks/sched/
DREADME.rst8 thread at a higher priority, the partner then sleeps using
15 4. The partner thread then runs and calls _pend_curr_irqlock() again
19 It then iterates this many times, reporting timestamp latencies
/Zephyr-latest/tests/bsim/
Dcompile.source33 if [ "${conf_overlay}" ]; then
47 if [[ "${app_absolute}" != "${app_root}"* ]]; then
58 if [ $conf_file != "prj.conf" ]; then
67 if [ -v sysbuild ]; then
75 if [ ! -v INCR_BUILD ] || [ ! -d "${this_dir}" ]; then
/Zephyr-latest/lib/smf/
DKconfig14 If y, then the state machine framework includes ancestor state support
20 If y, then each state can have an initial transition to a sub-state
/Zephyr-latest/samples/sensor/grow_r502a/
DREADME.rst15 #. When SENSOR_ATTR_RECORD_FREE_IDX is set then it search for free index in sensor library.
16 #. When SENSOR_ATTR_RECORD_ADD is set then it adds a new fingerprint to the sensor.
17 #. When SENSOR_ATTR_RECORD_FIND is set then it tries to find a match for the input fingerprint. On …
18 #. When SENSOR_ATTR_RECORD_DEL is set then it deletes a fingerprint from the sensor.
/Zephyr-latest/cmake/linker/ld/
Dlinker_libraries.cmake9 # Keeping default include dir empty. The linker will then select libraries
16 # When new link principle is fully introduced, then the below condition can
27 # This is needed because when linking with newlib on aarch64, then libgcc has a
/Zephyr-latest/cmake/linker/
Dlinker_libraries_native.cmake5 # When doing native builds, then we default to host libraries.
15 # Although library properties are empty per default, then we still define link
/Zephyr-latest/samples/boards/st/power_mgmt/stm32wb_ble/
DREADME.rst15 BLE link is then disabled and started up again after 2 seconds, then same
/Zephyr-latest/samples/net/mdns_responder/
DREADME.rst43 If the query is successful, then following information is printed:
55 If the query is successful, then following information is printed:
67 If the query is successful, then the following information is printed:
/Zephyr-latest/tests/subsys/logging/log_blocking/src/
Dmain.c41 static inline uint32_t then(void) in then() function
81 if (i + 1 <= (CONFIG_TEST_OUTPUT_LOG_RATE * (now() - then())) / MSEC_PER_SEC) { in handle_output()
94 if (i + 1 <= CONFIG_TEST_INPUT_LOG_RATE * (now() - then()) / MSEC_PER_SEC) { in handle_input()
/Zephyr-latest/tests/ztest/error_hook/
DREADME.txt64 - To call a function then giving the condition to trigger the assert fail,
65 then catch it by the assert handler.
68 - start a thread to test triggering a null address dereferencing, then catch
70 - start a thread to test triggering an illegal instruction, then catch
72 - start a thread to test triggering a divide-by-zero error, then catch
74 - start a thread to call k_oops() then catch the (expected) fatal error.
75 - start a thread to call k_panel() then catch the (expected) fatal error.
78 - start a thread to enter ISR context by calling irq_offload(), then trigger
79 an assert fail then catch it.
82 - Pass illegal address by syscall, then inside the syscall handler, the
/Zephyr-latest/soc/atmel/sam0/common/
DKconfig.samd2x17 This can then be selected as the main clock reference for the SOC.
23 This can then be selected as the main clock reference for the SOC.
29 This can then be selected as the main clock reference for the SOC.
58 This can then be selected as the main clock reference for the SOC.
/Zephyr-latest/samples/posix/env/
DREADME.rst10 variables in C. Then, all environment variables are then printed.
13 output, and then cleared via :c:func:`unsetenv`.
45 ``ALERT`` environment variable and then immediately unsets it.
/Zephyr-latest/tests/drivers/adc/adc_accuracy_test/
DREADME.txt6 - DAC source: a board DAC pin is set to a known value, which is then
14 The test then sets DAC to half its resolution and reads the ADC to see
/Zephyr-latest/samples/shields/x_nucleo_53l0a1/
DREADME.rst19 the center sensor (soldered on the shield) is lower than 1.25m, then the
27 leftmost digit, then the center sensor, then the right sensor.
/Zephyr-latest/samples/net/dns_resolve/
DREADME.rst10 This application will setup IP address for the device, and then
14 - If IPv4 is enabled, then A record for ``www.zephyrproject.org`` is
16 - If IPv6 is enabled, then AAAA record for ``www.zephyrproject.org`` is
18 - If mDNS is enabled, then ``zephyr.local`` name is resolved.
115 sending, then following config options could be set:
/Zephyr-latest/doc/_extensions/zephyr/doxytooltip/static/
Ddoxytooltip.js65 .then((response) => response.text())
66 .then((data) => {
/Zephyr-latest/drivers/sensor/st/stm32_vbat/
DKconfig14 Enable driver for STM32 Vbat sensor and then also ADC

12345678910>>...30