/Zephyr-latest/dts/bindings/watchdog/ |
D | snps,designware-watchdog.yaml | 3 compatible: "snps,designware-watchdog" 5 include: [base.yaml, reset-device.yaml] 15 clock-frequency: 21 reset-pulse-length: 24 - 2 25 - 4 26 - 8 27 - 16 28 - 32 29 - 64 [all …]
|
D | intel,adsp-watchdog.yaml | 3 compatible: "intel,adsp-watchdog" 15 clock-frequency: 21 reset-pulse-length: 24 - 2 25 - 4 26 - 8 27 - 16 28 - 32 29 - 64 30 - 128 [all …]
|
/Zephyr-latest/drivers/watchdog/ |
D | wdt_dw.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 19 * and programmed based on user-defined options. 21 * The generated interrupt is passed to an interrupt controller. The generated reset is passed to a 22 * reset controller, which in turn generates a reset for the components in the system. The WDT may 23 * be reset independently to the other components. 52 /* Generate a system reset 57 * by the time a second timeout occurs then generate a system reset 62 * Reset pulse length 116 * bits WDT_CNT_WIDTH - 1 to 0 195 * Describes the initial timeout period that is available directly after reset. It controls the [all …]
|
D | wdt_dw_common.h | 1 /* SPDX-License-Identifier: Apache-2.0 */ 49 * Checks device id register and configure a reset pulse length. 52 * @param reset_pulse_length Length of a reset pulse produced by watchdog 61 * @return -ENOTSUP. The hardware does not support disabling.
|
/Zephyr-latest/drivers/sensor/nxp/fxas21002/ |
D | fxas21002.c | 4 * SPDX-License-Identifier: Apache-2.0 26 void *data, size_t length) in fxas21002_transceive() argument 28 const struct fxas21002_config *cfg = dev->config; in fxas21002_transceive() 29 const struct spi_buf buf = { .buf = data, .len = length }; in fxas21002_transceive() 32 return spi_transceive_dt(&cfg->bus_cfg.spi, &s, &s); in fxas21002_transceive() 38 size_t length) in fxas21002_read_spi() argument 40 const struct fxas21002_config *cfg = dev->config; in fxas21002_read_spi() 46 { .buf = data, .len = length } in fxas21002_read_spi() 51 return spi_transceive_dt(&cfg->bus_cfg.spi, &tx, &rx); in fxas21002_read_spi() 106 size_t length) in fxas21002_read_i2c() argument [all …]
|
/Zephyr-latest/drivers/mipi_dbi/ |
D | mipi_dbi_nxp_lcdic.c | 4 * SPDX-License-Identifier: Apache-2.0 43 /* Limit imposed by size of data length field in LCDIC command */ 45 /* Max reset width (in terms of Timer0_Period, see RST_CTRL register) */ 47 /* Max reset pulse count */ 53 /* Data length in bytes. LCDIC transfers data_len + 1 */ 153 const struct mipi_dbi_lcdic_config *config = dev->config; in mipi_dbi_lcdic_reset_state() 154 LCDIC_Type *base = config->base; in mipi_dbi_lcdic_reset_state() 156 base->CTRL &= ~LCDIC_CTRL_LCDIC_EN_MASK; in mipi_dbi_lcdic_reset_state() 158 base->CTRL |= LCDIC_CTRL_LCDIC_EN_MASK; in mipi_dbi_lcdic_reset_state() 168 const struct mipi_dbi_lcdic_config *config = dev->config; in mipi_dbi_lcdic_start_dma() [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | w1.h | 5 * SPDX-License-Identifier: Apache-2.0 10 * @brief Public 1-Wire Driver APIs 27 * @brief 1-Wire Interface 28 * @defgroup w1_interface 1-Wire Interface 46 (FOR_EACH(F1, (+), DT_SUPPORTS_DEP_ORDS(node_id)) - 1) 53 * @brief Defines the 1-Wire master settings types, which are runtime configurable. 74 /** Configuration common to all 1-Wire master implementations. */ 80 /** Data common to all 1-Wire master implementations. */ 118 struct w1_master_data *ctrl_data = (struct w1_master_data *)dev->data; in z_impl_w1_change_bus_lock() 119 const struct w1_driver_api *api = (const struct w1_driver_api *)dev->api; in z_impl_w1_change_bus_lock() [all …]
|
D | mipi_dbi.h | 4 * SPDX-License-Identifier: Apache-2.0 9 * @brief Public APIs for MIPI-DBI drivers 11 * MIPI-DBI defines the following 3 interfaces: 25 * @brief MIPI-DBI driver APIs 26 * @defgroup mipi_dbi_interface MIPI-DBI driver APIs 37 #include <zephyr/dt-bindings/mipi_dbi/mipi_dbi.h> 152 /** MIPI-DBI host driver API */ 165 int (*reset)(const struct device *dev, k_timeout_t delay); member 177 * If data buffer and buffer length are NULL and 0 respectively, then 188 * @retval -EIO I/O error [all …]
|
/Zephyr-latest/drivers/sensor/nxp/fxos8700/ |
D | fxos8700.c | 5 * SPDX-License-Identifier: Apache-2.0 19 #define RANGE2FS(x) (__builtin_ctz(x) - 1) 27 void *data, size_t length) in fxos8700_transceive() argument 29 const struct fxos8700_config *cfg = dev->config; in fxos8700_transceive() 30 const struct spi_buf buf = { .buf = data, .len = length }; in fxos8700_transceive() 33 return spi_transceive_dt(&cfg->bus_cfg.spi, &s, &s); in fxos8700_transceive() 39 size_t length) in fxos8700_read_spi() argument 41 const struct fxos8700_config *cfg = dev->config; in fxos8700_read_spi() 47 { .buf = data, .len = length } in fxos8700_read_spi() 52 return spi_transceive_dt(&cfg->bus_cfg.spi, &tx, &rx); in fxos8700_read_spi() [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 */ 117 * Receiver Auto-Re-enable. 118 * This bit is used to cause the receiver to re-enable automatically 126 /* System Time Counter (40-bit) */ 138 /* Bit mask to access Transmit Frame Length */ 140 /* Bit mask to access Transmit Frame Length Extension */ [all …]
|
D | ieee802154_dw1000.c | 4 * SPDX-License-Identifier: Apache-2.0 79 uint8_t rx_ns_sfd; /* non-standard SFD */ 81 * (tx_shr_nsync + 1 + SFD_length - rx_pac_l) 136 .rx_sfd_to = (129 + 8 - 8), 158 struct dwt_context *ctx = dev->data; in dwt_spi_read() 159 const struct dwt_hi_cfg *hi_cfg = dev->config; in dwt_spi_read() 183 LOG_DBG("spi read, header length %u, data length %u", in dwt_spi_read() 187 if (spi_transceive(hi_cfg->bus.bus, ctx->spi_cfg, &tx, &rx)) { in dwt_spi_read() 189 return -EIO; in dwt_spi_read() 202 struct dwt_context *ctx = dev->data; in dwt_spi_write() [all …]
|
/Zephyr-latest/drivers/pwm/ |
D | pwm_mcux_sctimer.c | 4 * SPDX-License-Identifier: Apache-2.0 46 const struct pwm_mcux_sctimer_config *config = dev->config; in mcux_sctimer_new_channel() 47 struct pwm_mcux_sctimer_data *data = dev->data; in mcux_sctimer_new_channel() 51 data->match_period = period_cycles; in mcux_sctimer_new_channel() 53 if (clock_control_get_rate(config->clock_dev, config->clock_subsys, in mcux_sctimer_new_channel() 55 return -EINVAL; in mcux_sctimer_new_channel() 58 pwm_freq = (clock_freq / config->prescale) / period_cycles; in mcux_sctimer_new_channel() 62 return -EINVAL; in mcux_sctimer_new_channel() 65 SCTIMER_StopTimer(config->base, kSCTIMER_Counter_U); in mcux_sctimer_new_channel() 68 data->channel[channel].dutyCyclePercent = duty_cycle; in mcux_sctimer_new_channel() [all …]
|
/Zephyr-latest/drivers/display/ |
D | display_stm32_ltdc.c | 2 * Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com> 6 * SPDX-License-Identifier: Apache-2.0 20 #include <zephyr/drivers/reset.h> 28 /* Horizontal synchronization pulse polarity */ 32 /* Vertical synchronization pulse polarity */ 36 /* Data enable pulse polarity */ 77 const struct reset_dt_spec reset; member 85 struct display_stm32_ltdc_data *data = dev->data; in stm32_ltdc_global_isr() 87 if (__HAL_LTDC_GET_FLAG(&data->hltdc, LTDC_FLAG_LI) && in stm32_ltdc_global_isr() 88 __HAL_LTDC_GET_IT_SOURCE(&data->hltdc, LTDC_IT_LI)) { in stm32_ltdc_global_isr() [all …]
|
/Zephyr-latest/tests/drivers/build_all/sensor/ |
D | i2c.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/sensor/lsm6dsv16x.h> 10 #include <zephyr/dt-bindings/sensor/lsm6dso.h> 11 #include <zephyr/dt-bindings/sensor/lsm6dso16is.h> 12 #include <zephyr/dt-bindings/sensor/lps22hh.h> 13 #include <zephyr/dt-bindings/sensor/lps2xdf.h> 14 #include <zephyr/dt-bindings/sensor/lis2ds12.h> 15 #include <zephyr/dt-bindings/sensor/lis2dw12.h> 16 #include <zephyr/dt-bindings/sensor/ism330dhcx.h> 17 #include <zephyr/dt-bindings/sensor/iis2dlpc.h> [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.0.rst | 22 * CVE-2021-3835: `Zephyr project bug tracker GHSA-fm6v-8625-99jf 23 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-fm6v-8625-99jf>`_ 25 * CVE-2021-3861: `Zephyr project bug tracker GHSA-hvfp-w4h8-gxvj 26 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hvfp-w4h8-gxvj>`_ 28 * CVE-2021-3966: `Zephyr project bug tracker GHSA-hfxq-3w6x-fv2m 29 <https://github.com/zephyrproject-rtos/zephyr/security/advisories/GHSA-hfxq-3w6x-fv2m>`_ 36 <https://github.com/zephyrproject-rtos/zephyr/issues?q=is%3Aissue+is%3Aopen+label%3Abug>`_. 53 * Added ``ranges`` and ``dma-ranges`` as invalid property to be used with DT_PROP_LEN() 58 CRC-16-ANSI checksum. A new function, :c:func:`crc16_reflect`, has been 69 * The following Kconfig options related to radio front-end modules (FEMs) were [all …]
|
D | release-notes-2.3.rst | 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 39 * CVE-2020-10062: Packet length decoding error in MQTT 40 * CVE-2020-10063: Remote Denial of Service in CoAP Option Parsing Due 42 * CVE-2020-10068: In the Zephyr project Bluetooth subsystem, certain [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 33 including version 5.1 permits sufficiently low encryption key length 34 and does not prevent an attacker from influencing the key length 35 negotiation. This allows practical brute-force attacks (aka "KNOB") 42 * New kernel API for per-thread disabling of Floating Point Services for [all …]
|
D | release-notes-2.5.rst | 27 * 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>`_. 54 ``args_len`` parameter to indicate the length of the ``args`` data. 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. [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-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 …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_stm32_ospi.c | 5 * SPDX-License-Identifier: Apache-2.0 20 #include <zephyr/dt-bindings/flash_controller/ospi.h> 71 /* Max Time value during reset or erase operation */ 150 const struct gpio_dt_spec reset; member 187 struct flash_stm32_ospi_data *dev_data = dev->data; in ospi_lock_thread() 189 k_sem_take(&dev_data->sem, K_FOREVER); in ospi_lock_thread() 194 struct flash_stm32_ospi_data *dev_data = dev->data; in ospi_unlock_thread() 196 k_sem_give(&dev_data->sem); in ospi_unlock_thread() 201 const struct flash_stm32_ospi_config *dev_cfg = dev->config; in ospi_send_cmd() 202 struct flash_stm32_ospi_data *dev_data = dev->data; in ospi_send_cmd() [all …]
|
D | nrf_qspi_nor.c | 2 * Copyright (c) 2019-2024, Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 69 #error "No size specified. 'size' or 'size-in-bytes' must be set" 73 "Node " DT_NODE_PATH(DT_DRV_INST(0)) " has both size and size-in-bytes " 80 * frequencies 2 - 32 MHz and the nRF53 one supports 6 - 96 MHz. 108 INST_0_SCK_FREQUENCY) - 1) 121 INST_0_SCK_FREQUENCY) - 1) 140 INST_0_SCK_FREQUENCY) - 1) 178 … "Driver only supports NONE, S1B6, S2B1v1, S2B1v4, S2B1v5 or S2B1v6 for quad-enable-requirements"); 199 * @param len is the length of the data to be handled. [all …]
|
/Zephyr-latest/soc/nuvoton/npcx/common/reg/ |
D | reg_def.h | 4 * SPDX-License-Identifier: Apache-2.0 20 * must meet the alignment requirement of cortex-m4. 21 * DO NOT use 'packed' attribute if module contains different length ie. 33 * risk of unexpected compiling results if module contains different length 44 __ASSERT(reg == val, "16-bit reg access failed!"); \ 50 __ASSERT(reg == val, "32-bit reg access failed!"); \ 90 /* 0x102: High-Frequency Reference Divisor I */ 92 /* 0x104: High-Frequency Reference Divisor F */ 127 /* 0x008 - 0D: Power-Down Control 1 - 6 */ 130 /* 0x020 - 21: Power-Down Control 1 - 2 */ [all …]
|