Home
last modified time | relevance | path

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

/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 …]
Dadc-keys.yaml2 # SPDX-License-Identifier: Apache-2.0
13 #include <dt-bindings/input/input-event-codes.h>
17 compatible = "adc-keys";
18 io-channels = <&adc 2>;
19 keyup-threshold-mv = <0>;
22 press-thresholds-mv = <1650>, /* KEY0 */
28 press-thresholds-mv = <2300>, /* KEY1 */
35 compatible: "adc-keys"
40 io-channels:
41 type: phandle-array
[all …]
/Zephyr-latest/samples/modules/lvgl/accelerometer_chart/
DREADME.rst1 .. zephyr:code-sample:: lvgl-accelerometer-chart
3 :relevant-api: display_interface sensor_interface
5 Display acceleration data on a real-time chart using LVGL.
10 A sample application that demonstrates how to use LVGL and the :ref:`sensor` to
13 This sample creates a line chart with three series, one for each axis of the accelerometer. An LVGL
14 timer fetches the latest acceleration data from the sensor every 20 ms (default value) and updates
15 the chart. The update period is configurable, see
28 ``native_posix*`` and ``native_sim*`` board variants, making it possible to run this sample on
45 .. zephyr-app-commands::
46 :zephyr-app: samples/modules/lvgl/accelerometer_chart
[all …]
/Zephyr-latest/samples/basic/servo_motor/
DREADME.rst1 .. zephyr:code-sample:: servo-motor
3 :relevant-api: pwm_interface
10 This is a sample app which drives a servomotor using the :ref:`PWM API <pwm_api>`.
12 The sample rotates a servomotor back and forth in the 180 degree range with a
15 This app is targeted for servomotor ROB-09065. The corresponding PWM pulse
23 The sample requires a servomotor whose signal pin is connected to a pin driven
24 by PWM. The servo must be defined in Devicetree using the ``pwm-servo``
25 compatible (part of the sample) and setting its node label to ``servo``. You
28 .. code-block:: devicetree
32 compatible = "pwm-servo";
[all …]
/Zephyr-latest/samples/sensor/qdec/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
48 printk("Quadrature encoder emulator enabled with %u ms period\n", in qenc_emulate_init()
52 printk("%s: device not ready.", phase_a.port->name); in qenc_emulate_init()
58 printk("%s: device not ready.", phase_b.port->name); in qenc_emulate_init()
93 /* sleep first to gather position from first period */
98 printk("Failed to fetch sample (%d)\n", rc);
/Zephyr-latest/samples/subsys/display/lvgl/boards/
Dnative_posix.overlay4 * SPDX-License-Identifier: Apache-2.0
7 #include <zephyr/dt-bindings/input/input-event-codes.h>
8 #include <zephyr/dt-bindings/lvgl/lvgl.h>
16 compatible = "gpio-qdec";
18 steps-per-period = <4>;
20 sample-time-us = <2000>;
21 idle-timeout-ms = <200>;
25 compatible = "gpio-keys";
59 compatible = "zephyr,lvgl-button-input";
61 input-codes = <INPUT_KEY_B>;
[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/samples/subsys/shell/shell_module/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
37 char **argv, uint32_t period) in cmd_log_test_start() argument
41 k_timer_start(&log_timer, K_MSEC(period), K_MSEC(period)); in cmd_log_test_start()
73 "Start log timer which generates log message every 200ms.",
76 "Start log timer which generates log message every 10ms.",
119 while ((c = getopt(argc, argv, "abhc:")) != -1) { in cmd_demo_getopt_ts()
129 cvalue = state->optarg; in cmd_demo_getopt_ts()
139 if (state->optopt == 'c') { in cmd_demo_getopt_ts()
141 "Option -%c requires an argument.", in cmd_demo_getopt_ts()
142 state->optopt); in cmd_demo_getopt_ts()
[all …]
/Zephyr-latest/boards/espressif/esp32s3_eye/
Desp32s3_eye_procpu.dts4 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include "esp32s3_eye-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #include <zephyr/dt-bindings/input/esp32-touch-sensor-input.h>
12 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h>
16 model = "Espressif ESP32S3-EYE PROCPU";
20 i2c-0 = &i2c0;
29 zephyr,shell-uart = &usb_serial;
31 zephyr,code-partition = &slot0_partition;
[all …]
/Zephyr-latest/include/zephyr/net/
Dieee802154_radio.h5 * SPDX-License-Identifier: Apache-2.0
12 * @note All references to the standard in this file cite IEEE 802.15.4-2020.
38 * @details This API provides a common representation of vendor-specific
44 * - a basic, mostly PHY-level driver API to be implemented by all drivers,
45 * - several optional MAC-level extension points to offload performance
51 * offloading to vendor-specific hardware or firmware features may be required
56 * Whether or not MAC-level offloading extension points need to be implemented
60 * @note All section, table and figure references are to the IEEE 802.15.4-2020
67 * @name IEEE 802.15.4-2020, Section 6: MAC functional description
72 * The symbol period (and therefore symbol rate) is defined in section 6.1: "Some
[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."
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"
100 in the bluetooth-specific work queue. The HCI driver shall not call bt_recv_prio().
[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.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 …]
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 …]
/Zephyr-latest/samples/modules/canopennode/objdict/
Dobjdict.xml1 <?xml version="1.0" encoding="utf-8"?>
2 <device xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-in…
5 <description>bit 0-15: Device profile number
6 bit 16-31: Additional information</description>
19 <description>bit 0-31: Not used by stack (available for user)</description>
21 …<CANopenObject index="1003" name="Pre-defined error field" objectType="ARRAY" memoryType="RAM" dat…
23 bit 0-7: Zero can be written to erase error history
26 bit 0-15: Error code as transmitted in the Emergency object
27 bit 16-31: Manufacturer specific additional information</description>
57 …<CANopenObject index="1005" name="COB-ID SYNC message" objectType="VAR" memoryType="ROM" dataType=…
[all …]
/Zephyr-latest/subsys/bluetooth/controller/hci/
Dhci.c2 * Copyright (c) 2016-2018 Nordic Semiconductor ASA
5 * SPDX-License-Identifier: Apache-2.0
110 * 0 - Non-Connectable Non-Scannable advertising report
111 * 1 - Connectable Non-Scannable advertising report
112 * 2 - Non-Connectable Scannable advertisig report
113 * 3 - Connectable Scannable advertising report
116 * cycle. If advertiser changes between Connectable Non-Scannable,
122 * 4 - Periodic Advertising report
154 #define DUP_FILTER_DISABLED (-1)
162 /* Helper function to reset non-periodic advertising entries in filter table */
[all …]