/Zephyr-latest/dts/bindings/bluetooth/ |
D | zephyr,bt-hci-spi.yaml | 1 # Copyright (c) 2018, I-SENSE group of ICCS 2 # SPDX-License-Identifier: Apache-2.0 5 Bluetooth module that uses Zephyr's Bluetooth Host Controller Interface SPI 8 compatible: "zephyr,bt-hci-spi" 10 include: [spi-device.yaml, bt-hci.yaml] 13 irq-gpios: 14 type: phandle-array 17 reset-gpios: 18 type: phandle-array 21 reset-assert-duration-ms: [all …]
|
/Zephyr-latest/samples/drivers/auxdisplay/boards/ |
D | esp_wrover_kit.overlay | 9 gpio-controller; 11 #gpio-cells = <2>; 21 boot-delay-ms = <100>; 22 enable-line-rise-delay-us = <1000>; 23 enable-line-fall-delay-us = <500>; 24 register-select-gpios = <&aux_display_gpio 0 (GPIO_ACTIVE_HIGH)>; 25 read-write-gpios = <&aux_display_gpio 1 (GPIO_ACTIVE_HIGH)>; 26 enable-gpios = <&aux_display_gpio 2 (GPIO_ACTIVE_HIGH)>; 27 backlight-gpios = <&aux_display_gpio 3 (GPIO_ACTIVE_HIGH)>; 28 data-bus-gpios = <0>, <0>, <0>, <0>,
|
/Zephyr-latest/dts/bindings/input/ |
D | st,stmpe811.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: STMPE811 I2C touchscreen controller 8 include: [i2c-device.yaml, touchscreen-common.yaml] 11 int-gpios: 12 type: phandle-array 14 Interrupt GPIO. Used by the controller to signal touch data is 17 raw-x-min: 23 raw-y-min: 29 raw-x-max: 35 raw-y-max: [all …]
|
/Zephyr-latest/drivers/led_strip/ |
D | Kconfig.ws2812 | 4 # SPDX-License-Identifier: Apache-2.0 8 # https://wp.josh.com/2014/05/13/ws2812-neopixels-are-not-so-finicky-once-you-get-to-know-them/ 18 memory (1 byte of overhead per bit of pixel data). 29 delay. The reset delay has a coarse resolution of ~20us. 33 # Only an Cortex-M inline assembly implementation for the nRF91, nRF51, 41 controlling with GPIO. The GPIO driver does bit-banging with inline 45 controller. 49 DT_CHOSEN_LED_STRIP := zephyr,led-strip 53 int "Delay 1 bit high pulse" 54 default $(dt_node_int_prop_int,$(DT_CHOSEN_LED_STRIP_PATH),delay-t1h) \ [all …]
|
/Zephyr-latest/drivers/bluetooth/hci/ |
D | spi.c | 1 /* spi.c - SPI based Bluetooth driver */ 8 * SPDX-License-Identifier: Apache-2.0 54 #define SPI_MAX_MSG_LEN 255 /* As defined by X-NUCLEO-IDB04A1 BSP */ 62 #define MAX_MTU (SPI_MAX_MSG_LEN - H4_HDR_SIZE - BT_L2CAP_HDR_SIZE - BT_HCI_ACL_HDR_SIZE) 156 return -EINVAL; in bt_spi_get_header() 168 /* When reading, keep looping if there is not yet any data */ in bt_spi_get_header() 244 struct bt_spi_data *hci = dev->data; in bt_spi_rx_thread() 265 /* Delay here is rounded up to next tick */ in bt_spi_rx_thread() 267 /* Read data */ in bt_spi_rx_thread() 273 /* Consider increasing controller-data-delay-us in bt_spi_rx_thread() [all …]
|
/Zephyr-latest/drivers/adc/ |
D | adc_ite_it8xxx2.c | 4 * SPDX-License-Identifier: Apache-2.0 32 /* ADC sample time delay (Unit:us) */ 38 #define ADC_CHANNEL_OFFSET(ch) ((ch)-CHIP_ADC_CH13-ADC_CHANNEL_SHIFT) 98 uint8_t channel_id = channel_cfg->channel_id; in adc_it8xxx2_channel_setup() 100 if (channel_cfg->acquisition_time != ADC_ACQ_TIME_DEFAULT) { in adc_it8xxx2_channel_setup() 102 return -EINVAL; in adc_it8xxx2_channel_setup() 109 return -EINVAL; in adc_it8xxx2_channel_setup() 114 channel_id -= ADC_CHANNEL_SHIFT; in adc_it8xxx2_channel_setup() 117 if (channel_cfg->gain != ADC_GAIN_1) { in adc_it8xxx2_channel_setup() 119 return -EINVAL; in adc_it8xxx2_channel_setup() [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/dts/bindings/gpio/ |
D | adi,max22190-gpio.yaml | 3 # SPDX-License-Identifier: Apache-2.0 10 filter-wbes = <CH0 CH1 CH2 ... CH7 > for wire break 12 filter-fbps and filter-delays. 16 pinctrl-names = "default"; 18 compatible = "adi,max22190-gpio"; 21 spi-max-frequency = <1000000>; 24 gpio-controller; 25 #gpio-cells = <2>; 29 max22190-mode = <1>; // modes range from 0-4 31 drdy-gpios = <&gpioj 12 GPIO_ACTIVE_LOW>; /* SDP-GPIO5 - PMOD-PIN8 */ [all …]
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_mchp_xec_v2.c | 5 * SPDX-License-Identifier: Apache-2.0 25 #include "i2c-priv.h" 47 /* I2C recovery bit bang delay */ 49 /* I2C recovery SCL sample delay */ 112 * i2c_baud_clk_period/bus_clk_period - 2 = (low_period + hi_period) 113 * bus_clk_reg (16MHz/100KHz -2) = 0x4F + 0x4F 114 * (16MHz/400KHz -2) = 0x0F + 0x17 115 * (16MHz/1MHz -2) = 0x05 + 0x09 144 (const struct i2c_xec_config *const) (dev->config); in i2c_ctl_wr() 145 struct i2c_xec_data *data = in i2c_ctl_wr() local [all …]
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | renesas,smartbond-nor-psram.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 description: Renesas Smartbond(tm) NOR/PSRAM controller 8 compatible: "renesas,smartbond-nor-psram" 14 is-ram: 17 If present, the memory controller will be configured to drive PSRAM devices. 19 dev-size: 25 dev-type: 31 dev-density: 40 dev-id: 46 reset-delay-us: [all …]
|
/Zephyr-latest/drivers/ethernet/ |
D | eth_w5500_priv.h | 1 /* W5500 Stand-alone Ethernet Controller with SPI 6 * SPDX-License-Identifier: Apache-2.0 23 #define MR_AI 0x02 /* Address Auto-Increment */ 52 #define S0_IR_RECV 0x04 /* receiving data */ 67 #define W5500_RTR 0x0019 /* Retry Time-value Register */ 80 /* Delay for PHY write/read operations (25.6 us) */
|
/Zephyr-latest/dts/arm/renesas/smartbond/ |
D | da1469x.dtsi | 3 * SPDX-License-Identifier: Apache-2.0 6 #include <arm/armv8-m.dtsi> 9 #include <zephyr/dt-bindings/gpio/gpio.h> 10 #include <zephyr/dt-bindings/adc/smartbond-adc.h> 11 #include <zephyr/dt-bindings/pinctrl/smartbond-pinctrl.h> 12 #include <zephyr/dt-bindings/dma/dma_smartbond.h> 17 zephyr,flash-controller = &flash_controller; 21 compatible = "zephyr,lvgl-pointer-input"; 25 #address-cells = <1>; 26 #size-cells = <0>; [all …]
|
/Zephyr-latest/include/zephyr/bluetooth/ |
D | iso.h | 8 * Copyright (c) 2021-2024 Nordic Semiconductor ASA 10 * SPDX-License-Identifier: Apache-2.0 64 * As a general notation, to sync to BIS index N use BIT(N - 1). 66 #define BT_ISO_BIS_INDEX_BIT(x) (BIT((x) - 1)) 68 /** Value to set the ISO data path over HCi. */ 121 /** Controller controlled maximum subevent count value */ 141 /** Minimum pre-transmission offset */ 143 /** Maximum pre-transmission offset */ 159 * @brief Life-span states of ISO channel. Used only by internal APIs dealing with setting channel 222 * @brief Channel PHY - See the BT_GAP_LE_PHY_* values. [all …]
|
D | conn.h | 6 * Copyright (c) 2015-2016 Intel Corporation 8 * SPDX-License-Identifier: Apache-2.0 73 * Connection Interval: 30-50 ms 148 /** Connection data length information for LE connections */ 152 /** Maximum Link Layer transmission payload time in us. */ 156 /** Maximum Link Layer reception payload time in us. */ 160 /** Connection data length parameters for LE connections */ 164 /** Maximum Link Layer transmission payload time in us. */ 168 /** Initialize transmit data length parameters 171 * @param _tx_max_time Maximum Link Layer transmission payload time in us. [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ll_sw/nordic/hal/nrf5/radio/ |
D | radio.c | 2 * Copyright (c) 2016 - 2020 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/gpio/gpio.h> 29 /* Converts the GPIO controller in a FEM property's GPIO specification 33 * controller has the right compatible wherever you use this. 84 /* These headers require the above gpiote-related variables to be declared. */ 131 NRF_DT_CHECK_GPIO_CTLR_IS_SOC(FEM_NODE, pdn_gpios, "pdn-gpios"); 140 /* CTEINLINE S0_MASK for data channel PDUs. It points to CP bit in S0 byte to check if is it set 171 NRF_GPIO_PA->DIRSET = BIT(NRF_GPIO_PA_PIN); in radio_setup() 173 NRF_GPIO_PA->OUTSET = BIT(NRF_GPIO_PA_PIN); in radio_setup() [all …]
|
D | radio_nrf5_dppi.h | 2 * Copyright (c) 2018 - 2020 Nordic Semiconductor ASA 5 * SPDX-License-Identifier: Apache-2.0 173 /* When hardware does not support Coded PHY we still allow the Controller 174 * implementation to accept Coded PHY flags, but the Controller will use 1M 193 * PPI channel HAL_TRIGGER_CRYPT_DELAY_PPI is also used for HAL_TRIGGER- 197 * EEP: RADIO->EVENTS_BCMATCH 198 * TEP: CCM->TASKS_CRYPT 202 /* Configure Bit counter to trigger EVENTS_BCMATCH for CCM_TASKS_CRYPT- in hal_trigger_crypt_by_bcmatch_ppi_config() 204 * received data in memory before the CCM TASKS_CRYPT starts. This in hal_trigger_crypt_by_bcmatch_ppi_config() 206 * data. in hal_trigger_crypt_by_bcmatch_ppi_config() [all …]
|
/Zephyr-latest/drivers/flash/ |
D | flash_ite_it8xxx2.c | 4 * SPDX-License-Identifier: Apache-2.0 19 #include <zephyr/linker/linker-defs.h> 36 * One page program instruction allows maximum 256 bytes (a page) of data 50 * ILM(ILM -> CPU)instead of flash(flash -> I-Cache -> CPU) if enabled. 71 /* Set FSCE# as low level by writing data to address xfff_fd00h */ 98 /* I-Cache tag sram reset */ in ramcode_reset_i_cache() 99 gctrl_regs->GCTRL_MCCR |= IT8XXX2_GCTRL_ICACHE_RESET; in ramcode_reset_i_cache() 100 /* Make sure the I-Cache is reset */ in ramcode_reset_i_cache() 103 gctrl_regs->GCTRL_MCCR &= ~IT8XXX2_GCTRL_ICACHE_RESET; in ramcode_reset_i_cache() 111 * ECINDAR3-0 are EC-indirect memory address registers. in ramcode_flash_follow_mode() [all …]
|
/Zephyr-latest/include/zephyr/drivers/i3c/ |
D | ccc.h | 5 * SPDX-License-Identifier: Apache-2.0 111 * Data Transfer Ending Procedure Control 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) */ 206 /** Get Accept Controller Role (Direct) */ 212 /** Get Max Data Speed (Direct) */ [all …]
|
/Zephyr-latest/drivers/input/ |
D | input_gt911.c | 6 * SPDX-License-Identifier: Apache-2.0 52 /** GT911 data. */ 82 * Device-specific wrappers around i2c_write_dt and i2c_write_read_dt. 88 const struct gt911_config *config = dev->config; in gt911_i2c_write() 89 struct gt911_data *data = dev->data; in gt911_i2c_write() local 91 return i2c_write(config->bus.bus, buf, num_bytes, data->actual_address); in gt911_i2c_write() 97 const struct gt911_config *config = dev->config; in gt911_i2c_write_read() 98 struct gt911_data *data = dev->data; in gt911_i2c_write_read() local 100 return i2c_write_read(config->bus.bus, data->actual_address, write_buf, num_write, read_buf, in gt911_i2c_write_read() 131 * Note- since we program the max number of touch inputs during init, in gt911_process() [all …]
|
/Zephyr-latest/drivers/mspi/ |
D | mspi_ambiq_ap3.c | 4 * SPDX-License-Identifier: Apache-2.0 91 LOG_INST_ERR(cfg->log, "%u,Frequency not supported!", __LINE__); in mspi_set_freq() 105 LOG_INST_ERR(cfg->log, "%u, incorrect data rate, only SDR is supported.", __LINE__); in mspi_set_line() 188 if (ctx->owner) { in mspi_context_ce_control() 189 if (ctx->xfer.hold_ce && in mspi_context_ce_control() 190 ctx->xfer.ce_sw_ctrl.gpio.port != NULL) { in mspi_context_ce_control() 192 gpio_pin_set_dt(&ctx->xfer.ce_sw_ctrl.gpio, 1); in mspi_context_ce_control() 193 k_busy_wait(ctx->xfer.ce_sw_ctrl.delay); in mspi_context_ce_control() 195 k_busy_wait(ctx->xfer.ce_sw_ctrl.delay); in mspi_context_ce_control() 196 gpio_pin_set_dt(&ctx->xfer.ce_sw_ctrl.gpio, 0); in mspi_context_ce_control() [all …]
|
/Zephyr-latest/drivers/sdhc/ |
D | imx_usdhc.c | 4 * SPDX-License-Identifier: Apache-2.0 101 struct usdhc_data *data = dev->data; in transfer_complete_cb() local 104 data->transfer_status |= TRANSFER_DATA_FAILED; in transfer_complete_cb() 106 data->transfer_status |= TRANSFER_DATA_COMPLETE; in transfer_complete_cb() 108 data->transfer_status |= TRANSFER_CMD_FAILED; in transfer_complete_cb() 110 data->transfer_status |= TRANSFER_CMD_COMPLETE; in transfer_complete_cb() 112 k_sem_give(&data->transfer_sem); in transfer_complete_cb() 119 struct usdhc_data *data = dev->data; in sdio_interrupt_cb() local 121 if (data->sdhc_cb) { in sdio_interrupt_cb() 122 data->sdhc_cb(dev, SDHC_INT_SDIO, data->sdhc_cb_user_data); in sdio_interrupt_cb() [all …]
|
/Zephyr-latest/doc/releases/ |
D | release-notes-3.5.rst | 20 * Bluetooth: improvements to the Controller, Audio, Mesh, as well as the host stack 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 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 [all …]
|
/Zephyr-latest/drivers/espi/ |
D | espi_saf_mchp_xec.c | 5 * SPDX-License-Identifier: Apache-2.0 20 /* SAF EC Portal read/write flash access limited to 1-64 bytes */ 26 /* 64 bytes @ 24MHz quad is approx. 6 us */ 39 * SAF controller register block base address 40 * QMSPI controller register block base address 44 * Delay before first Poll-1 command after suspend in 20 ns units 46 * Add delay between Poll STATUS1 commands in 20 ns units. 75 regs->SAF_CS_OP[cs].OP_DESCR = val; in mchp_saf_cs_descr_wr() 83 regs->SAF_CS0_CFG_P2M = val; in mchp_saf_poll2_mask_wr() 85 regs->SAF_CS1_CFG_P2M = val; in mchp_saf_poll2_mask_wr() [all …]
|
/Zephyr-latest/samples/bluetooth/cap_acceptor/src/ |
D | cap_acceptor_unicast.c | 4 * Copyright (c) 2021-2024 Nordic Semiconductor ASA 7 * SPDX-License-Identifier: Apache-2.0 49 static bool log_codec_cfg_cb(struct bt_data *data, void *user_data) in log_codec_cfg_cb() argument 53 LOG_DBG("\t%s: type 0x%02x value_len %u", str, data->type, data->data_len); in log_codec_cfg_cb() 54 LOG_HEXDUMP_DBG(data->data, data->data_len, "\t\tdata"); in log_codec_cfg_cb() 61 LOG_INF("codec_cfg 0x%02x cid 0x%04x vid 0x%04x count %u", codec_cfg->id, codec_cfg->cid, in log_codec_cfg() 62 codec_cfg->vid, codec_cfg->data_len); in log_codec_cfg() 64 if (codec_cfg->id == BT_HCI_CODING_FORMAT_LC3) { in log_codec_cfg() 68 /* LC3 uses the generic LTV format - other codecs might do as well */ in log_codec_cfg() 70 bt_audio_data_parse(codec_cfg->data, codec_cfg->data_len, log_codec_cfg_cb, "data"); in log_codec_cfg() [all …]
|
/Zephyr-latest/subsys/bluetooth/controller/ |
D | Kconfig.ll_sw_split | 1 # Zephyr Bluetooth Controller configuration options 3 # Copyright (c) 2016-2017 Nordic Semiconductor ASA 4 # SPDX-License-Identifier: Apache-2.0 98 # Zephyr's BLE Controller. 120 # Hidden, Controller's Co-Operative high priority Rx thread stack size. 125 # Hidden, Controller's Co-Operative Rx thread stack size. 133 Enable use of settings system in controller. 139 Make the controller's Company Id and Subversion Number configurable 143 hex "Controller Company Id" 150 Company Identifier for the controller. The full list of Bluetooth [all …]
|