Home
last modified time | relevance | path

Searched +full:initial +full:- +full:timeout +full:- +full:ms (Results 1 – 25 of 47) sorted by relevance

12

/Zephyr-latest/drivers/watchdog/
DKconfig.stm323 # Copyright (c) 2016 Open-RnD Sp. z o.o.
6 # SPDX-License-Identifier: Apache-2.0
17 int "Value for IWDG timeout in ms"
22 Set initial timeout value for IWDG in ms if enabled at boot.
24 The min timeout supported is 1 ms. The max timeout depends on the
29 Limiting maximum timeout to a safe value of 26214 ms here, which was
DKconfig.cc13xx_cc26xx2 # SPDX-License-Identifier: Apache-2.0
13 int "Value for initial WDT timeout in ms"
21 0xFFFFFFFF / (48^9 / 32 / 1000) [ms]
/Zephyr-latest/dts/bindings/watchdog/
Dgd,gd32-fwdgt.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "gd,gd32-fwdgt"
14 initial-timeout-ms:
18 Set timeout value in milliseconds.
19 The following equation gives the maximum timeout value
21 timeout = (reload + 1) / (peripheral_freqency / prescaler).
30 the low-speed internal RC oscillator frequency is 32kHz or 40kHz.
32 0.25 [timeout in sec] = (1999 [reload] + 1) / (32000 [freq] / 4 [prescaler])
33 0.25 [timeout in sec] = (2499 [reload] + 1) / (40000 [freq] / 4 [prescaler])
/Zephyr-latest/subsys/net/ip/
DKconfig.tcp6 # SPDX-License-Identifier: Apache-2.0
18 module-dep = NET_LOG
19 module-str = Log level for TCP
20 module-help = Enables TCP handler output debug messages
41 CONFIG_NUM_COOP_PRIORITIES-1 else lowest priority is
42 CONFIG_NUM_PREEMPT_PRIORITIES-1.
53 To avoid a (low-probability) issue when delayed packets from
60 it is desirable to do so." For low-resource systems, having
64 non-repeating port numbers and initial sequence numbers. Due
65 to this, Zephyr uses much lower value of 1500ms by default.
[all …]
/Zephyr-latest/subsys/net/lib/coap/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
21 bool "CoAP ./well-known/core services block wise support"
24 to ./well-known/core request. Without this option all resource's
30 int "CoAP ./well-known/core services block wise support"
56 int "base length of the random generated initial ACK timeout in ms"
63 bool "Randomize initial ACK timeout, as specified in RFC 7252"
66 If enabled, the initial ACK timeout will be randomized, as specified
69 COAP_INIT_ACK_TIMEOUT_MS option). Otherwise, the initial ACK timeout
73 int "Random factor for ACK timeout described as percentage"
77 Factor described as percentage to extend CoAP ACK timeout. A value
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dsar_cfg.rst21 sent as a single-segment segmented message when acknowledgment by the lower transport layer is
23 transmission and acknowledge single-segment segmented messages.
69 retransmissions timer. The initial value of the SAR Unicast Retransmissions timer depends on the
70 value of the TTL field of the message. If the TTL field value is greater than ``0``, the initial
75 …unicast~retransmissions~interval~step + unicast~retransmissions~interval~increment \times (TTL - 1)
78 If the TTL field value is ``0``, the initial value of the timer is set to the unicast
81 The initial value of the SAR Multicast Retransmissions timer is set to the multicast retransmissions
86 the segment belongs to. The initial value of the SAR Discard timer is the discard timeout value
87 indicated by the `SAR Discard Timeout`_ state.
90 received segment. The initial value of the SAR Acknowledgment timer is calculated using the
[all …]
/Zephyr-latest/dts/bindings/serial/
Drenesas,smartbond-uart.yaml3 compatible: "renesas,smartbond-uart"
5 include: [uart-controller.yaml, pinctrl-device.yaml]
14 periph-clock-config:
19 current-speed:
21 Initial baud rate setting for UART. Only a fixed set of baud
24 - 4800
25 - 9600
26 - 14400
27 - 19200
28 - 28800
[all …]
/Zephyr-latest/tests/benchmarks/footprints/src/
Dtimer.c4 * SPDX-License-Identifier: Apache-2.0
48 static void busy_wait_ms(int32_t ms) in busy_wait_ms() argument
50 k_busy_wait(ms*1000); in busy_wait_ms()
69 * the initial timeout request gets cancelled and new in thread_fn()
/Zephyr-latest/tests/kernel/timer/timer_api/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
20 #define WITHIN_ERROR(var, target, epsilon) (llabs((int64_t) ((target) - (var))) <= (epsilon))
22 /* ms can be converted precisely to ticks only when a ms is exactly
24 * not precise, then the reverse conversion of a difference in ms can
26 * the first and second ms conversion, and we need to adjust the
32 /* On Nordic SOCs one or both of the tick and busy-wait clocks may
33 * derive from sources that have slews that sum to +/- 13%.
99 * one-ticks deltas (NOT one two-tick delta!) in interval_check()
152 static void busy_wait_ms(int32_t ms) in busy_wait_ms() argument
154 k_busy_wait(ms*1000); in busy_wait_ms()
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
113 bool "Mesh-specific workqueue"
116 mesh-specific workqueue. This will ensure that messages are always sent.
117 The application needs to ensure the mesh-specific workqueue size is large
130 CONFIG_BT_BUF_CMD_TX_COUNT, the host returns -ENOBUFS immediately
237 bool "PB-ADV support"
288 int "Timeout value of retransmit provisioning PDUs"
292 Timeout value of retransmit provisioning PDUs.
299 bool "PB-GATT Server support"
314 the PB-GATT is enabled.
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Dconn.h6 * Copyright (c) 2015-2016 Intel Corporation
8 * SPDX-License-Identifier: Apache-2.0
42 uint16_t timeout; member
47 * @param int_min Minimum Connection Interval (N * 1.25 ms)
48 * @param int_max Maximum Connection Interval (N * 1.25 ms)
50 * @param to Supervision Timeout (N * 10 ms)
57 .timeout = (to), \
62 * @param int_min Minimum Connection Interval (N * 1.25 ms)
63 * @param int_max Maximum Connection Interval (N * 1.25 ms)
65 * @param to Supervision Timeout (N * 10 ms)
[all …]
/Zephyr-latest/drivers/bluetooth/hci/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
29 Bluetooth three-wire (H:5) UART driver. Implementation of HCI
30 Three-Wire UART Transport Layer.
77 bool "ACI message with BlueNRG-based devices"
82 Stack. Current driver supports: ST BLUENRG-MS.
238 Infineon's AIROC™ Wi-Fi & combos portfolio integrates
239 IEEE 802.11a/b/g/n/ac/ax Wi-Fi and Bluetooth® 5.2 in a single-chip
240 solution to enable small-form-factor IoT designs.
246 bool "Host auto-initiated Data Length Update quirk"
250 Enable the quirk wherein BT Host stack will auto-initiate Data Length
[all …]
/Zephyr-latest/subsys/net/lib/shell/
Dgptp.c5 * SPDX-License-Identifier: Apache-2.0
30 const struct shell *sh = data->sh; in gptp_port_cb()
31 int *count = data->user_data; in gptp_port_cb()
247 switch (GPTP_GLOBAL_DS()->selected_role[port]) { in selected_role_str()
257 return "PRE-MASTER"; in selected_role_str()
296 NET_ASSERT(port == port_ds->port_id.port_number, in gptp_print_port_info()
298 port_ds->port_id.port_number); in gptp_print_port_info()
300 PR("Port id : %d (%s)\n", port_ds->port_id.port_number, in gptp_print_port_info()
301 selected_role_str(port_ds->port_id.port_number)); in gptp_print_port_info()
304 for (i = 0; i < sizeof(port_ds->port_id.clk_id); i++) { in gptp_print_port_info()
[all …]
/Zephyr-latest/drivers/ethernet/
Ddsa_ksz8xxx.c4 * SPDX-License-Identifier: Apache-2.0
45 #define PRV_DATA(ctx) ((struct ksz8xxx_data *const)(ctx)->prv_data)
66 spi_write_dt(&pdev->spi, &tx); in dsa_ksz8xxx_write_reg()
98 if (!spi_transceive_dt(&pdev->spi, &tx, &rx)) { in dsa_ksz8xxx_read_reg()
135 uint16_t timeout = 100; in dsa_ksz8xxx_probe() local
139 * Wait for SPI of KSZ8794 being fully operational - up to 10 ms in dsa_ksz8xxx_probe()
141 for (timeout = 100, tmp = 0; in dsa_ksz8xxx_probe()
142 tmp != KSZ8XXX_CHIP_ID0_ID_DEFAULT && timeout > 0; timeout--) { in dsa_ksz8xxx_probe()
147 if (timeout == 0) { in dsa_ksz8xxx_probe()
149 return -ENODEV; in dsa_ksz8xxx_probe()
[all …]
/Zephyr-latest/tests/bluetooth/controller/ctrl_collision/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
47 #define INTVL_MIN 6U /* multiple of 1.25 ms (min 6, max 3200) */
48 #define INTVL_MAX 6U /* multiple of 1.25 ms (min 6, max 3200) */
50 #define TIMEOUT 10U /* multiple of 10 ms (min 10, max 3200) */ macro
61 .timeout = TIMEOUT,
68 .timeout = TIMEOUT + 1U, /* differentiate parameter */
82 .timeout = TIMEOUT,
98 /* Emulate initial conn state */ in collision_setup()
146 return ((event_counter(conn) - instant) & 0xFFFF) <= 0x7FFF; in is_instant_reached()
192 /* Rx - emulate colliding PHY_REQ from peer */ in ZTEST()
[all …]
/Zephyr-latest/subsys/testsuite/ztest/src/
Dztress.c4 * SPDX-License-Identifier: Apache-2.0
31 /* Timer handling test timeout which ends test prematurely. */
32 static k_timeout_t timeout; variable
90 if (tmr_data->exec_cnt != 0 && exec_cnt[0] != 0) { in progress_timeout()
91 progress = (100 * exec_cnt[0]) / tmr_data->exec_cnt; in progress_timeout()
110 uint64_t rem = 1000 * (k_timer_expires_ticks(&test_timer) - sys_clock_tick_get()) / in progress_timeout()
113 printk("\r%u%% remaining:%u ms", progress, (uint32_t)rem); in progress_timeout()
141 int load = 1000 - (1000 * (idle_cycles - prev_idle_cycles) / in control_load()
142 (rt_stats_all.execution_cycles - total_cycles)); in control_load()
177 int idx = 31 - __builtin_clz(mask); in preempt_update()
[all …]
/Zephyr-latest/doc/connectivity/networking/
Dnet_config_guide.rst79 5-tuple that is used when listening or sending network traffic. Each BSD socket in the
156 To avoid a (low-probability) issue when delayed packets from
159 `RFC 793 <https://www.rfc-editor.org/rfc/rfc793>`_ (TCP) suggests
167 For low-resource systems, having large MSL may lead to quick
170 TCP stacks by using random, non-repeating port numbers and initial
171 sequence numbers. Due to this, Zephyr uses much lower value of 1500ms
176 The following formula can be used to determine the time (in ms)
187 `RFC 1122 <https://www.rfc-editor.org/rfc/rfc1122>`_ (1:40 minutes).
189 values are in the 0-31 range. It's highly recommended to not go
192 Should a retransmission timeout occur, the receive callback is
[all …]
/Zephyr-latest/include/zephyr/zbus/
Dzbus.h3 * SPDX-License-Identifier: Apache-2.0
191 #define ZBUS_MIN_THREAD_PRIORITY (CONFIG_NUM_PREEMPT_PRIORITIES - 1)
200 return -EFAULT; \
209 #define _ZBUS_CHAN_NAME(_chan) (_chan)->name
217 #define _ZBUS_OBS_NAME(_obs) (_obs)->name
238 COND_CODE_0(/* are there zero non-empty arguments ? */ \
272 /* clang-format off */
275 .observers_start_idx = -1, \
276 .observers_end_idx = -1, \
296 /* clang-format on */
[all …]
/Zephyr-latest/include/zephyr/
Dkernel.h4 * SPDX-License-Identifier: Apache-2.0
53 #define K_PRIO_COOP(x) (-(CONFIG_NUM_COOP_PRIORITIES - (x)))
56 #define K_HIGHEST_THREAD_PRIO (-CONFIG_NUM_COOP_PRIORITIES)
60 #define K_LOWEST_APPLICATION_THREAD_PRIO (K_LOWEST_THREAD_PRIO - 1)
245 * bits, arch-specific use high bits.
289 * from within a user-provided callback they have been invoked.
290 * Effectively it serves as a tiny bit of zero-overhead TLS data.
328 /* end - thread options */
335 * - @ref K_USER allocate a userspace thread (requires `CONFIG_USERSPACE=y`)
353 * @retval -EBUSY if the thread stack is in use.
[all …]
/Zephyr-latest/drivers/espi/
Despi_mchp_xec.c4 * SPDX-License-Identifier: Apache-2.0
21 /* Maximum timeout to transmit a virtual wire packet.
22 * 10 ms expressed in multiples of 100us
28 /* 200ms */
34 * length specified is non-zero.
116 * --------------------------------------------------------------------------------|
118 * --------------------------------------------------------------------------------|
120 * --------------------------------------------------------------------------------|
127 * --------------------------------------------------------------------------------|
129 * --------------------------------------------------------------------------------|
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_central_iso.c4 * SPDX-License-Identifier: Apache-2.0
152 * - Calculate ISO_Interval to allow SDU_Interval < ISO_Interval
187 /* CIG does not exist - create it */ in ll_cig_parameters_commit()
195 cig->lll.num_cis = 0U; in ll_cig_parameters_commit()
198 } else if (cig->state != CIG_STATE_CONFIGURABLE) { in ll_cig_parameters_commit()
204 num_cis = cig->lll.num_cis; in ll_cig_parameters_commit()
209 cig->state = CIG_STATE_CONFIGURABLE; in ll_cig_parameters_commit()
212 cig->lll.handle = ll_conn_iso_group_handle_get(cig); in ll_cig_parameters_commit()
213 cig->lll.role = BT_HCI_ROLE_CENTRAL; in ll_cig_parameters_commit()
214 cig->lll.resume_cis = LLL_HANDLE_INVALID; in ll_cig_parameters_commit()
[all …]
Dull_sync.c2 * Copyright (c) 2020-2021 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
72 * allocated using mem interface. timeout_reload being non-zero is used to
79 static struct ll_sync_set *ull_sync_create(uint8_t sid, uint16_t timeout, uint16_t skip,
126 if (!scan || scan->periodic.sync) { in ll_sync_create()
132 if (!scan_coded || scan_coded->periodic.sync) { in ll_sync_create()
153 scan->periodic.cancelled = 0U; in ll_sync_create()
154 scan->periodic.state = LL_SYNC_STATE_IDLE; in ll_sync_create()
155 scan->periodic.filter_policy = in ll_sync_create()
158 scan_coded->periodic.cancelled = 0U; in ll_sync_create()
[all …]
/Zephyr-latest/tests/net/pmtu/src/
Dmain.c1 /* main.c - Application main entry point */
6 * SPDX-License-Identifier: Apache-2.0
100 #define THREAD_SLEEP 50 /* ms */
295 zassert_equal(entry->mtu, 1300, "PMTU IPv4 MTU is not correct (%d)", in ZTEST()
296 entry->mtu); in ZTEST()
312 zassert_equal(entry->mtu, 1500, "PMTU IPv4 MTU is not correct (%d)", in ZTEST()
313 entry->mtu); in ZTEST()
317 zassert_equal(ret, -ENOENT, "PMTU IPv4 MTU update succeed (%d)", ret); in ZTEST()
339 zassert_equal(entry->mtu, 1600, "PMTU IPv6 MTU is not correct (%d)", in ZTEST()
340 entry->mtu); in ZTEST()
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_dw1000_regs.h4 * SPDX-License-Identifier: Apache-2.0
7 * https://github.com/Decawave/mynewt-dw1000-core.git
14 * Copyright (C) 2017-2018, Decawave Limited, All Rights Reserved
24 * http://www.apache.org/licenses/LICENSE-2.0
75 /* Frame Filtering Behave as a Co-ordinator */
103 /* initial seed value for the FCS generation and checking function */
114 /* Receive Wait Timeout Enable. */
117 * Receiver Auto-Re-enable.
118 * This bit is used to cause the receiver to re-enable automatically
126 /* System Time Counter (40-bit) */
[all …]
/Zephyr-latest/kernel/
DKconfig3 # Copyright (c) 2014-2015 Wind River Systems, Inc.
4 # SPDX-License-Identifier: Apache-2.0
9 module-str = kernel
13 bool "Multi-threading" if ARCH_HAS_SINGLE_THREAD_SUPPORT
35 K_PRIO_COOP(0) to K_PRIO_COOP(CONFIG_NUM_COOP_PRIORITIES - 1)
39 -CONFIG_NUM_COOP_PRIORITIES to -1
58 to priorities 0 to CONFIG_NUM_PREEMPT_PRIORITIES - 1.
71 default -2 if !PREEMPT_ENABLED
85 default -127
92 int "Number of very-high priority 'preemptor' threads"
[all …]

12