Home
last modified time | relevance | path

Searched +full:post +full:- +full:delay (Results 1 – 20 of 20) sorted by relevance

/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/drivers/led_strip/
DKconfig.ws28124 # SPDX-License-Identifier: Apache-2.0
6 # The following blog post is an excellent resource about pulse timing:
8 # https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/
29 delay. The reset delay has a coarse resolution of ~20us.
33 # Only an Cortex-M inline assembly implementation for the nRF91, nRF51,
41 controlling with GPIO. The GPIO driver does bit-banging with inline
49 DT_CHOSEN_LED_STRIP := zephyr,led-strip
53 int "Delay 1 bit high pulse"
54 default $(dt_node_int_prop_int,$(DT_CHOSEN_LED_STRIP_PATH),delay-t1h) \
55 if $(dt_node_has_prop,$(DT_CHOSEN_LED_STRIP_PATH),delay-t1h)
[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/drivers/timer/
Dcortex_m_systick.c4 * SPDX-License-Identifier: Apache-2.0
20 #define MAX_TICKS ((k_ticks_t)(COUNTER_MAX / CYC_PER_TICK) - 1)
25 * reliably" -- it becomes the minimum value of the LOAD register, and
61 * Additions/subtractions/comparisons of 64-bits values on 32-bits systems
63 * cycle_count and announced_cycles is stored in a 32-bit variable before
84 * case because the Cortex-m SysTick is not clocked in the low power
102 * re-program the SysTick.LOAD register, in sys_clock_set_timeout().
109 * - reprogramming of SysTick.LOAD must be clearing the SysTick.COUNTER
111 * - ISR must be clearing the 'overflow_cyc' counter.
112 * - no more than one counter-wrap has occurred between
[all …]
/Zephyr-latest/subsys/dap/
Dcmsis_dap.c2 * Copyright (c) 2018-2019 PHYTEC Messtechnik GmbH
5 * SPDX-License-Identifier: Apache-2.0
9 * This file is based on DAP.c from CMSIS-DAP Source (Revision: V2.0.0)
10 * https://github.com/ARM-software/CMSIS_5/tree/develop/CMSIS/DAP/Firmware
11 * Copyright (c) 2013-2017 ARM Limited. All rights reserved.
12 * SPDX-License-Identifier: Apache-2.0
51 MIN(CONFIG_CMSIS_DAP_PACKET_SIZE - 2, UINT8_MAX - 2),
54 MIN(CONFIG_CMSIS_DAP_PACKET_SIZE - 2, UINT8_MAX - 2),
57 MIN(CONFIG_CMSIS_DAP_PACKET_SIZE - 2, UINT8_MAX - 2),
60 MIN(CONFIG_CMSIS_DAP_PACKET_SIZE - 2, UINT8_MAX - 2),
[all …]
/Zephyr-latest/tests/kernel/workq/work/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
19 #define COOPHI_PRIORITY K_PRIO_COOP(0) /* = -4 */
20 /* SYSTEM_WORKQUEUE_PRIORITY = -3 */
21 /* ZTEST_THREAD_PRIORITY = -2 */
22 #define COOPLO_PRIORITY K_PRIO_COOP(3) /* = -1 */
52 /* Work synchronization objects must be in cache-coherent memory,
63 * * cooplo : a low-priority cooperative work queue
69 * The common work handler also supports internal re-submission if
109 : -1; in coop_counter()
132 zassert_equal(k_sem_take(&sync_sem, K_NO_WAIT), -EBUSY); in reset_counters()
[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/include/zephyr/drivers/
Ddai.h4 * SPDX-License-Identifier: Apache-2.0
48 * clock-related configurations w.r.t the DAI
164 /** @brief Optional - Pre Start the transmission / reception of data.
188 /** @brief Optional - Post Stop the transmission / reception of data.
242 /** Delay for initializing registers. */
354 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_probe()
356 return api->probe(dev); in dai_probe()
371 const struct dai_driver_api *api = (const struct dai_driver_api *)dev->api; in dai_remove()
373 return api->remove(dev); in dai_remove()
385 * If the function is called with the parameter cfg->frame_clk_freq set to 0
[all …]
/Zephyr-latest/drivers/ieee802154/
Dieee802154_kw41z.c1 /* ieee802154_kw41z.c - NXP KW41Z driver */
6 * SPDX-License-Identifier: Apache-2.0
35 * For non-invasive tracing of IRQ events. Sometimes the print logs
37 * post inspect conditions to see what sequence of events occurred.
65 ZLL->EVENT_TMR >> ZLL_EVENT_TMR_EVENT_TMR_SHIFT; \
92 #define KW41Z_OUTPUT_POWER_MIN (-31)
127 1, /* -31.1 dBm: -31 */
128 2, 2, 2, 2, 2, 2, 2, /* -25.0 dBm: -30, -29, -28, -27, -26, -25 */
129 4, 4, 4, 4, 4, /* -19.0 dBm: -24, -23, -22, -21, -20, -19 */
130 6, 6, 6, /* -15.6 dBm: -18, -17, -16 */
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-3.5.rst38 * CVE-2023-3725 `Zephyr project bug tracker GHSA-2g3m-p6c7-8rr3
39 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-2g3m-p6c7-8rr3>`_
41 * CVE-2023-4257 `Zephyr project bug tracker GHSA-853q-q69w-gf5j
42 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-853q-q69w-gf5j>`_
44 * CVE-2023-4258 `Zephyr project bug tracker GHSA-m34c-cp63-rwh7
45 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-m34c-cp63-rwh7>`_
47 * CVE-2023-4259 `Zephyr project bug tracker GHSA-gghm-c696-f4j4
48 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gghm-c696-f4j4>`_
50 * CVE-2023-4260 `Zephyr project bug tracker GHSA-gj27-862r-55wh
51 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-gj27-862r-55wh>`_
[all …]
Drelease-notes-2.6.rst13 * Added support for 64-bit ARCv3
14 * Split ARM32 and ARM64, ARM64 is now a top-level architecture
15 * Added initial support for Arm v8.1-m and Cortex-M55
22 https://github.com/zephyrproject-rtos/example-application
34 * CVE-2021-3581: Under embargo until 2021-09-04
41 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
46 * Driver APIs now return ``-ENOSYS`` if optional functions are not implemented.
47 If the feature is not supported by the hardware ``-ENOTSUP`` will be returned.
48 Formerly ``-ENOTSUP`` was returned for both failure modes, meaning this change
194 * Added support for null pointer dereferencing detection in Cortex-M.
[all …]
Drelease-notes-2.1.rst13 * Expanded support for ARMv6-M architecture.
50 hardware-based stack overflow detection) in ARMv6-M architecture
51 * Added QEMU support for ARMv6-M architecture
52 * Extended test coverage for ARM-specific kernel features in ARMv6-M
54 * Enhanced runtime MPU programming in ARMv8-M architecture, making
55 the full partitioning of kernel SRAM memory a user-configurable
57 * Added CMSIS support for Cortex-R architectures.
59 * Added missing Cortex-R CPU device tree bindings.
60 * Fixed incorrect Cortex-R device tree specification.
68 * RISC-V:
[all …]
Drelease-notes-2.3.rst18 with future support for features like 64-bit and absolute timeouts in mind
21 * Zephyr now integrates with the TF-M (Trusted Firmware M) PSA-compliant
24 * The CMSIS-DSP library is now included and integrated
33 * CVE-2020-10022: UpdateHub Module Copies a Variable-Sized Hash String
34 into a fixed-size array.
35 * CVE-2020-10059: UpdateHub Module Explicitly Disables TLS
37 * CVE-2020-10061: Improper handling of the full-buffer case in the
39 * CVE-2020-10062: Packet length decoding error in MQTT
40 * CVE-2020-10063: Remote Denial of Service in CoAP Option Parsing Due
42 * CVE-2020-10068: In the Zephyr project Bluetooth subsystem, certain
[all …]
Drelease-notes-3.2.rst13 * Added support for :ref:`bin-blobs` (also see :ref:`west-blobs`).
15 * Converted all supported boards from ``pinmux`` to :ref:`pinctrl-guide`.
31 * CVE-2022-2993: Under embargo until 2022-11-03
33 * CVE-2022-2741: Under embargo until 2022-10-14
56 This definition can be used by third-party code to compile code conditional
58 Therefore, any third-party code integrated using the Zephyr build system will
91 changed from ``-ENETDOWN`` to ``-ENETUNREACH``. A return value of ``-ENETDOWN`` now indicates
129 * Removed support for configuring the CAN-FD maximum DLC value via Kconfig
156 valid for specific bindings to specify like :dtcompatible:`gpio-leds` and
157 :dtcompatible:`fixed-partitions`.
[all …]
Drelease-notes-2.5.rst27 * CVE-2021-3323: Under embargo until 2021-04-14
28 * CVE-2021-3321: Under embargo until 2021-04-14
29 * CVE-2021-3320: Under embargo until 2021-04-14
39 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_.
56 * Changed vcnl4040 dts binding default for property 'proximity-trigger'.
63 * The :c:func:`mqtt_keepalive_time_left` function now returns -1 if keep alive
67 timeout usage must use the new-style k_timeout_t type and not the
87 GPIO-only regulators a devicetree property ``supply-gpios`` is defined as a
101 * ARM Musca-A board and SoC support deprecated and planned to be removed in 2.6.0.
146 sys_heap/k_heaps. Note that the new-style heap is a general
[all …]
Drelease-notes-3.3.rst14 * Introduced :ref:`USB-C <usbc_api>` device stack with PD (power delivery)
17 CMSIS-DSP as the default backend.
30 * CVE-2023-0359: Under embargo until 2023-04-20
32 * CVE-2023-0779: Under embargo until 2023-04-22
66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding.
71 * Starting from this release ``zephyr-`` prefixed tags won't be created
82 image states). Use of a truncated hash or non-sha256 hash will still work
88 registration function at boot-up. If applications register this then
93 application code, these will now automatically be registered at boot-up (this
129 This may cause out-of-tree scripts or commands to fail if they have relied
[all …]
Drelease-notes-3.1.rst61 * Split CAN classic and CAN-FD APIs:
90 was moved from Kconfig to :ref:`devicetree <dt-guide>`.
91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information.
182 * MIPI-DSI
184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API,
196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`.
220 * Added support for Provisioners over PB-GATT
231 * Implemented ISO-AL TX unframed fragmentation
232 * Added support for back-to-back receiving of PDUs on nRF5x platforms
249 newly created informational-only callback struct :c:struct:`bt_conn_auth_info_cb`.
[all …]
/Zephyr-latest/include/zephyr/usb/
Dusbd.h4 * SPDX-License-Identifier: Apache-2.0
46 * bString_length = (sizeof(initializer_string) - 1) * 2
48 * bString_length = sizeof(initializer_string) * 2 - 2
50 #define USB_BSTRING_LENGTH(s) (sizeof(s) * 2 - 2)
58 * bLength = 2 + sizeof(initializer_string) * 2 - 2
114 * if (setup->wIndex == WEBUSB_REQ_GET_URL) {
115 * uint8_t index = USB_GET_DESCRIPTOR_INDEX(setup->wValue);
118 * return -ENOTSUP;
127 * return -ENOTSUP;
136 /** Vendor request callback for device-to-host direction */
[all …]
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/
Dull_conn.c2 * Copyright (c) 2018-2021 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
195 if (conn->lll.handle != handle) { in ll_connected_get()
230 return -EINVAL; in ll_tx_mem_enqueue()
235 return -ENOBUFS; in ll_tx_mem_enqueue()
238 lll_tx->handle = handle; in ll_tx_mem_enqueue()
239 lll_tx->node = tx; in ll_tx_mem_enqueue()
244 if (ull_ref_get(&conn->ull)) { in ll_tx_mem_enqueue()
249 force_md_cnt = force_md_cnt_calc(&conn->lll, tx_rate); in ll_tx_mem_enqueue()
266 if (IS_ENABLED(CONFIG_BT_PERIPHERAL) && conn->lll.role) { in ll_tx_mem_enqueue()
[all …]
/Zephyr-latest/doc/connectivity/bluetooth/api/mesh/
Dshell.rst30 sub-commands. Every time the device boots up, make sure to call ``mesh init`` before any of the
43 The simplest way to provision the device is through self-provisioning. To do this the user must
49 devices, as long as they're assigned non-overlapping unicast addresses. Alternatively, to provision
51 ``mesh prov pb-adv on`` or ``mesh prov pb-gatt on``. The beacons can be picked up by an external
68 ``mesh prov local`` command above), we can perform self-configuration through any of the
73 uart:~$ mesh models cfg get-comp
89 uart:~$ mesh test net-send 82020100
120 .. list-table:: Parameter formats
122 :header-rows: 1
124 * - Type
[all …]