Home
last modified time | relevance | path

Searched +full:poll +full:- +full:period +full:- +full:ms (Results 1 – 19 of 19) sorted by relevance

/Zephyr-latest/dts/bindings/input/
Dkbd-matrix-common.yaml2 # SPDX-License-Identifier: Apache-2.0
9 row-size:
14 col-size:
19 poll-period-ms:
23 Defines the poll period in msecs between between matrix scans, set to 0
24 to never exit poll mode. Defaults to 5ms if unspecified.
26 stable-poll-period-ms:
29 Defines the poll period in msecs between matrix scans when the matrix is
30 stable, defaults to poll-period-ms value if unspecified.
32 poll-timeout-ms:
[all …]
Danalog-axis.yaml2 # SPDX-License-Identifier: Apache-2.0
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 compatible = "analog-axis";
16 poll-period-ms = <15>;
17 axis-x {
18 io-channels = <&adc 0>;
19 in-deadzone = <50>;
20 in-min = <100>;
21 in-max = <800>;
26 compatible: "analog-axis"
[all …]
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/tests/drivers/input/kbd_matrix/boards/
Dnative_sim.overlay4 * SPDX-License-Identifier: Apache-2.0
8 test_kbd_scan: test-kbd-scan {
9 compatible = "test-kbd-scan";
10 row-size = <3>;
11 col-size = <3>;
12 poll-period-ms = <5>;
13 debounce-down-ms = <40>;
14 debounce-up-ms = <80>;
15 poll-timeout-ms = <500>;
/Zephyr-latest/include/zephyr/tracing/
Dtracing.h4 * SPDX-License-Identifier: Apache-2.0
27 * inner-working of the kernel and various other subsystems.
80 * @param timeout Timeout period
87 * @param timeout Timeout period
94 * @param timeout Timeout period
101 * @param timeout Timeout period
107 * @param timeout Timeout period
114 * @param ms Duration in milliseconds
116 #define sys_port_trace_k_thread_msleep_enter(ms) argument
120 * @param ms Duration in milliseconds
[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/ethernet/nxp_enet/
DKconfig3 # Copyright (c) 2016-2017 ARM Ltd
5 # SPDX-License-Identifier: Apache-2.0
62 - IPv4, UDP and TCP checksum (both Rx and Tx)
113 - IPv4, UDP and TCP checksum (both Rx and Tx)
141 communication with MAC ENET controller. Other busses - like SPI
145 int "PHY poll period (ms)"
149 Set the PHY status polling period.
160 Reset the ethernet PHY at boot. Requires dts properties int-gpios and
161 reset-gpios to be present.
Deth_mcux.c3 * Copyright (c) 2016-2017 ARM Ltd
8 * SPDX-License-Identifier: Apache-2.0
64 #define PHY_OMS_NANDTREE_MASK 0x0020U /* The PHY NAND Tree Strap-In Override/Status mask. */
137 "read-status", in phy_state_name()
138 "read-duplex", in phy_state_name()
204 * depends on introduction of zero-copy networking support
247 struct eth_context *eth_ctx = dev->data; in eth_mcux_device_pm_action()
250 if (!device_is_ready(eth_ctx->clock_dev)) { in eth_mcux_device_pm_action()
253 ret = -EIO; in eth_mcux_device_pm_action()
261 ret = net_if_suspend(eth_ctx->iface); in eth_mcux_device_pm_action()
[all …]
/Zephyr-latest/modules/openthread/
DKconfig.thread4 # SPDX-License-Identifier: Apache-2.0
48 bool "FTD - Full Thread Device"
50 bool "MTD - Minimal Thread Device"
54 bool "SED - Sleepy End Device"
58 int "Poll period for sleepy end devices [ms]"
73 string "The platform-specific string to insert into the OpenThread version string"
88 Defines how many microseconds ahead should MAC deliver a CSL frame to the sub-MAC layer.
150 default -65
187 default -100
193 range -40 20 if NRF_802154_RADIO_DRIVER
[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/net/
Dsocket.h9 * Copyright (c) 2017-2018 Linaro Limited
12 * SPDX-License-Identifier: Apache-2.0
44 * @name Options for poll()
48 /** zsock_poll: Poll for readability */
50 /** zsock_poll: Poll for exceptional condition */
52 /** zsock_poll: Poll for writability */
54 /** zsock_poll: Poll results in error condition (output value only) */
56 /** zsock_poll: Poll detected closed connection (output value only) */
75 /** zsock_recv/zsock_send: Override operation to non-blocking */
85 /* Well-known values, e.g. from Linux man 2 shutdown:
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Dcfg_cli.h8 * SPDX-License-Identifier: Apache-2.0
88 * as @c buf->len is greater than or equal to 2.
356 * @brief Helper macro to encode model publication period in units of 100ms
358 * @param steps Number of 100ms steps.
360 * @return Encoded value that can be assigned to bt_mesh_cfg_cli_mod_pub.period
365 * @brief Helper macro to encode model publication period in units of 1 second
369 * @return Encoded value that can be assigned to bt_mesh_cfg_cli_mod_pub.period
375 * @brief Helper macro to encode model publication period in units of 10
380 * @return Encoded value that can be assigned to bt_mesh_cfg_cli_mod_pub.period
386 * @brief Helper macro to encode model publication period in units of 10
[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 …]
/Zephyr-latest/subsys/bluetooth/host/
DKconfig3 # Copyright (c) 2016-2020 Nordic Semiconductor ASA
4 # Copyright (c) 2015-2016 Intel Corporation
5 # SPDX-License-Identifier: Apache-2.0
8 bool "Dedicated workqueue for long-running tasks."
11 Adds an API for a workqueue dedicated to long-running tasks.
23 int "Long workqueue priority. Should be pre-emptible."
40 select POLL
58 # the worst-case stack size if an out-of-tree controller is used.
70 # Hidden option for Co-Operative Tx thread priority
97 bool "Process low priority HCI packets in the bluetooth-specific work queue"
[all …]
/Zephyr-latest/tests/net/socket/tcp/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
23 "from across the industry to build a best-in-breed small, scalable, " \
24 "real-time operating system (RTOS) optimized for resource-" \
36 #define THREAD_SLEEP 50 /* ms */
94 zassert_equal(*new_sock, -1, "accept succeed"); in test_accept_timeout()
205 time_diff = k_uptime_get_32() - start_time; in wait_for_n_tcp_contexts()
212 time_diff = k_uptime_get_32() - start_time; in wait_for_n_tcp_contexts()
215 return -ETIMEDOUT; in wait_for_n_tcp_contexts()
330 size_t remain = TEST_LARGE_TRANSFER_SIZE - total_received; in tcp_server_block_thread()
415 size_t remain = TEST_LARGE_TRANSFER_SIZE - total_send; in test_send_recv_large_common()
[all …]
/Zephyr-latest/doc/releases/
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-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.7.rst17 * Support for M-Profile Vector Extensions (MVE) on ARMv8.1-M
18 * Improved thread safety for Newlib and C++ on SMP-capable systems
20 * New Action-based Power Management API
23 * Linker Support for Tightly-Coupled Memory in RISC-V
25 * Support for extended PCI / PCIe capabilities, improved MIS-X support
33 * The kernel now supports both 32- and 64-bit architectures
36 * We added support for Point-to-Point Protocol (PPP)
37 * We added support for UpdateHub, an end-to-end solution for over-the-air device updates
38 * We added support for ARM Cortex-R Architecture
40 * Expanded support for ARMv6-M architecture
[all …]
/Zephyr-latest/drivers/serial/
Duart_nrfx_uarte.c2 * Copyright (c) 2018-2021 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
137 * should be made. More divisions - higher timeout accuracy and processor usage.
283 (_config->flags & UARTE_CFG_FLAG_LOW_POWER))
296 ((dev->pm_base->flags & BIT(PM_DEVICE_FLAG_ISR_SAFE))), \
311 /* None-zero in case of high speed instances. Baudrate is adjusted by that ratio. */
335 (config->flags & UARTE_CFG_FLAG_HW_BYTE_COUNTING) : false)
339 const struct uarte_nrfx_config *config = dev->config; in get_uarte_instance()
341 return config->uarte_regs; in get_uarte_instance()
371 struct uarte_nrfx_data *data = dev->data; in uarte_disable_locked()
[all …]