Home
last modified time | relevance | path

Searched +full:pre +full:- +full:delay (Results 1 – 25 of 59) sorted by relevance

123

/Zephyr-latest/dts/bindings/spi/
Dnxp,lpc-spi.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "nxp,lpc-spi"
8 include: [spi-controller.yaml, "nxp,lpc-flexcomm.yaml"]
11 pre-delay:
14 Delay in nanoseconds inserted between chip select assert to the first
15 clock edge. If not set, no additional delay is inserted.
17 post-delay:
20 Delay in nanoseconds inserted between the last clock edge to the chip
21 select deassert. If not set, no additional delay is inserted.
23 frame-delay:
[all …]
/Zephyr-latest/include/zephyr/mgmt/hawkbit/
Dautohandler.h4 * SPDX-License-Identifier: Apache-2.0
28 * in pre-determined time intervals.
55 * @brief Set the delay for the next run of the autohandler.
57 * @details This function will only delay the next run of the autohandler. The delay will not
60 * @param timeout The delay to set.
61 * @param if_bigger If true, the delay will be set only if the new delay is bigger than the current
64 * @retval 0 if @a if_bigger was true and the current delay was bigger than the new one.
/Zephyr-latest/arch/mips/core/
Dreset.S4 * SPDX-License-Identifier: Apache-2.0
17 * Remainder of asm-land initialization code before we can jump into
33 /* Pre-populate all bytes in z_interrupt_stacks with 0xAA */
44 nop /* delay slot */
57 nop /* delay slot */
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/
Dradio_nrf5_ppi_resources.h2 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
9 /* PPI channel 20 is pre-programmed with the following fixed settings:
10 * EEP: TIMER0->EVENTS_COMPARE[0]
11 * TEP: RADIO->TASKS_TXEN
14 /* PPI channel 21 is pre-programmed with the following fixed settings:
15 * EEP: TIMER0->EVENTS_COMPARE[0]
16 * TEP: RADIO->TASKS_RXEN
20 /* PPI channel 26 is pre-programmed with the following fixed settings:
21 * EEP: RADIO->EVENTS_ADDRESS
[all …]
Dradio_nrf5_ppi.h2 * Copyright (c) 2018 - 2020 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
10 * SW_SWITCH_TIMER-based auto-switch for TIFS, when receiving in LE Coded PHY.
40 * Use the pre-programmed PPI channels if possible (if TIMER0 is used as the
47 /* No need to configure anything for the pre-programmed channels. in hal_radio_enable_on_tick_ppi_config_and_enable()
66 (uint32_t)&(EVENT_TIMER->EVENTS_COMPARE[0]), in hal_radio_enable_on_tick_ppi_config_and_enable()
67 (uint32_t)&(NRF_RADIO->TASKS_TXEN)); in hal_radio_enable_on_tick_ppi_config_and_enable()
70 NRF_PPI->CHG[SW_SWITCH_SINGLE_TIMER_TASK_GROUP_IDX] = in hal_radio_enable_on_tick_ppi_config_and_enable()
75 (uint32_t)&(NRF_PPI->TASKS_CHG[SW_SWITCH_SINGLE_TIMER_TASK_GROUP_IDX].DIS)); in hal_radio_enable_on_tick_ppi_config_and_enable()
83 (uint32_t)&(EVENT_TIMER->EVENTS_COMPARE[0]), in hal_radio_enable_on_tick_ppi_config_and_enable()
[all …]
/Zephyr-latest/subsys/testsuite/ztest/
DKconfig2 # SPDX-License-Identifier: Apache-2.0
20 int "Delay between tests in milliseconds"
23 Add a delay between between tests to manage output on the console on
43 value. Please be aware that increasing it for long-running test cases
64 default -2 if !PREEMPT_ENABLED
65 default -1
67 Set priority of the testing thread. Default is -1 (cooperative).
87 bool "Using a pre-defined fatal handler and hook function"
89 Use the pre-defined common fatal error handler and a post hook to
95 bool "Using a pre-defined assert handler and hook function"
[all …]
/Zephyr-latest/boards/native/nrf_bsim/common/
Dbstests.h4 * SPDX-License-Identifier: Apache-2.0
25 * This is also before a possible initialization delay.
26 * Note that this function can be used for test pre-initialization steps
27 * like opening the back-channels. But you should not interact yet with the
33 * initialization may delay the execution of this function vs other devices
34 * tests pre-initialization
/Zephyr-latest/drivers/led/
Dled_mchp_xec.c4 * SPDX-License-Identifier: Apache-2.0
11 * @brief Microchip Breathing-Blinking LED controller
52 /* Delay register */
60 * eight 4-bit fields numbered 0 to 7
65 /* Output delay register: b[7:0] is delay in clock source units */
68 /* Delay.Lo register field */
83 volatile uint32_t delay; member
107 temp--; in calc_blink_32k_prescaler()
129 * BBLED blinking mode uses an 8-bit accumulator and an 8-bit duty cycle
131 * accumulator is used as an 8-bit up counter.
[all …]
/Zephyr-latest/dts/bindings/input/
Dgpio-qdec.yaml2 # SPDX-License-Identifier: Apache-2.0
15 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 compatible = "gpio-qdec";
21 steps-per-period = <4>;
23 sample-time-us = <2000>;
24 idle-timeout-ms = <200>;
27 compatible: "gpio-qdec"
33 type: phandle-array
38 led-gpios:
39 type: phandle-array
[all …]
/Zephyr-latest/drivers/pwm/
Dpwm_mchp_xec_bbled.c4 * SPDX-License-Identifier: Apache-2.0
49 * LD = Delay register, LOW_DELAY field: bits[11:0]
51 * Puse_OFF_width = (1/Fpwm) * (256 - duty_cycle) seconds
52 * where duty_cycle is an 8-bit value 0 to 255.
53 * Prescale is derived from DELAY register LOW_DELAY 12-bit field
54 * Duty cycle is derived from LIMITS register MINIMUM 8-bit field
61 * BBLED PWM mode duty cycle specified by 8-bit MIN field of the LIMITS register
90 /* Delay register */
97 /* Output delay in clocks for initial enable and enable on resume from sleep
113 volatile uint32_t delay; member
[all …]
/Zephyr-latest/samples/boards/espressif/light_sleep/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
23 /* Add an extra delay when sleeping to make sure that light sleep
34 printk("Error: button device %s is not ready\n", button.port->name); in main()
66 * pre-defined power state. Light sleep is used here because there is enough in main()
67 * time to consider it, energy-wise, worthy. in main()
92 wakeup_reason, t_after_ms, (t_after_ms - t_before_ms)); in main()
/Zephyr-latest/include/zephyr/pm/
Ddevice_runtime.h5 * SPDX-License-Identifier: Apache-2.0
30 * zephyr,pm-device-runtime-auto property in pm.yaml and z_sys_init_run_level.
36 * @retval -errno Other negative errno, result of enabled device runtime PM.
51 * @retval -EBUSY If device is busy.
52 * @retval -ENOTSUP If the device does not support PM.
53 * @retval -errno Other negative errno, result of suspending the device.
69 * @retval -ENOTSUP If the device does not support PM.
70 * @retval -errno Other negative errno, result of resuming the device.
93 * available this function will be a no-op and will also return 0.
94 * @retval -EWOUDBLOCK If call would block but it is not allowed (e.g. in ISR).
[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/subsys/bluetooth/mesh/
Dadv_legacy.c5 * SPDX-License-Identifier: Apache-2.0
32 /* Pre-5.0 controllers enforce a minimum interval of 100ms
65 * pre-emptible continuous scanning, allowing advertising events to be in bt_data_send()
66 * transmitted without delay when advertising is enabled. No need to in bt_data_send()
76 * pre-empted, hence, scanning will block advertising events from in bt_data_send()
134 uint16_t num_events = BT_MESH_TRANSMIT_COUNT(adv->ctx.xmit) + 1; in adv_send()
138 adv_int = BT_MESH_TRANSMIT_INT(adv->ctx.xmit); in adv_send()
140 LOG_DBG("type %u len %u: %s", adv->ctx.type, in adv_send()
141 adv->b.len, bt_hex(adv->b.data, adv->b.len)); in adv_send()
143 ad.type = bt_mesh_adv_type[adv->ctx.type]; in adv_send()
[all …]
/Zephyr-latest/subsys/pm/
Ddevice_runtime.c5 * SPDX-License-Identifier: Apache-2.0
17 (_pm)->domain
30 * @note Asynchronous operations are not supported when in pre-kernel mode. In
38 * @param delay Period to delay the asynchronous operation.
41 * @retval -EALREADY If device is already suspended (can only happen if get/put
43 * @retval -EBUSY If the device is busy.
44 * @retval -errno Other negative errno, result of the action callback.
47 k_timeout_t delay) in runtime_suspend() argument
50 struct pm_device *pm = dev->pm; in runtime_suspend()
55 if (!atomic_test_bit(&pm->base.flags, PM_DEVICE_FLAG_RUNTIME_ENABLED)) { in runtime_suspend()
[all …]
/Zephyr-latest/tests/drivers/build_all/input/
Dapp.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #address-cells = <1>;
12 #size-cells = <1>;
17 #io-channel-cells = <1>;
18 #address-cells = <1>;
19 #size-cells = <0>;
26 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>;
32 gpio-controller;
34 #gpio-cells = <0x2>;
[all …]
/Zephyr-latest/drivers/crypto/
Dcrypto_it8xxx2_sha_v2.c4 * SPDX-License-Identifier: Apache-2.0
56 * This struct is used by the hardware and must be stored in RAM first 4k-byte
57 * and aligned on a 256-byte boundary.
110 gctrl_regs->GCTRL_PMER3 |= IT8XXX2_GCTRL_SRAM_CRYPTO_USED; in it8xxx2_sha256_module_calculation()
119 /* Delay 15us */ in it8xxx2_sha256_module_calculation()
120 gctrl_regs->GCTRL_WNCKR = IT8XXX2_GCTRL_WN65K; in it8xxx2_sha256_module_calculation()
130 gctrl_regs->GCTRL_PMER3 &= ~IT8XXX2_GCTRL_SRAM_CRYPTO_USED; in it8xxx2_sha256_module_calculation()
131 gctrl_regs->GCTRL_PMER3; in it8xxx2_sha256_module_calculation()
138 return -ETIMEDOUT; in it8xxx2_sha256_module_calculation()
150 uint32_t rem_len = pkt->in_len; in it8xxx2_hash_handler()
[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/dts/bindings/memory-controllers/
Drenesas,smartbond-nor-psram.yaml2 # SPDX-License-Identifier: Apache-2.0
8 compatible: "renesas,smartbond-nor-psram"
14 is-ram:
19 dev-size:
25 dev-type:
31 dev-density:
40 dev-id:
46 reset-delay-us:
52 read-cs-idle-min-ns:
59 erase-cs-idle-min-ns:
[all …]
/Zephyr-latest/doc/connectivity/networking/conn_mgr/
Dimplementation.rst11 Connectivity implementations are technology-specific modules that allow specific Zephyr ifaces to s…
12 …ric :ref:`connectivity control API <conn_mgr_control_api>` calls into hardware-specific operations.
35 …he connectivity implementation it is bound to, as well as a pointer to a per-iface :ref:`context p…
48 :figclass: align-center
60 …eference to that container, which implementations can then use to access per-iface state informati…
71 .. code-block:: c
105 .. code-block:: c
122 .. code-block:: c
130 .. code-block:: c
139 .. code-block:: c
[all …]
/Zephyr-latest/include/zephyr/bluetooth/
Diso.h8 * Copyright (c) 2021-2024 Nordic Semiconductor ASA
10 * SPDX-License-Identifier: Apache-2.0
64 * As a general notation, to sync to BIS index N use BIT(N - 1).
66 #define BT_ISO_BIS_INDEX_BIT(x) (BIT((x) - 1))
141 /** Minimum pre-transmission offset */
143 /** Maximum pre-transmission offset */
159 * @brief Life-span states of ISO channel. Used only by internal APIs dealing with setting channel
222 * @brief Channel PHY - See the BT_GAP_LE_PHY_* values.
302 /** Vendor-defined Codec ID */
304 /** Controller Delay */
[all …]
/Zephyr-latest/subsys/mgmt/mcumgr/smp_client/src/
Dclient.c4 * SPDX-License-Identifier: Apache-2.0
7 /** SMP - Simple Management Client Protocol. */
59 smpt = smp_client->smpt; in smp_client_handle_reqs()
61 while ((nb = k_fifo_get(&smp_client->tx_fifo, K_NO_WAIT)) != NULL) { in smp_client_handle_reqs()
62 smpt->functions.output(nb); in smp_client_handle_reqs()
69 /* Pre config SMP header structure */ in smp_header_init()
71 header->nh_version = version; in smp_header_init()
72 header->nh_op = op; in smp_header_init()
73 header->nh_len = sys_cpu_to_be16(payload_len); in smp_header_init()
74 header->nh_group = sys_cpu_to_be16(group); in smp_header_init()
[all …]
/Zephyr-latest/arch/arc/core/
Disr_wrapper.S2 * Copyright (c) 2014-2015 Wind River Systems, Inc.
4 * SPDX-License-Identifier: Apache-2.0
23 #include <zephyr/arch/arc/asm-compat/assembler.h>
38 ISR -> _isr_wrapper -- + -> _rirq_enter -> _isr_demux -> ISR -> _rirq_exit
40 + -> _firq_enter -> _isr_demux -> ISR -> _firq_exit
60 sp -> r0
66 - r2 contains _kernel.current ASAP, and the incoming thread when we
103 on the outgoing thread's stack: loop, status32, pc, and the caller-
104 saved GPRs. That stack frame layout is pre-determined. If returning
106 the kernel. If a context switch is required, the callee-saved GPRs
[all …]
/Zephyr-latest/samples/net/mqtt_sn_publisher/compose/
Dmosquitto.conf50 # Defaults to 'auto-'
51 #auto_id_prefix auto-
71 # maximum. Setting to 1 will guarantee in-order delivery of QoS 1
110 # QoS 1 and 2 messages above those currently in-flight will be queued per
122 # above those that are currently in-flight. Defaults to 1000. Set
146 # do not reconnect within a certain time frame. This is a non-standard option
169 # start-stop-daemon or similar.
176 # This is a non-standard option for the MQTT v3.1 spec but is allowed in
198 # This is a non-standard option explicitly disallowed by the spec.
206 # If run as a non-root user, this setting has no effect.
[all …]
/Zephyr-latest/subsys/net/lib/ptp/
Dport.c4 * SPDX-License-Identifier: Apache-2.0
44 char str_port_id[] = "FF:FF:FF:FF:FF:FF:FF:FF-FFFF";
48 uint8_t *pid = port_id->clk_id.id; in port_id_str()
50 snprintk(str_port_id, sizeof(str_port_id), "%02X:%02X:%02X:%02X:%02X:%02X:%02X:%02X-%04X", in port_id_str()
59 port_id->port_number); in port_id_str()
71 [PTP_PS_PRE_TIME_TRANSMITTER] = "PRE TIME TRANSMITTER", in port_state_str()
92 ((uint64_t)NSEC_PER_SEC * factor) >> -log_seconds : in port_timer_set_timeout()
106 timeout = ((uint64_t)NSEC_PER_SEC * min_factor) >> -log_seconds; in port_timer_set_timeout_random()
107 random_ns = (uint64_t)NSEC_PER_SEC >> -log_seconds; in port_timer_set_timeout_random()
131 port_timer_set_timeout(&port->timers.sync, in port_synchronize()
[all …]

123