/Zephyr-latest/dts/bindings/adc/ |
D | nxp,kinetis-adc16.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "nxp,kinetis-adc16" 8 include: ["adc-controller.yaml", "pinctrl-device.yaml"] 14 channel-mux-b: 22 periodic-trigger: 26 "#io-channel-cells": 29 clk-source: 33 long-sample: 36 - 0 37 - 1 [all …]
|
/Zephyr-latest/tests/drivers/adc/adc_api/boards/ |
D | frdm_k64f.overlay | 2 * SPDX-License-Identifier: Apache-2.0 9 io-channels = <&adc0 14>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 clk-source = <0>; 17 hw-trigger-src = <4>; 18 continuous-convert; 19 high-speed; 20 periodic-trigger; 27 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; [all …]
|
D | frdm_k82f.overlay | 2 * SPDX-License-Identifier: Apache-2.0 9 io-channels = <&adc0 15>; 14 #address-cells = <1>; 15 #size-cells = <0>; 16 clk-source = <0>; 17 hw-trigger-src = <4>; 18 continuous-convert; 19 high-speed; 20 periodic-trigger; 27 zephyr,acquisition-time = <ADC_ACQ_TIME_DEFAULT>; [all …]
|
/Zephyr-latest/doc/kernel/ |
D | timeutil.rst | 19 discontinuities due to `leap seconds <https://what-if.xkcd.com/26/>`__ and 48 <https://tools.ietf.org/html/rfc8536#section-2>`__. 55 other continuous or discontinuous scale. 61 Sub-second timestamps like ``struct timespec`` can also use this to produce 62 the calendar time representation and deal with sub-second offsets separately. 84 conditioned by a 1-pulse-per-second GPS signal will be much more accurate 85 than a Zephyr system clock driven by a RC oscillator with a +/- 250 ppm 88 Synchronization or alignment between time scales is done with a multi-step 91 * An instant in a time scale is represented by an (unsigned) 64-bit integer, 102 :c:func:`timeutil_sync_local_from_ref()` convert instants in one time scale [all …]
|
/Zephyr-latest/drivers/sensor/infineon/dps310/ |
D | dps310.c | 6 * SPDX-License-Identifier: Apache-2.0 247 * Convert the bytes from calibration memory to calibration coefficients 254 comp->c0 = (((uint16_t)raw_coef[0]) << 4) + (raw_coef[1] >> 4); in dps310_calib_coeff_creation() 256 if (comp->c0 > POW_2_11_MINUS_1) { in dps310_calib_coeff_creation() 257 comp->c0 = comp->c0 - POW_2_12; in dps310_calib_coeff_creation() 260 comp->c1 = (((uint16_t)(raw_coef[1] & 0x0F)) << 8) + raw_coef[2]; in dps310_calib_coeff_creation() 262 if (comp->c1 > POW_2_11_MINUS_1) { in dps310_calib_coeff_creation() 263 comp->c1 = comp->c1 - POW_2_12; in dps310_calib_coeff_creation() 267 comp->c00 = (((uint32_t)raw_coef[3]) << 12) + (((uint16_t)raw_coef[4]) << 4) + in dps310_calib_coeff_creation() 270 if (comp->c00 > POW_2_19_MINUS_1) { in dps310_calib_coeff_creation() [all …]
|
/Zephyr-latest/drivers/sensor/maxim/max44009/ |
D | max44009.c | 4 * SPDX-License-Identifier: Apache-2.0 22 const struct max44009_config *config = dev->config; in max44009_reg_read() 40 if (i2c_transfer_dt(&config->i2c, msgs, 2) != 0) { in max44009_reg_read() 41 return -EIO; in max44009_reg_read() 50 const struct max44009_config *config = dev->config; in max44009_reg_write() 53 return i2c_write_dt(&config->i2c, tx_buf, sizeof(tx_buf)); in max44009_reg_write() 63 return -EIO; in max44009_reg_update() 81 return -ENOTSUP; in max44009_attr_set() 86 /* convert rate to mHz */ in max44009_attr_set() 87 cr = val->val1 * 1000 + val->val2 / 1000; in max44009_attr_set() [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | gap.h | 8 * SPDX-License-Identifier: Apache-2.0 42 #define BT_DATA_UUID16_SOME 0x02 /**< 16-bit UUID, more available */ 43 #define BT_DATA_UUID16_ALL 0x03 /**< 16-bit UUID, all listed */ 44 #define BT_DATA_UUID32_SOME 0x04 /**< 32-bit UUID, more available */ 45 #define BT_DATA_UUID32_ALL 0x05 /**< 32-bit UUID, all listed */ 46 #define BT_DATA_UUID128_SOME 0x06 /**< 128-bit UUID, more available */ 47 #define BT_DATA_UUID128_ALL 0x07 /**< 128-bit UUID, all listed */ 52 #define BT_DATA_SIMPLE_PAIRING_HASH_C192 0x0e /**< Simple Pairing Hash C-192 */ 53 #define BT_DATA_SIMPLE_PAIRING_RAND_C192 0x0f /**< Simple Pairing Randomizer R-192 */ 58 #define BT_DATA_SOLICIT16 0x14 /**< Solicit UUIDs, 16-bit */ [all …]
|
D | uuid.h | 6 * Copyright (c) 2015-2016 Intel Corporation 8 * SPDX-License-Identifier: Apache-2.0 31 /** UUID type 16-bit. */ 33 /** UUID type 32-bit. */ 35 /** UUID type 128-bit. */ 39 /** Size in octets of a 16-bit UUID */ 42 /** Size in octets of a 32-bit UUID */ 45 /** Size in octets of a 128-bit UUID */ 56 /** UUID value, 16-bit in host endianness. */ 63 /** UUID value, 32-bit in host endianness. */ [all …]
|
/Zephyr-latest/drivers/timer/ |
D | stm32_lptim_timer.c | 5 * SPDX-License-Identifier: Apache-2.0 54 * - system clock based on an LPTIM instance, clocked by LSI or LSE 55 * - prescaler is set to a 2^value from 1 (division of the LPTIM source clock by 1) 57 * - using LPTIM AutoReload capability to trig the IRQ (timeout irq) 58 * - when timeout irq occurs the counter is already reset 59 * - the maximum timeout duration is reached with the lptim_time_base value 60 * - with prescaler of 1, the max timeout (LPTIM_TIMEBASE) is 2 seconds: 62 * - with prescaler of 128, the max timeout (LPTIM_TIMEBASE) is 256 seconds: 88 (COND_CODE_1(CONFIG_SMP, (arch_curr_cpu()->id), (_current_cpu->id))) 212 if (next->state == PM_STATE_SUSPEND_TO_RAM) { in sys_clock_set_timeout() [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | dma.h | 10 * SPDX-License-Identifier: Apache-2.0 122 /** Continuous transfer count between scatter boundaries */ 124 /** Continuous transfer count between gather boundaries */ 137 * - 0b00 increment 138 * - 0b01 decrement 139 * - 0b10 no change 145 * - 0b00 increment 146 * - 0b01 decrement 147 * - 0b10 no change 159 * - 0b0 source request service upon data availability [all …]
|
/Zephyr-latest/drivers/sensor/bosch/bmp581/ |
D | bmp581.c | 5 * SPDX-License-Identifier: Apache-2.0 42 struct bmp581_config *conf = (struct bmp581_config *)dev->config; in set_power_mode() 48 return -EINVAL; in set_power_mode() 61 * mode or continuous mode. in set_power_mode() 64 ret = i2c_reg_read_byte_dt(&conf->i2c, BMP5_REG_ODR_CONFIG, &odr); in set_power_mode() 70 ret = i2c_reg_write_byte_dt(&conf->i2c, BMP5_REG_ODR_CONFIG, odr); in set_power_mode() 88 ret = -ENOTSUP; in set_power_mode() 95 ret = i2c_reg_write_byte_dt(&conf->i2c, BMP5_REG_ODR_CONFIG, odr); in set_power_mode() 99 ret = -EINVAL; in set_power_mode() 108 struct bmp581_config *conf = (struct bmp581_config *)dev->config; in get_power_mode() [all …]
|
/Zephyr-latest/drivers/adc/ |
D | adc_mcux_adc16.c | 2 * Copyright (c) 2017-2018, 2020, NXP 4 * SPDX-License-Identifier: Apache-2.0 45 bool continuous_convert; /* ADC enable continuous convert*/ 82 struct mcux_adc16_data *data = dev->data; in adc_dma_callback() 85 data->buffer++; in adc_dma_callback() 86 adc_context_on_sampling_done(&data->ctx, dev); in adc_dma_callback() 93 const struct mcux_adc16_config *config = dev->config; in adc_hw_trigger_enable() 96 SIM->SOPT7 |= SIM_SOPT7_ADCSET(config->hw_trigger_src, in adc_hw_trigger_enable() 97 config->trg_offset, config->trg_bits) | in adc_hw_trigger_enable() 98 SIM_SOPT7_ADCSET(1, config->alt_offset, config->alt_bits); in adc_hw_trigger_enable() [all …]
|
/Zephyr-latest/drivers/sensor/vishay/veml7700/ |
D | veml7700.c | 5 * SPDX-License-Identifier: Apache-2.0 30 * 16-bit command register addresses 41 * Devicetree psm-mode property value for "PSM disabled" 53 0x0C, /* 25 - 0b1100 */ 54 0x08, /* 50 - 0b1000 */ 55 0x00, /* 100 - 0b0000 */ 56 0x01, /* 200 - 0b0001 */ 57 0x02, /* 400 - 0b0010 */ 58 0x03, /* 800 - 0b0011 */ 62 * Resolution matrix for values to convert between data provided [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-2.6.rst | 13 * 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 …]
|
D | release-notes-1.11.rst | 12 * Thread-level memory protection on x86, ARC and Arm, userspace and memory 15 * Initial Armv8-M architecture support. 20 * Firmware over-the-air (FOTA) updates over BLE using MCUmgr. 32 * SMP-aware scheduler 47 * Armv8-M initial architecture support, including the following cores: 49 * Arm Cortex-M23 50 * Arm Cortex-M33 74 * Refactored dts.fixup so common SoC-related fixes are in arch/<*>/soc 75 and board dts.fixup is only used for board-specific items. 82 * Added I2C master, QSPI flash, and GPIO drivers for nios-II [all …]
|
D | release-notes-2.0.rst | 12 * The kernel now supports both 32- and 64-bit architectures. 17 * We added support for :ref:`Point-to-Point Protocol (PPP) <ppp>`. PPP is a 20 * We added support for UpdateHub, an end-to-end solution for large scale 21 over-the-air device updates. 22 * We added support for ARM Cortex-R Architecture (Experimental). 32 * Fixes CVE-2019-9506: The Bluetooth BR/EDR specification up to and 35 negotiation. This allows practical brute-force attacks (aka "KNOB") 42 * New kernel API for per-thread disabling of Floating Point Services for 43 ARC, ARM Cortex-M, and x86 architectures. 45 * Additional support for compatibility with 64-bit architectures. [all …]
|
D | release-notes-1.14.rst | 17 * CVE-2020-10066 18 * CVE-2020-10069 19 * CVE-2020-13601 20 * CVE-2020-13602 32 * :github:`issuenumber` - issue title 34 * :github:`18334` - DNS resolution is broken for some addresses in master/2.0-pre 35 * :github:`19917` - Bluetooth: Controller: Missing LL_ENC_RSP after HCI LTK Negative Reply 36 * :github:`21107` - LL_ASSERT and 'Imprecise data bus error' in LL Controller 37 * :github:`21257` - tests/net/net_pkt failed on mimxrt1050_evk board. 38 * :github:`21299` - bluetooth: Controller does not release buffer on central side after peripheral … [all …]
|
D | release-notes-3.1.rst | 61 * Split CAN classic and CAN-FD APIs: 90 was moved from Kconfig to :ref:`devicetree <dt-guide>`. 91 See the :dtcompatible:`st,stm32f1-pinctrl` devicetree binding for more information. 141 ``PWM_USEC()`` macros, which convert other units to nanoseconds. 182 * MIPI-DSI 184 * Added a :ref:`MIPI-DSI api <mipi_dsi_api>`. This is an experimental API, 196 * Added support for enabling/disabling CAN-FD mode at runtime using :c:macro:`CAN_MODE_FD`. 220 * Added support for Provisioners over PB-GATT 231 * Implemented ISO-AL TX unframed fragmentation 232 * Added support for back-to-back receiving of PDUs on nRF5x platforms [all …]
|
D | release-notes-2.4.rst | 33 * CVE-2020-10060: UpdateHub Might Dereference An Uninitialized Pointer 34 * CVE-2020-10064: Improper Input Frame Validation in ieee802154 Processing 35 * CVE-2020-10066: Incorrect Error Handling in Bluetooth HCI core 36 * CVE-2020-10072: all threads can access all socket file descriptors 37 * CVE-2020-13598: FS: Buffer Overflow when enabling Long File Names in FAT_FS and calling fs_stat 38 * CVE-2020-13599: Security problem with settings and littlefs 39 * CVE-2020-13601: Under embargo until 2020/11/18 40 * CVE-2020-13602: Remote Denial of Service in LwM2M do_write_op_tlv 50 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 62 * The :c:func:`wdt_feed` function will now return ``-EAGAIN`` if [all …]
|
D | release-notes-3.2.rst | 13 * 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 …]
|
D | release-notes-3.3.rst | 14 * 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 …]
|
/Zephyr-latest/doc/services/logging/ |
D | index.rst | 17 - Deferred logging reduces the time needed to log a message by shifting time 20 - Multiple backends supported (up to 9 backends). 21 - Custom frontend support. It can work together with backends. 22 - Compile time filtering on module level. 23 - Run time filtering independent for each backend. 24 - Additional run time filtering on module instance level. 25 - Timestamping with user provided function. Timestamp can have 32 or 64 bits. 26 - Dedicated API for dumping data. 27 - Dedicated API for handling transient strings. 28 - Panic support - in panic mode logging switches to blocking, synchronous [all …]
|