/Zephyr-latest/dts/bindings/auxdisplay/ |
D | hit,hd44780.yaml | 4 # SPDX-License-Identifier: Apache-2.0 11 include: [auxdisplay-device.yaml] 14 mode: 17 description: Operating mode of display, 8-bit or 4 for 4-bit mode 19 - 4 20 - 8 22 register-select-gpios: 23 type: phandle-array 27 read-write-gpios: 28 type: phandle-array [all …]
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | st,stm32-fmc-nor-psram.yaml | 2 # SPDX-License-Identifier: Apache-2.0 11 - 8 bits 12 - 16 bits 13 - 32 bits 15 - Asynchronous mode 16 - Burst mode for synchronous accesses with configurable option to split burst 18 - Multiplexed or non-multiplexed 20 - Asynchronous mode 21 - Burst mode for synchronous accesses 22 - Multiplexed or non-multiplexed [all …]
|
/Zephyr-latest/doc/connectivity/networking/api/ |
D | promiscuous.rst | 3 Promiscuous Mode 13 Promiscuous mode is a mode for a network interface controller that 16 to receive. This mode is normally used for packet sniffing as used 19 `Wikipedia article on promiscuous mode 22 The network promiscuous APIs are used to enable and disable this mode, 23 and to wait for and receive a network data to arrive. Not all network 24 technologies or network device drivers support promiscuous mode. 29 First the promiscuous mode needs to be turned ON by the application like this: 31 .. code-block:: c 35 if (ret == -EALREADY) { [all …]
|
/Zephyr-latest/dts/bindings/pwm/ |
D | nxp,imx-pwm.yaml | 2 # SPDX-License-Identifier: Apache-2.0 6 compatible: "nxp,imx-pwm" 8 include: [pwm-controller.yaml, pinctrl-device.yaml, base.yaml] 19 run-in-wait: 22 Enable for PWM to keep running in WAIT mode. 24 run-in-debug: 27 Enable for PWM to keep running in debug mode. 39 - "immediate" 40 - "half-cycle" 41 - "full-cycle" [all …]
|
/Zephyr-latest/dts/bindings/mipi-dbi/ |
D | mipi-dbi-device.yaml | 1 # Copyright 2023-2024 NXP 2 # SPDX-License-Identifier: Apache-2.0 4 # Common fields for MIPI-DBI devices 8 on-bus: mipi-dbi 11 mipi-max-frequency: 15 mipi-mode: 18 MIPI DBI mode in use. These definitions should match those in 19 dt-bindings/mipi_dbi/mipi_dbi.h 21 - "MIPI_DBI_MODE_SPI_3WIRE" 22 - "MIPI_DBI_MODE_SPI_4WIRE" [all …]
|
/Zephyr-latest/dts/bindings/sensor/ |
D | ams,tmd2620.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: [sensor-device.yaml, i2c-device.yaml] 11 int-gpios: 12 type: phandle-array 15 The interrupt pin of TMD2620 is open-drain, active low. 17 as pull-up, active low. 19 proximity-gain: 24 - 1 25 - 2 26 - 4 [all …]
|
/Zephyr-latest/soc/nxp/imxrt/imxrt10xx/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 7 * sleep mode must be defined within this file, or linked to RAM. 28 * normal/full speed mode, low speed mode, and low power mode. 35 __ASSERT_NO_MSG(callbacks && callbacks->clock_set_run && callbacks->clock_set_low_power); in imxrt_clock_pm_callbacks_register() 36 lpm_clock_hooks.clock_set_run = callbacks->clock_set_run; in imxrt_clock_pm_callbacks_register() 37 lpm_clock_hooks.clock_set_low_power = callbacks->clock_set_low_power; in imxrt_clock_pm_callbacks_register() 38 if (callbacks->clock_lpm_init) { in imxrt_clock_pm_callbacks_register() 39 lpm_clock_hooks.clock_lpm_init = callbacks->clock_lpm_init; in imxrt_clock_pm_callbacks_register() 43 static void lpm_set_sleep_mode_config(clock_mode_t mode) in lpm_set_sleep_mode_config() argument 50 * ERR050143: CCM: When improper low-power sequence is used, in lpm_set_sleep_mode_config() [all …]
|
/Zephyr-latest/soc/st/stm32/stm32wb0x/ |
D | soc.c | 4 * SPDX-License-Identifier: Apache-2.0 63 "smps-bom must be specified"); 95 /* Wait for SMPS to turn off */ in configure_smps() 101 /* Configure low-power mode */ in configure_smps() 104 /* Enable SMPS */ in configure_smps() 108 /* Wait for SMPS to turn on */ in configure_smps() 111 /* Place SMPS in PRECHARGE (BYPASS) mode. in configure_smps() 117 /* Wait for SMPS to enter PRECHARGE mode */ in configure_smps() 123 * SMPS should remain in PRECHARGE mode. in configure_smps() 132 * SMPS mode requested is RUN mode. Configure the output in configure_smps() [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | promiscuous.h | 2 * @brief Network interface promiscuous mode support 11 * SPDX-License-Identifier: Apache-2.0 18 * @brief Promiscuous mode support. 19 * @defgroup promiscuous Promiscuous mode 34 * @brief Start to wait received network packets. 36 * @param timeout How long to wait before returning. 52 * @brief Enable promiscuous mode for a given network interface. 65 return -ENOTSUP; in net_promisc_mode_on() 70 * @brief Disable promiscuous mode for a given network interface. 83 return -ENOTSUP; in net_promisc_mode_off()
|
/Zephyr-latest/drivers/can/ |
D | Kconfig.mcux | 4 # SPDX-License-Identifier: Apache-2.0 13 Enable support for the NXP FlexCAN driver. 22 Enable support for CAN FD capable NXP FlexCAN devices. 25 int "Maximum number of wait loop iterations" 28 Maximum number of wait loop iterations for the MCUX FlexCAN HAL when entering/leaving 29 freeze mode. 66 Enable support for mcux mcan driver.
|
/Zephyr-latest/soc/st/stm32/stm32wbax/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 38 /* Wait until ICACHE_SR.BUSYF is cleared */ in disable_cache() 42 /* Wait until ICACHE_SR.BSYENDF is set */ in disable_cache() 54 * Disabling ICACHE is required before entering stop mode in set_mode_stop() 68 case 1: /* enter STOP0 mode */ in set_mode_stop() 71 case 2: /* enter STOP1 mode */ in set_mode_stop() 75 LOG_DBG("Unsupported power state substate-id %u", substate_id); in set_mode_stop() 88 /* Select mode entry : WFE or WFI and enter the CPU selected mode */ in suspend_to_ram() 96 /* Enable SRAM full retention */ in set_mode_suspend_to_ram() 100 /* Enable RTC wakeup in set_mode_suspend_to_ram() [all …]
|
/Zephyr-latest/soc/st/stm32/stm32u5x/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 23 /* select MSI as wake-up system clock if configured, HSI otherwise */ 35 /* Clear all wake-up flags */ in pwr_stop3_isr() 46 /* Wait until ICACHE_SR.BUSYF is cleared */ in disable_cache() 50 /* Wait until ICACHE_SR.BSYENDF is set */ in disable_cache() 58 /* ensure the proper wake-up system clock */ in set_mode_stop() 62 case 1: /* enter STOP0 mode */ in set_mode_stop() 65 case 2: /* enter STOP1 mode */ in set_mode_stop() 68 case 3: /* enter STOP2 mode */ in set_mode_stop() 72 case 4: /* enter STOP3 mode */ in set_mode_stop() [all …]
|
/Zephyr-latest/drivers/sensor/ams/tsl2591/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 5 bool "OSRAM-AMS TSL2591 light sensor" 10 Enable driver for TSL2591 sensor. 14 bool "Wait for valid sensor reading before fetch" 16 If set, the driver will automatically wait for the duration of an integration cycle 29 prompt "Trigger mode" 40 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_AMS_TSL2591),int-gpios) 46 depends on $(dt_compat_any_has_prop,$(DT_COMPAT_AMS_TSL2591),int-gpios)
|
/Zephyr-latest/drivers/i2c/ |
D | i2c_rcar.c | 4 * SPDX-License-Identifier: Apache-2.0 20 #include "i2c-priv.h" 40 #define RCAR_I2C_ICSIER 0x10 /* Slave IRQ Enable */ 41 #define RCAR_I2C_ICMIER 0x14 /* Master IRQ Enable */ 55 #define RCAR_I2C_ICMCR_MIE BIT(3) /* Master Interface Enable */ 56 #define RCAR_I2C_ICMCR_TSBE BIT(2) /* Start Byte Transmission Enable */ 58 #define RCAR_I2C_ICMCR_ESG BIT(0) /* Enable Start Generation */ 81 return sys_read32(config->reg_addr + offs); in i2c_rcar_read() 87 sys_write32(value, config->reg_addr + offs); in i2c_rcar_write() 92 const struct i2c_rcar_cfg *config = dev->config; in i2c_rcar_isr() [all …]
|
D | Kconfig.sam0 | 2 # SPDX-License-Identifier: Apache-2.0 10 Enable the SAM0 series SERCOM I2C driver. 18 DMA driven mode requires fewer interrupts to handle the 28 i.e. it should wait as long as necessary.
|
/Zephyr-latest/boards/nxp/s32z2xxdc2/support/ |
D | startup.cmm | 3 ; SPDX-License-Identifier: Apache-2.0 * 5 ; Lauterbach Trace32 start-up script for S32Z27x / Cortex-R52 * 8 ; - command operation to execute * 11 ; - elfFile filepath of ELF to load * 12 ; - rtu Real-Time Unit (RTU) index * 15 ; - core core index, relative to the RTU * 18 ; - lockstep set to "yes" to start the core in lock-step mode * 19 ; in Lockstep mode: * 20 ; - Core0 and Core2 (redundancy) operate as a lockstep pair * 21 ; - Core1 and Core3 (redundancy) operate as a lockstep pair * [all …]
|
/Zephyr-latest/subsys/modbus/ |
D | modbus_internal.h | 5 * SPDX-License-Identifier: Apache-2.0 14 * Copyright 2003-2020 Silicon Laboratories Inc. www.silabs.com 16 * SPDX-License-Identifier: APACHE-2.0 20 * Version 2.0 available at www.apache.org/licenses/LICENSE-2.0. 49 /* Diagnostic sub-function codes */ 74 /* RTU timeout (maximum inter-frame delay) */ 78 /* Pointer to driver enable (DE) pin config */ 80 /* Pointer to receiver enable (nRE) pin config */ 101 /* MODBUS mode */ 102 enum modbus_mode mode; member [all …]
|
/Zephyr-latest/soc/ite/ec/it8xxx2/ |
D | soc.c | 4 * SPDX-License-Identifier: Apache-2.0 15 #include <zephyr/dt-bindings/interrupt-controller/ite-intc.h> 34 /* PLL Frequency Auto-Calibration Control 0 Register */ 44 /* PLL Frequency Auto-Calibration Control 2 Register */ 79 return -ERANGE; in chip_get_pll_freq() 85 void __soc_ram_code chip_pll_ctrl(enum chip_pll_mode mode) in chip_pll_ctrl() argument 89 IT8XXX2_ECPM_PLLCTRL = mode; in chip_pll_ctrl() 91 * for deep doze / sleep mode in chip_pll_ctrl() 93 * control register before wait for interrupt instruction. in chip_pll_ctrl() 180 /* Enable HW timer to wakeup chip from the sleep mode */ in chip_run_pll_sequence() [all …]
|
/Zephyr-latest/modules/segger/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 10 Indicates that the platform supports SEGGER J-Link RTT. 17 Enable Segger J-Link RTT libraries for platforms that support it. 26 Enable custom locking using Zephyr APIs. 29 int "Maximum number of up-buffers" 33 int "Maximum number of down-buffers" 45 int "Size of buffer for RTT printf to bulk-send chars via RTT" 49 prompt "Mode for pre-initialized terminal channel (buffer 0)" 59 bool "Block: Wait until there is space in the buffer." 70 bool "Use a simple byte-loop instead of standard memcpy" [all …]
|
/Zephyr-latest/include/zephyr/drivers/ |
D | ipm.h | 4 * @brief Generic low-level inter-processor mailbox communication API. 10 * SPDX-License-Identifier: Apache-2.0 37 * interrupt-safe APIS. Registration of callbacks is done via 56 typedef int (*ipm_send_t)(const struct device *ipmdev, int wait, uint32_t id, 90 typedef int (*ipm_set_enabled_t)(const struct device *ipmdev, int enable); 116 * or if outgoing messages must be queued and wait on an 117 * event/semaphore, a high-level driver can implement that. 125 * to the receiving side. The upper-level protocol dictates the amount of 129 * @param wait If nonzero, busy-wait for remote to consume the message. The 132 * or you would like to queue outgoing messages and wait on an [all …]
|
/Zephyr-latest/drivers/timer/ |
D | ite_it8xxx2_timer.c | 3 * SPDX-License-Identifier: Apache-2.0 10 #include <zephyr/dt-bindings/interrupt-controller/ite-intc.h> 19 #define COUNT_1US (EC_FREQ / USEC_PER_SEC - 1) 31 /* Busy wait low timer configurations */ 36 /* Busy wait high timer configurations */ 40 /* Busy wait high timer max count is 71.58min (base on clock source 1MHz) */ 116 * This timer is used to wake up chip from sleep mode to complete 135 timer2_reg->ET2PSR = EXT_PSR_32P768K; in timer_5ms_one_shot() 142 timer2_reg->ET2CNTLH2R = (uint8_t)((hw_cnt >> 16) & 0xff); in timer_5ms_one_shot() 143 timer2_reg->ET2CNTLHR = (uint8_t)((hw_cnt >> 8) & 0xff); in timer_5ms_one_shot() [all …]
|
/Zephyr-latest/soc/nxp/imxrt/imxrt11xx/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 11 #include <zephyr/dt-bindings/power/imx_spc.h> 20 * power mode 88 /* Enable all steps in flow of set point transition */ in gpc_set_transition_flow() 138 /* Enable all steps in standby transition */ in gpc_set_transition_flow() 180 GPC_CPU_MODE_CTRL->CM_IRQ_WAKEUP_MASK[i] |= 0xFFFFFFFF; in gpc_configure_interrupts() 183 /* Enable GPT interrupt source for GPC- this is system timer */ in gpc_configure_interrupts() 195 GPC_SET_POINT_CTRL->SP_ROSC_CTRL = ~OSC_RC_16M_STBY_VAL; in gpc_init() 239 /* Clear SLEEPDEEP bit to enter WAIT mode*/ in system_enter_sleep() 240 SCB->SCR &= ~SCB_SCR_SLEEPDEEP_Msk; in system_enter_sleep() [all …]
|
/Zephyr-latest/soc/atmel/sam/same70/ |
D | soc.c | 3 * Copyright (c) 2023-2024 Gerson Fernando Budke <nandojve@gmail.com> 4 * SPDX-License-Identifier: Apache-2.0 10 * This file provides routines to initialize and support board-level hardware 42 EFC->EEFC_FMR = EEFC_FMR_FWS(0) | EEFC_FMR_CLOE; in clock_init() 65 * Set FWS (Flash Wait State) value before increasing Master Clock in clock_init() 70 EFC->EEFC_FMR = EEFC_FMR_FWS(5) | EEFC_FMR_CLOE; in clock_init() 112 * Instruct CPU to enter Wait mode instead of Sleep mode to in soc_reset_hook() 122 * sys_cache*-functions can enable them, if requested by the in soc_reset_hook() 129 * Enable the caches only if configured to do so. in soc_reset_hook() 147 if (CHIPID->CHIPID_CIDR != CHIP_CIDR) { in soc_early_init_hook() [all …]
|
/Zephyr-latest/soc/atmel/sam/samv71/ |
D | soc.c | 3 * Copyright (c) 2019-2023 Gerson Fernando Budke <nandojve@gmail.com> 4 * SPDX-License-Identifier: Apache-2.0 10 * This file provides routines to initialize and support board-level hardware 40 EFC->EEFC_FMR = EEFC_FMR_FWS(0) | EEFC_FMR_CLOE; in clock_init() 63 * Set FWS (Flash Wait State) value before increasing Master Clock in clock_init() 68 EFC->EEFC_FMR = EEFC_FMR_FWS(5) | EEFC_FMR_CLOE; in clock_init() 109 * Instruct CPU to enter Wait mode instead of Sleep mode to in soc_reset_hook() 119 * sys_cache*-functions can enable them, if requested by the in soc_reset_hook() 126 * Enable the caches only if configured to do so. in soc_reset_hook() 144 if (CHIPID->CHIPID_CIDR != CHIP_CIDR) { in soc_early_init_hook() [all …]
|
/Zephyr-latest/drivers/regulator/ |
D | regulator_nxp_vref.c | 2 * Copyright 2023-2024 NXP 3 * SPDX-License-Identifier: Apache-2.0 11 #include <zephyr/dt-bindings/regulator/nxp_vref.h> 34 const struct regulator_nxp_vref_config *config = dev->config; in regulator_nxp_vref_enable() 35 VREF_Type *const base = config->base; in regulator_nxp_vref_enable() 37 volatile uint32_t *const csr = &base->CSR; in regulator_nxp_vref_enable() 40 /* Wait for bandgap startup */ in regulator_nxp_vref_enable() 41 k_busy_wait(config->bg_start_time); in regulator_nxp_vref_enable() 43 /* Enable high accuracy bandgap */ in regulator_nxp_vref_enable() 51 /* Enable output buffer */ in regulator_nxp_vref_enable() [all …]
|