/Zephyr-latest/dts/bindings/input/ |
D | pixart,pmw3610.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: spi-device.yaml 11 motion-gpios: 12 type: phandle-array 17 reset-gpios: 18 type: phandle-array 22 zephyr,axis-x: 29 zephyr,axis-y: 36 res-cpi: 43 invert-x: [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | vishay,vcnl36825t.yaml | 2 # SPDX-License-Identifier: Apache-2.0 10 include: [sensor-device.yaml, i2c-device.yaml] 13 operation-mode: 18 Mode of operation. 19 - "auto": the sensor performs sampling continuously, 20 - "force": the sampling is performed on every fetch command. 24 Note: "force"-mode only available if low-power mode inactive. 26 measurement-period: 34 - [10, 80] ms only if low power mode is inactive 35 - [80, 320] ms only in low power mode [all …]
|
/Zephyr-latest/dts/bindings/fuel-gauge/ |
D | battery-cutoff.yaml | 4 # SPDX-License-Identifier: Apache-2.0 9 Properties for fuel-gauges that may control battery cutoff, this is common in SBS-compliant or 10 similarly smart battery fuel gauges. 17 battery-cutoff-support: 20 referred to as ship or sleep mode. 22 battery-cutoff-reg-addr: 26 battery-cutoff-payload:
|
/Zephyr-latest/dts/bindings/haptics/ |
D | ti,drv2605.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 DRV2605 Haptic Driver for ERM and LRA with built-in library and smart-loop 10 include: i2c-device.yaml 13 actuator-mode: 17 - "ERM" 18 - "LRA" 19 feedback-brake-factor: 22 - "1X" 23 - "2X" 24 - "3X" [all …]
|
/Zephyr-latest/dts/bindings/stepper/adi/ |
D | adi,trinamic-ramp-generator.yaml | 1 # SPDX-FileCopyrightText: Copyright (c) 2024 Carl Zeiss Meditec AG 2 # SPDX-License-Identifier: Apache-2.0 4 description: Ramp Generator Motion Control Register-Set for Trinamic stepper controller. 37 for velocity mode. 44 This is the target velocity in velocity mode. It can be changed any time during a motion. 58 Attention: Do not set 0 in positioning mode, 69 Attention: Do not set 0 in positioning mode, 78 seconds. This setting avoids excess acceleration e.g. from VSTOP to -VSTART. 84 Hold current in % of run current (0-100) 86 In combination with StealthChop mode, setting IHOLD=0 allows to choose freewheeling or coil [all …]
|
/Zephyr-latest/samples/boards/phytec/reel_board/mesh_badge/ |
D | README.rst | 1 .. zephyr:code-sample:: mesh_badge 3 :relevant-api: monochrome_character_framebuffer bt_mesh bt_gatt bluetooth 5 Implement a smart badge using the reel board and Bluetooth Mesh. 23 #. Connect to the device. You'll see a single service - select it 31 #. Press "Send" - this will trigger pairing since this is a protected 38 #. Once disconnected the board switches over to Bluetooth Mesh mode, and you
|
/Zephyr-latest/doc/connectivity/bluetooth/ |
D | bluetooth-le-host.rst | 6 The Bluetooth Host implements all the higher-level protocols and 7 profiles, and most importantly, provides a high-level API for 17 Lowest down in the host stack sits a so-called HCI driver, which is 20 host, and vice-versa. 26 * Connection-oriented roles 28 * Peripheral (e.g. a smart sensor, often with a limited user interface) 32 * Connection-less roles 34 * Broadcaster (sending out BLE advertisements, e.g. a smart beacon) 38 Each role comes with its own build-time configuration option: 41 connection-oriented roles central implicitly enables observer role, and [all …]
|
/Zephyr-latest/drivers/sensor/st/lis2dux12/ |
D | lis2dux12_api.c | 1 /* ST Microelectronics LIS2DUX12 smart accelerometer APIs 6 * SPDX-License-Identifier: Apache-2.0 17 struct lis2dux12_data *data = dev->data; in st_lis2dux12_set_odr_raw() 18 const struct lis2dux12_config *cfg = dev->config; in st_lis2dux12_set_odr_raw() 19 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in st_lis2dux12_set_odr_raw() 20 lis2dux12_md_t mode = {.odr = odr, .fs = data->range}; in st_lis2dux12_set_odr_raw() local 22 data->odr = odr; in st_lis2dux12_set_odr_raw() 23 return lis2dux12_mode_set(ctx, &mode); in st_lis2dux12_set_odr_raw() 29 struct lis2dux12_data *data = dev->data; in st_lis2dux12_set_range() 30 const struct lis2dux12_config *cfg = dev->config; in st_lis2dux12_set_range() [all …]
|
D | lis2duxs12_api.c | 1 /* ST Microelectronics LIS2DUXS12 smart accelerometer APIs 6 * SPDX-License-Identifier: Apache-2.0 17 struct lis2dux12_data *data = dev->data; in st_lis2duxs12_set_odr_raw() 18 const struct lis2dux12_config *cfg = dev->config; in st_lis2duxs12_set_odr_raw() 19 stmdev_ctx_t *ctx = (stmdev_ctx_t *)&cfg->ctx; in st_lis2duxs12_set_odr_raw() 20 lis2duxs12_md_t mode = {.odr = odr, .fs = data->range}; in st_lis2duxs12_set_odr_raw() local 22 data->odr = odr; in st_lis2duxs12_set_odr_raw() 23 return lis2duxs12_mode_set(ctx, &mode); in st_lis2duxs12_set_odr_raw() 29 struct lis2dux12_data *data = dev->data; in st_lis2duxs12_set_range() 30 const struct lis2dux12_config *cfg = dev->config; in st_lis2duxs12_set_range() [all …]
|
/Zephyr-latest/tests/drivers/build_all/input/ |
D | app.overlay | 4 * 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/boards/st/sensortile_box/doc/ |
D | index.rst | 6 The STEVAL-MKSBOX1V1 (SensorTile.box) is a ready-to-use box kit for wireless 9 The SensorTile.box board fits into a small plastic box with a long-life rechargeable 20 - Ultra low-power STM32L4R9ZI System on Chip 22 - LQFP144 package 23 - Core: ARM |reg| 32-bit Cortex |reg|-M4 CPU with FPU, adaptive 24 real-time accelerator (ART Accelerator) allowing 0-wait-state 27 - Clock Sources: 29 - 16 MHz crystal oscillator 30 - 32 kHz crystal oscillator for RTC (LSE) 32 - Communication [all …]
|
/Zephyr-latest/samples/net/lwm2m_client/ |
D | README.rst | 1 .. zephyr:code-sample:: lwm2m-client 3 :relevant-api: lwm2m_api 20 …w.openmobilealliance.org/release/LightweightM2M/V1_0-20170208-A/OMA-TS-LightweightM2M-V1_0-2017020… 28 - :ref:`networking_with_eth_qemu`, :ref:`networking_with_qemu` or :ref:`networking_with_native_sim` 29 - Linux machine 30 - Leshan Demo Server (https://eclipse.org/leshan/) 38 .. list-table:: 40 * - :file:`prj.conf` 41 - This is the standard default config. 43 * - :file:`overlay-bootstrap.conf` [all …]
|
/Zephyr-latest/boards/st/stm32g081b_eval/doc/ |
D | index.rst | 5 The STM32G081B-EVAL Evaluation board is a high-end development platform, for 6 Arm Cortex-M0+ core-based STM32G081RBT6 microcontroller, with USB Type-C and 7 power delivery controller interfaces (UCPD), compliant with USB type-C r1.2 9 one 12-bit ADC, two 12-bit DACs, two GP comparators, two LP timers, internal 11 hardware features on the STM32G081B-EVAL Evaluation board includes a mother 12 board, a legacy peripheral daughterboard and a USB-C and Power Delivery 13 daughterboard, which help to evaluate all peripherals (USB Type-C connector 16 connectors, smart card slot, RF E2PROM & Temperature sensor…), and to develop 19 The board integrates an ST-LINK/V2-1 as an embedded in-circuit debugger and 24 The USB-C and Power Delivery daughterboard [all …]
|
/Zephyr-latest/drivers/serial/ |
D | uart_lpc11u6x.h | 4 * SPDX-License-Identifier: Apache-2.0 115 volatile uint32_t acr; /* Auto-baud Control */ 123 volatile uint32_t sci_ctrl; /* Smart card interface */ 124 volatile uint32_t rs485_ctrl; /* RS-485 control */ 125 volatile uint32_t rs485_addr_match; /* RS-485 address match */ 126 volatile uint32_t rs485_dly; /* RS-485 delay direction control 129 volatile uint32_t sync_ctrl; /* Synchronous mode control */
|
/Zephyr-latest/drivers/fuel_gauge/sbs_gauge/ |
D | emul_sbs_gauge.c | 5 * SPDX-License-Identifier: Apache-2.0 7 * Emulator for SBS 1.1 compliant smart battery fuel gauge. 33 /** Run-time data used by the emulator */ 38 uint16_t mode; member 48 /* Non-register values associated with the state of the battery */ 51 /* Battery terminal current - Pos is charging, Neg is discharging */ 67 struct sbs_gauge_emul_data *data = target->data; in emul_sbs_gauge_maybe_do_battery_cutoff() 68 const struct sbs_gauge_emul_cfg *cfg = target->cfg; in emul_sbs_gauge_maybe_do_battery_cutoff() 71 if (cfg->cutoff_support && reg == cfg->cutoff_reg_addr) { in emul_sbs_gauge_maybe_do_battery_cutoff() 72 __ASSERT_NO_MSG(ARRAY_SIZE(cfg->cutoff_payload) > 0); in emul_sbs_gauge_maybe_do_battery_cutoff() [all …]
|
/Zephyr-latest/drivers/ieee802154/ |
D | ieee802154_dw1000_regs.h | 4 * SPDX-License-Identifier: Apache-2.0 7 * https://github.com/Decawave/mynewt-dw1000-core.git 14 * Copyright (C) 2017-2018, Decawave Limited, All Rights Reserved 24 * http://www.apache.org/licenses/LICENSE-2.0 75 /* Frame Filtering Behave as a Co-ordinator */ 106 /* Standard Frame mode */ 108 /* Long Frames mode */ 110 /* Disable Smart TX Power control */ 112 /* Receiver Mode 110 kbps data rate */ 117 * Receiver Auto-Re-enable. [all …]
|
/Zephyr-latest/doc/introduction/ |
D | index.rst | 6 The Zephyr OS is based on a small-footprint kernel designed for use on 7 resource-constrained and embedded systems: from simple embedded environmental 8 sensors and LED wearables to sophisticated embedded controllers, smart 13 - ARCv2 (EM and HS) and ARCv3 (HS6X) 14 - ARMv6-M, ARMv7-M, and ARMv8-M (Cortex-M) 15 - ARMv7-A and ARMv8-A (Cortex-A, 32- and 64-bit) 16 - ARMv7-R, ARMv8-R (Cortex-R, 32- and 64-bit) 17 - Intel x86 (32- and 64-bit) 18 - MIPS (MIPS32 Release 1 specification) 19 - NIOS II Gen 2 [all …]
|
/Zephyr-latest/subsys/mgmt/osdp/src/ |
D | osdp_common.h | 4 * SPDX-License-Identifier: Apache-2.0 23 #define ISSET_FLAG(p, f) (((p)->flags & (f)) == (f)) 24 #define SET_FLAG(p, f) ((p)->flags |= (f)) 25 #define CLEAR_FLAG(p, f) ((p)->flags &= ~(f)) 32 #define GET_CURRENT_PD(p) ((p)->current_pd) 35 (p)->current_pd = osdp_to_pd(p, i); \ 38 (uint32_t)((1 << ((ctx)->num_pd)) - 1) 39 #define AES_PAD_LEN(x) ((x + 16 - 1) & (~(16 - 1))) 40 #define NUM_PD(ctx) ((ctx)->num_pd) 105 #define SCS_11 0x11 /* CP -> PD -- CMD_CHLNG */ [all …]
|
/Zephyr-latest/boards/st/nucleo_wl55jc/doc/ |
D | nucleo_wl55jc.rst | 6 The NUCLEO-WL55JC STM32WL Nucleo-64 board provides an affordable and flexible 11 - STM32WL55JC microcontroller multiprotocol LPWAN dual-core 32-bit 12 (Arm® Cortex®-M4/M0+ at 48 MHz) in UFBGA73 package featuring: 14 - Ultra-low-power MCU 15 - RF transceiver (150 MHz to 960 MHz frequency range) supporting LoRa®, 17 - 256-Kbyte Flash memory and 64-Kbyte SRAM 19 - 3 user LEDs 20 - 3 user buttons and 1 reset push-button 21 - 32.768 kHz LSE crystal oscillator 22 - 32 MHz HSE on-board oscillator [all …]
|
/Zephyr-latest/drivers/spi/ |
D | spi_sam.c | 6 * SPDX-License-Identifier: Apache-2.0 66 struct spi_sam_data *data = dev->data; in spi_spin_lock() 68 return k_spin_lock(&data->lock); in spi_spin_lock() 73 struct spi_sam_data *data = dev->data; in spi_spin_unlock() 75 k_spin_unlock(&data->lock, key); in spi_spin_unlock() 82 /* SPI worked in fixed peripheral mode(SPI_MR.PS = 0) and disabled chip in spi_slave_to_mr_pcs() 83 * select decode(SPI_MR.PCSDEC = 0), based on Atmel | SMART ARM-based in spi_slave_to_mr_pcs() 84 * Flash MCU DATASHEET 40.8.2 SPI Mode Register: in spi_slave_to_mr_pcs() 97 const struct spi_sam_config *cfg = dev->config; in spi_sam_configure() 98 struct spi_sam_data *data = dev->data; in spi_sam_configure() [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_sam0.c | 4 * SPDX-License-Identifier: Apache-2.0 21 #include "i2c-priv.h" 73 while ((regs->SYNCBUSY.reg & SERCOM_I2CM_SYNCBUSY_MASK) != 0) { in wait_synchronization() 77 while ((regs->STATUS.reg & SERCOM_I2CM_STATUS_SYNCBUSY) != 0) { in wait_synchronization() 86 struct i2c_sam0_dev_data *data = dev->data; in i2c_sam0_terminate_on_error() 87 const struct i2c_sam0_dev_config *const cfg = dev->config; in i2c_sam0_terminate_on_error() 88 SercomI2cm *i2c = cfg->regs; in i2c_sam0_terminate_on_error() 90 if (!(i2c->STATUS.reg & (SERCOM_I2CM_STATUS_ARBLOST | in i2c_sam0_terminate_on_error() 107 if (cfg->dma_channel != 0xFF) { in i2c_sam0_terminate_on_error() 108 dma_stop(cfg->dma_dev, cfg->dma_channel); in i2c_sam0_terminate_on_error() [all …]
|
/Zephyr-latest/include/zephyr/drivers/i3c/ |
D | ccc.h | 5 * SPDX-License-Identifier: Apache-2.0 104 /** Enter Test Mode (Broadcast) */ 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) */ 132 /** Enter HDR Mode 4 (Broadcast) */ 135 /** Enter HDR Mode 5 (Broadcast) */ 138 /** Enter HDR Mode 6 (Broadcast) */ [all …]
|
/Zephyr-latest/boards/arm/v2m_beetle/doc/ |
D | index.rst | 10 the V2M Beetle board. It provides support for the Beetle ARM Cortex-M3 CPU and 13 - Nested Vectored Interrupt Controller (NVIC) 14 - System Tick System Clock (SYSTICK) 15 - Cortex-M System Design Kit GPIO 16 - Cortex-M System Design Kit UART 29 - ARM Cortex-M3 30 - ARM IoT Subsystem for Cortex-M 31 - CORDIO Bluetooth Smart radio 32 - Memory 34 - 256KB of embedded flash [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-4.0.rst | 15 is now the standard way to provide device-specific protection to data at rest. (:github:`76222`) 18 :ref:`ZMS <zms_api>` is a new key-value storage subsystem compatible with all non-volatile storage 25 runtime configuration through vendor specific APIs. Initially the :dtcompatible:`nordic,nrf-comp`, 26 :dtcompatible:`nordic,nrf-lpcomp` and :dtcompatible:`nxp,kinetis-acmp` are supported. 31 Initially implemented drivers include a simple :dtcompatible:`zephyr,gpio-steppers` and a complex 32 sensor-less stall-detection capable with integrated ramp-controller :dtcompatible:`adi,tmc5041`. 50 directory for :zephyr:code-sample-category:`code samples <samples>`. 70 * :cve:`2024-8798`: Under embargo until 2024-11-22 71 * :cve:`2024-10395`: Under embargo until 2025-01-23 72 * :cve:`2024-11263` `Zephyr project bug tracker GHSA-jjf3-7x72-pqm9 [all …]
|
D | release-notes-3.5.rst | 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 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 …]
|