Home
last modified time | relevance | path

Searched +full:fake +full:- +full:is +full:- +full:enabled +full:- +full:in +full:- +full:hardware (Results 1 – 15 of 15) sorted by relevance

/Zephyr-latest/dts/bindings/regulator/
Dzephyr,fake-regulator.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Fake regulator, to be used as a mock or stub in tests.
9 compatible: "zephyr,fake-regulator"
11 child-binding:
15 fake-is-enabled-in-hardware:
19 Allows test cases where the regulator is enabled in hardware.
/Zephyr-latest/tests/drivers/regulator/api/
Dapp.overlay3 * SPDX-License-Identifier: Apache-2.0
8 compatible = "zephyr,fake-regulator";
13 regulator-always-on;
17 regulator-boot-on;
21 regulator-min-microvolt = <100>;
22 regulator-max-microvolt = <200>;
23 regulator-min-microamp = <100>;
24 regulator-max-microamp = <200>;
25 regulator-allowed-modes = <1 10>;
26 regulator-initial-mode = <1>;
[all …]
/Zephyr-latest/samples/sensor/sensor_shell/
DREADME.rst1 .. zephyr:code-sample:: sensor_shell
3 :relevant-api: sensor_interface
9 This is a simple shell module to get data from sensors presented in the system.
15 enabled, for example:
17 .. zephyr-app-commands::
18 :zephyr-app: samples/sensor/sensor_shell
22 For boards that do not have a sensor, a simple fake sensor driver is provided, for example:
24 .. zephyr-app-commands::
25 :zephyr-app: samples/sensor/sensor_shell
28 :gen-args: -DCONFIG_SAMPLES_SENSOR_SHELL_FAKE_SENSOR=y
[all …]
/Zephyr-latest/doc/hardware/porting/
Darch.rst6 An architecture port is needed to enable Zephyr to run on an :abbr:`ISA
8 Interface)` that is not currently supported.
13 * ARMv7-M ISA with Thumb2 instruction set and ARM Embedded ABI (aeabi)
20 An architecture port can be divided in several parts; most are required and
27 and unrequested events in a specific manner (required).
29 * **Thread context switching**: the Zephyr context switch is dependent on the
32 * **Thread creation and termination**: A thread's initial stack frame is ABI
33 and architecture-dependent, and thread abortion possibly as well (required).
39 architecture-specific implementation for performance reasons (required).
44 * **Fault management**: for implementing architecture-specific debug help and
[all …]
/Zephyr-latest/doc/connectivity/networking/conn_mgr/
Dimplementation.rst11 Connectivity implementations are technology-specific modules that allow specific Zephyr ifaces to s…
12 …neric :ref:`connectivity control API <conn_mgr_control_api>` calls into hardware-specific operatio…
24 …t:`conn_mgr_conn_impl` struct, which then stores a reference to the passed in :c:struct:`conn_mgr_…
29is bound, :ref:`connectivity control API <conn_mgr_control_api>` functions can be called on the if…
33 Instead, an instance of :c:struct:`conn_mgr_conn_binding` is created and appended an internal :ref:…
35 …to the bound iface, the connectivity implementation it is bound to, as well as a pointer to a per-
38 This search process is used by most of the functions in the :ref:`connectivity control API <conn_mg…
48 :figclass: align-center
60 Each binding is then instantiated with a reference to that container, which implementations can the…
71 .. code-block:: c
[all …]
/Zephyr-latest/doc/releases/
Drelease-notes-2.3.rst15 new API allows the C code to access virtually all nodes and properties in a
18 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
38 Zephyr Bluetooth implementation can result in memory corruption.
39 * CVE-2020-10062: Packet length decoding error in MQTT
[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.
27 More detailed information can be found in:
30 * CVE-2023-0359: Under embargo until 2023-04-20
32 * CVE-2023-0779: Under embargo until 2023-04-22
42 Changes in this release
45 * Newlib nano variant is no longer selected by default when
46 :kconfig:option:`CONFIG_NEWLIB_LIBC` is selected.
47 :kconfig:option:`CONFIG_NEWLIB_LIBC_NANO` must now be explicitly selected in
66 removed in favor of new :dtcompatible:`zephyr,flash-disk` devicetree binding.
[all …]
Drelease-notes-3.5.rst15 * Added new hardware spinlock driver API
20 * Bluetooth: improvements to the Controller, Audio, Mesh, as well as the host stack in
24 * Picolibc is now the default C standard library
27 v3.4.0 to Zephyr v3.5.0 can be found in the separate :ref:`migration guide<migration_3.5>`.
35 More detailed information can be found in:
38 * 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
[all …]
/Zephyr-latest/drivers/serial/
Duart_nrfx_uarte.c2 * Copyright (c) 2018-2021 Nordic Semiconductor ASA
4 * SPDX-License-Identifier: Apache-2.0
45 /* Determine if any instance is using interrupt driven API. */
54 /* Determine if any instance is not using asynchronous API. */
63 /* Determine if any instance is using asynchronous API. */
72 /* Determine if any instance is using asynchronous API with HW byte counting. */
79 /* Determine if any instance is using enhanced poll_out feature. */
127 * is used then baudrate must be set after enabling the peripheral and not before.
128 * This approach works for all instances so can be generally applied when uart120 is used.
129 * It is not default for all because it costs some resources. Since currently only uart120
[all …]
/Zephyr-latest/drivers/usb/device/
Dusb_dc_nrfx.c5 * SPDX-License-Identifier: Apache-2.0
25 #include <zephyr/dt-bindings/regulator/nrf5x.h>
102 * @param curr Pointer to the current offset in the endpoint buffer.
122 * @param trans_zlp Flag required for Control IN Endpoint. It
123 * indicates that ZLP is required to end data
177 * TODO: The number of FIFO elements is an arbitrary number now but it should
188 /** Number of IN Endpoints configured (including control) */
196 /** Number of ISO IN Endpoints */
234 * @param drv_lock Mutex for thread-safe nrfx driver use
263 * The system work queue cannot be used for this purpose as it might be used in
[all …]
Dusb_dc_smartbond.c4 * SPDX-License-Identifier: Apache-2.0
46 * it may be simpler to just fill hardware FIFO with data instead
52 /* Size of hardware RX and TX FIFO. */
88 * at least 1ms. It is accomplished by using FRAME interrupt that goes
89 * through those two fake states before entering OPERATIONAL state.
106 (struct smartbond_ep_reg_set *)&USB->USB_EPC0_REG,
107 (struct smartbond_ep_reg_set *)&USB->USB_EPC1_REG,
108 (struct smartbond_ep_reg_set *)&USB->USB_EPC3_REG,
109 (struct smartbond_ep_reg_set *)&USB->USB_EPC5_REG,
118 /** Packet size sent or received so far. It is used to modify transferred field
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_pca_series.c4 * SPDX-License-Identifier: Apache-2.0
8 * @file Driver for PCA(L)xxxx SERIES I2C-based GPIO expander.
57 * @note must be consistent in order with @ref enum gpio_pca_series_part_no
70 * - Type 0: PCA953X, PCA955X
71 * - Type 1: PCAL953X, PCAL955X, PCAL64XXA
72 * - Type 2: PCA957X
73 * - Type 3: PCAL65XX
101 * #1: "pull_enable" register is named "bus_hold" in PCA957x datasheet.
102 * #2: this is for "individual pin output configuration register". We do not use
103 * port-level "pin output configuration" register.
[all …]
/Zephyr-latest/drivers/usb/udc/
Dudc_smartbond.c4 * SPDX-License-Identifier: Apache-2.0
30 /* Size of hardware RX and TX FIFO. */
39 #define REG_GET_BIT(reg, field) (USB->reg & USB_##reg##_##field##_Msk)
40 #define REG_SET_BIT(reg, field) (USB->reg |= USB_##reg##_##field##_Msk)
41 #define REG_CLR_BIT(reg, field) (USB->reg &= ~USB_##reg##_##field##_Msk)
43 (USB->reg = (USB->reg & ~USB_##reg##_##field##_Msk) | (val << USB_##reg##_##field##_Pos))
71 * at least 1ms. It is accomplished by using FRAME interrupt that goes
72 * through those two fake states before entering OPERATIONAL state.
92 /** Packet size sent or received so far. It is used to modify transferred field
93 * after ACK is received or when filling ISO endpoint with size larger then
[all …]
/Zephyr-latest/drivers/espi/
Despi_npcx.c4 * SPDX-License-Identifier: Apache-2.0
15 #include <zephyr/dt-bindings/espi/npcx_espi.h>
32 /* mapping table between eSPI reset signal and wake-up input */
50 /* tell the interrupt handler that it is a fake request */
77 ((struct espi_reg *)((const struct espi_npcx_config *)(dev)->config)->base)
120 uint8_t status_bit; /* bit order in ESPISTS register */
121 uint8_t int_en_bit; /* bit order in ESPIIE register */
122 uint8_t wake_en_bit; /* bit order in ESPIWE register */
132 /* eSPI Virtual Wire Input (Master-to-Slave) signals configuration structure */
136 uint8_t bitmask; /* VW signal bits-mask */
[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
65 ZLL->EVENT_TMR >> ZLL_EVENT_TMR_EVENT_TMR_SHIFT; \
92 #define KW41Z_OUTPUT_POWER_MIN (-31)
102 * Clear channel assessment types. Note that there is an extra one when
103 * bit 26 is included for "No CCA before transmit" if we are handling
104 * ACK frames but we will let the hardware handle that automatically.
114 * KW41Z has a sequencer that can run in any of the following states.
127 1, /* -31.1 dBm: -31 */
[all …]