Home
last modified time | relevance | path

Searched +full:raw +full:- +full:y +full:- +full:max (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/dts/bindings/input/
Dxptek,xpt2046.yaml2 # SPDX-License-Identifier: Apache-2.0
7 include: spi-device.yaml
10 int-gpios:
11 type: phandle-array
15 touchscreen-size-x:
20 touchscreen-size-y:
25 min-x:
28 description: minimum raw X value reported.
30 min-y:
33 description: minimum raw Y value reported.
[all …]
Dst,stmpe811.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [i2c-device.yaml, touchscreen-common.yaml]
11 int-gpios:
12 type: phandle-array
17 raw-x-min:
20 Signed raw X axis start for scaling the reported coordinates.
23 raw-y-min:
26 Signed raw Y axis start for scaling the reported coordinates.
29 raw-x-max:
32 Raw X axis end for scaling the reported coordinates.
[all …]
/Zephyr-latest/boards/st/st25dv_mb1283_disco/
Dst25dv_mb1283_disco.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "st/f4/stm32f405vgtx-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
11 #include <zephyr/dt-bindings/display/ili9xxx.h>
19 zephyr,shell-uart = &usart6;
26 compatible = "gpio-leds";
36 compatible = "gpio-keys";
69 compatible = "zephyr,mipi-dbi-spi";
70 reset-gpios = <&gpioc 1 GPIO_ACTIVE_HIGH>;
[all …]
/Zephyr-latest/boards/st/stm32f429i_disc1/
Dstm32f429i_disc1.dts5 * SPDX-License-Identifier: Apache-2.0
8 /dts-v1/;
10 #include <st/f4/stm32f429zitx-pinctrl.dtsi>
11 #include <zephyr/dt-bindings/display/ili9xxx.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
20 zephyr,shell-uart = &usart1;
29 compatible = "zephyr,memory-region", "mmio-sram";
32 zephyr,memory-region = "SDRAM2";
36 compatible = "gpio-leds";
48 compatible = "gpio-keys";
[all …]
/Zephyr-latest/soc/nuvoton/npcx/
DKconfig1 # Nuvoton Cortex-M4 Embedded Controller
4 # SPDX-License-Identifier: Apache-2.0
19 default y
21 Build a "raw" binary zephyr/zephyr.npcx.bin in the build directory.
47 This selects the max clock rate that will be used for loading firmware
51 bool "SPI flash max clock rate of 20 MHz"
54 bool "SPI flash max clock rate of 25 MHz"
57 bool "SPI flash max clock rate of 33 MHz"
61 bool "SPI flash max clock rate of 40 MHz"
64 bool "SPI flash max clock rate of 50 MHz"
/Zephyr-latest/drivers/input/
Dinput_stmpe811.c3 * SPDX-License-Identifier: Apache-2.0
84 * - bits [1-3] X, Y only acquisition mode
89 * Analog-to-digital Converter
91 * - bit [3] selects 12 bit ADC
92 * - bits [4-6] select ADC conversion time = 80
99 * - 00 : 1.625 MHz
100 * - 01 : 3.25 MHz
101 * - 10 : 6.5 MHz
102 * - 11 : 6.5 MHz
109 * - Fractional part : 7
[all …]
/Zephyr-latest/subsys/logging/
DKconfig.formatting2 # SPDX-License-Identifier: Apache-2.0
6 menu "Prepend non-hexdump log message with function name"
20 default y
25 bool "MIPI SyS-T format output"
29 Enable MIPI SyS-T format output for the logger system.
34 bool "Use MIPI Sys-T Catalog for logging"
39 Use MIPI Sys-T Catalog for logging instead of plain text.
42 bool "Disable MIPI Sys-T protocol timestamp"
44 Remove the timestamp from the MIPI Sys-T protocol.
47 int "Size of temporary arguments buffer when using Sys-T Catalog"
[all …]
/Zephyr-latest/include/zephyr/drivers/i3c/
Dccc.h5 * SPDX-License-Identifier: Apache-2.0
91 * Set Max Write Length (Broadcast or Direct)
98 * Set Max Read Length (Broadcast or Direct)
117 /** Enter HDR Mode (HDR-DDR) (Broadcast) */
120 /** Enter HDR Mode 0 (HDR-DDR) (Broadcast) */
123 /** Enter HDR Mode 1 (HDR-TSP) (Broadcast) */
126 /** Enter HDR Mode 2 (HDR-TSL) (Broadcast) */
129 /** Enter HDR Mode 3 (HDR-BT) (Broadcast) */
171 /** Multi-Lane Data Transfer Control (Broadcast) */
188 /** Get Max Write Length (Direct) */
[all …]
/Zephyr-latest/scripts/dts/python-devicetree/src/devicetree/
Dedtlib.py3 # SPDX-License-Identifier: BSD-3-Clause
17 but a binding can also come from a 'child-binding:' key in the binding for the
23 The top-level entry points for the library are the EDT and Binding classes.
31 # --------------------
47 # - Consider using @property for APIs that don't need parameters. It makes
51 # - Think about the data type of the thing you're exposing. Exposing something
55 # - Avoid get_*() prefixes on functions. Name them after the thing they return
60 # - Don't expose dtlib stuff directly.
62 # - Add documentation for any new APIs you add.
108 The free-form description of the binding, or None.
[all …]
/Zephyr-latest/doc/hardware/peripherals/can/
Dshell.rst38 For example, building the :zephyr:code-sample:`hello_world` sample for the :zephyr:board:`frdm_k64f…
41 .. zephyr-app-commands::
42 :zephyr-app: samples/hello_world
44 …:gen-args: -DCONFIG_SHELL=y -DCONFIG_CAN=y -DCONFIG_CAN_SHELL=y -DCONFIG_STATS=y -DCONFIG_CAN_STAT…
48 interact with the shell. The CAN shell comes with built-in help (unless
49 :kconfig:option:`CONFIG_SHELL_HELP` is disabled). The built-in help messages can be printed by
50 passing ``-h`` or ``--help`` to the ``can`` command or any of its subcommands. All subcommands also
51 support tab-completion of their arguments.
55 also supports tab-completion. A list of all devices available can be obtained using the ``device
67 .. code-block:: console
[all …]
/Zephyr-latest/drivers/timer/
Dite_it8xxx2_timer.c3 * SPDX-License-Identifier: Apache-2.0
10 #include <zephyr/dt-bindings/interrupt-controller/ite-intc.h>
19 #define COUNT_1US (EC_FREQ / USEC_PER_SEC - 1)
28 /* Event timer max count is 512 sec (base on clock source 32768Hz) */
40 /* Busy wait high timer max count is 71.58min (base on clock source 1MHz) */
72 /* Event timer max count is as how much system (kernel) tick */
135 timer2_reg->ET2PSR = EXT_PSR_32P768K; in timer_5ms_one_shot()
142 timer2_reg->ET2CNTLH2R = (uint8_t)((hw_cnt >> 16) & 0xff); in timer_5ms_one_shot()
143 timer2_reg->ET2CNTLHR = (uint8_t)((hw_cnt >> 8) & 0xff); in timer_5ms_one_shot()
144 timer2_reg->ET2CNTLLR = (uint8_t)(hw_cnt & 0xff); in timer_5ms_one_shot()
[all …]
/Zephyr-latest/subsys/net/lib/sockets/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
27 int "Max number of supported poll() entries [DEPRECATED]"
39 API call will timeout if we have not received SYN-ACK from
63 which DNS query is re-tried. If there is no reply, the backoff
73 int "Max time in milliseconds waiting for a send command"
102 Lowest cooperative thread priority is -1.
103 Highest cooperative thread priority is -NUM_COOP_PRIORITIES.
136 default y
167 from connecting. Value of 0 indicates no timeout - resources will be
197 with a single non-empty iov buffer.
[all …]
/Zephyr-latest/subsys/net/ip/
DKconfig6 # SPDX-License-Identifier: Apache-2.0
13 default y if NET_IPV6 || NET_IPV4
18 default y if NET_IPV6_FRAGMENT || NET_IPV4_FRAGMENT
27 default y
39 default y if NET_IP
44 default y if NET_IPV6
49 default y if NET_IPV4
56 default y
61 module-dep = NET_LOG
62 module-str = Log level for PMTU
[all …]
/Zephyr-latest/drivers/sensor/adi/adxl367/
Dadxl367.c4 * SPDX-License-Identifier: Apache-2.0
29 * @param dev - The device structure.
30 * @param th - Structure holding the activity threshold information:
39 struct adxl367_data *data = dev->data; in adxl367_setup_activity_detection()
43 ret = data->hw_tf->write_reg_mask(dev, ADXL367_ACT_INACT_CTL, in adxl367_setup_activity_detection()
46 FIELD_PREP(ADXL367_ACT_INACT_CTL_ACT_EN_MSK, th->enable) | in adxl367_setup_activity_detection()
48 th->referenced)); in adxl367_setup_activity_detection()
53 ret = data->hw_tf->write_reg_mask(dev, ADXL367_THRESH_ACT_H, ADXL367_THRESH_H_MSK, in adxl367_setup_activity_detection()
54 FIELD_PREP(ADXL367_THRESH_H_MSK, th->value >> 6)); in adxl367_setup_activity_detection()
59 return data->hw_tf->write_reg_mask(dev, ADXL367_THRESH_ACT_L, ADXL367_THRESH_L_MSK, in adxl367_setup_activity_detection()
[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."
9 default y if BT_GATT_CACHING
11 Adds an API for a workqueue dedicated to long-running tasks.
23 int "Long workqueue priority. Should be pre-emptible."
38 default y
58 # the worst-case stack size if an out-of-tree controller is used.
70 # Hidden option for Co-Operative Tx thread priority
[all …]
/Zephyr-latest/doc/releases/
Dmigration-guide-3.7.rst22 out-of-tree SoCs and boards to be ported to the new model. See the
25 * The following build-time generated headers:
27 .. list-table::
28 :header-rows: 1
30 * - Affected header files
31 * - ``app_version.h``
32 * - ``autoconf.h``
33 * - ``cmake_intdef.h``
34 * - ``core-isa-dM.h``
35 * - ``devicetree_generated.h``
[all …]
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-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 …]
/Zephyr-latest/include/zephyr/drivers/
Dsensor.h10 * SPDX-License-Identifier: Apache-2.0
42 * and can be obtained using the formula val1 + val2 * 10^(-6). Negative
47 * -0.5: val1 = 0, val2 = -500000
48 * -1.0: val1 = -1, val2 = 0
49 * -1.5: val1 = -1, val2 = -500000
54 /** Fractional part of the value (in one-millionth parts). */
64 /** Acceleration on the Y axis, in m/s^2. */
68 /** Acceleration on the X, Y and Z axes. */
72 /** Angular velocity around the Y axis, in radians/s. */
76 /** Angular velocity around the X, Y and Z axes. */
[all …]
/Zephyr-latest/subsys/net/l2/wifi/
Dwifi_shell.c5 * SPDX-License-Identifier: Apache-2.0
45 #include <wifi_enterprise_test_certs/client-key.pem.inc>
58 #include <wifi_enterprise_test_certs/client-key2.pem.inc>
67 #include <wifi_enterprise_test_certs/server-key.pem.inc>
143 return -1; in cmd_wifi_set_enterprise_creds()
151 char *pname, long min, long max) in parse_number() argument
169 if ((num) < (min) || (num) > (max)) { in parse_number()
171 PR_WARNING("%s value out of range: %s, (%ld-%ld)\n", in parse_number()
172 pname, str_tmp, min, max); in parse_number()
174 PR_WARNING("Value out of range: %s, (%ld-%ld)\n", in parse_number()
[all …]
/Zephyr-latest/scripts/kconfig/
Dkconfiglib.py1 # Copyright (c) 2011-2019, Ulf Magnusson
2 # SPDX-License-Identifier: ISC
9 from Kconfig (https://www.kernel.org/doc/Documentation/kbuild/kconfig-language.txt)
27 $ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | git am
28 …$ wget -qO- https://raw.githubusercontent.com/ulfalizer/Kconfiglib/master/makefile.patch | patch -
30 Warning: Not passing -p1 to patch will cause the wrong file to be patched.
43 $ git am Kconfiglib/makefile.patch (or 'patch -p1 < Kconfiglib/makefile.patch')
53 ----------------
61 --------------
69 --------------------------------
[all …]
/Zephyr-latest/include/zephyr/arch/
Darch_interface.h4 * SPDX-License-Identifier: Apache-2.0
8 * @defgroup arch-interface Architecture Interface
13 * call architecture-specific API so will have the prototypes for the
14 * architecture-specific APIs here. Architecture APIs that aren't used in this
17 * The set of architecture-specific APIs used internally by public macros and
53 * @defgroup arch-timing Architecture timing APIs
54 * @ingroup arch-interface
82 * through the full 64 bit space, wrapping at 2^64-1. Hardware with
92 * @addtogroup arch-threads
126 * buffer, defined as the area usable for thread stack context and thread-
[all …]
/Zephyr-latest/include/zephyr/bluetooth/mesh/
Daccess.h8 * SPDX-License-Identifier: Apache-2.0
52 #define BT_MESH_ADDR_ALL_NODES 0xffff /**< all-nodes */
53 #define BT_MESH_ADDR_RELAYS 0xfffe /**< all-relays */
54 #define BT_MESH_ADDR_FRIENDS 0xfffd /**< all-friends */
55 #define BT_MESH_ADDR_PROXIES 0xfffc /**< all-proxies */
56 #define BT_MESH_ADDR_DFW_NODES 0xfffb /**< all-directed-forwarding-nodes */
57 #define BT_MESH_ADDR_IP_NODES 0xfffa /**< all-ipt-nodes */
58 #define BT_MESH_ADDR_IP_BR_ROUTERS 0xfff9 /**< all-ipt-border-routers */
125 #define BT_MESH_TX_SDU_MAX MAX((BT_MESH_TX_SEG_MAX * \
130 #define BT_MESH_RX_SDU_MAX MAX((BT_MESH_RX_SEG_MAX * \
[all …]
/Zephyr-latest/subsys/net/lib/coap/
Dcoap.c4 * SPDX-License-Identifier: Apache-2.0
32 /* Values as per RFC 7252, section-3.1.
34 * Option Delta/Length: 4-bit unsigned integer. A value between 0 and
37 * 13: An 8-bit unsigned integer precedes the Option Value and indicates
39 * 14: A 16-bit unsigned integer in network byte order precedes the
73 cpkt->data[offset] = data; in encode_u8()
74 ++cpkt->offset; in encode_u8()
79 cpkt->data[offset] = data >> 8; in encode_be16()
80 cpkt->data[offset + 1] = (uint8_t)data; in encode_be16()
81 cpkt->offset += 2; in encode_be16()
[all …]

12