/Zephyr-latest/arch/arm/core/cortex_a_r/ |
D | isr_wrapper.S | 2 * Copyright (c) 2013-2014 Wind River Systems, Inc. 5 * SPDX-License-Identifier: Apache-2.0 10 * @brief ARM Cortex-A and Cortex-R wrapper for ISRs with parameter 79 * Save away r0-r3, r12 and lr_irq for the previous context to the 87 push {r0-r3, r12, lr} 98 str r0, [sp, #___fpu_t_SIZEOF - 4] 102 str r0, [sp, #___fpu_t_SIZEOF - 8] 120 * Use SVC mode stack for predictable interrupt behaviour; running ISRs 121 * in the SYS/USR mode stack (i.e. interrupted thread stack) leaves the 127 * information to the user mode. [all …]
|
/Zephyr-latest/samples/boards/ti/cc13x2_cc26x2/system_off/ |
D | README.rst | 1 .. zephyr:code-sample:: ti_cc13x2_cc26x2_system_off 13 * Busy-wait for 5 seconds 14 * Sleep for 2 milliseconds (Idle mode) 15 * Sleep for 3 seconds (Standby mode) 17 (Shutdown mode) 30 .. zephyr-app-commands:: 31 :zephyr-app: samples/boards/ti/cc13x2_cc26x2/system_off 39 power-cycle it. 44 5. Device will demonstrate active, idle and standby modes. 45 6. Device will explicitly turn itself off by going into shutdown mode. [all …]
|
/Zephyr-latest/dts/bindings/input/ |
D | gpio-kbd-matrix.yaml | 2 # SPDX-License-Identifier: Apache-2.0 11 kbd-matrix { 12 compatible = "gpio-kbd-matrix"; 13 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>, 15 col-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>, 18 no-ghostkey-check; 21 compatible: "gpio-kbd-matrix" 24 - name: kbd-matrix-common.yaml 25 property-blocklist: 26 - row-size [all …]
|
D | gpio-qdec.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 transition on any of the encoder signal lines, then switches to polling mode 15 #include <zephyr/dt-bindings/input/input-event-codes.h> 18 compatible = "gpio-qdec"; 21 steps-per-period = <4>; 23 sample-time-us = <2000>; 24 idle-timeout-ms = <200>; 27 compatible: "gpio-qdec" 33 type: phandle-array 38 led-gpios: [all …]
|
/Zephyr-latest/dts/bindings/mipi-dbi/ |
D | mipi-dbi-spi-device.yaml | 2 # SPDX-License-Identifier: Apache-2.0 4 # Common fields for MIPI DBI devices using Mode C (SPI) 6 include: [mipi-dbi-device.yaml] 13 SPI Duplex mode, full or half. By default it's always full duplex thus 0 14 as this is, by far, the most common mode. 18 list (see dt-bindings/spi/spi.h) 21 mipi-cpol: 24 SPI clock polarity which indicates the clock idle state. 25 If it is used, the clock idle state is logic high; otherwise, low. 26 mipi-cpha: [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/subsys/pm/policy/ |
D | Kconfig | 2 # SPDX-License-Identifier: Apache-2.0 6 prompt "Idle State Power Management Policy" 9 Select the idle state power management policy. 37 bool "Allow gathering latency requirements in standalone mode" 42 CPU idle states). Because the API has a subscription mechanism, it can 43 be useful to perform system-level adjustments based on latency
|
/Zephyr-latest/drivers/timer/ |
D | Kconfig.cortex_m_systick | 1 # Copyright (c) 2014-2015 Wind River Systems, Inc. 4 # SPDX-License-Identifier: Apache-2.0 6 DT_CHOSEN_IDLE_TIMER := zephyr,cortex-m-idle-timer 9 bool "Cortex-M SYSTICK timer" 20 This module implements a kernel device driver for the Cortex-M processor 27 This option should be selected by SysTick-based drivers so that the 31 bool "Cortex-M SYSTICK timer with sys_clock_cycle_get_64() support" 36 This driver, due to its limited 24-bits hardware counter, is already 38 count a 64-bits value to support sys_clock_cycle_get_64(). 47 bool "Use an additional timer while entering IDLE" [all …]
|
D | cortex_m_systick.c | 4 * SPDX-License-Identifier: Apache-2.0 20 #define MAX_TICKS ((k_ticks_t)(COUNTER_MAX / CYC_PER_TICK) - 1) 25 * reliably" -- it becomes the minimum value of the LOAD register, and 61 * Additions/subtractions/comparisons of 64-bits values on 32-bits systems 63 * cycle_count and announced_cycles is stored in a 32-bit variable before 81 * entering idle state. 83 * It is used for chips that has to use a separate idle timer in such 84 * case because the Cortex-m SysTick is not clocked in the low power 85 * mode state. 89 /* Cycle counter before entering the idle state. */ [all …]
|
/Zephyr-latest/dts/bindings/display/ |
D | sitronix,st7796s.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 include: [mipi-dbi-spi-device.yaml, display-controller.yaml] 12 type: uint8-array 15 Frame rate control (partial mode / full colors). The default value should 19 type: uint8-array 22 Frame rate control (idle mode / 8 colors). This property sets the 23 division ratio for internal clocks in idle mode 26 type: uint8-array 29 Frame rate control (partial mode / full colors). This property sets the 30 division ratio for internal clocks in partial mode [all …]
|
D | sitronix,st7735r.yaml | 1 # Copyright (c) 2020, Kim Bøndergaard <kim@fam-boendergaard.dk> 2 # SPDX-License-Identifier: Apache-2.0 8 include: [mipi-dbi-spi-device.yaml, display-controller.yaml] 11 x-offset: 16 y-offset: 32 type: uint8-array 37 type: uint8-array 42 type: uint8-array 47 type: uint8-array 52 type: uint8-array [all …]
|
/Zephyr-latest/soc/ti/simplelink/cc13x2_cc26x2/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 55 * PM_STATE_SUSPEND_TO_IDLE: Idle 81 /* 1. Get the current VIMS mode */ in pm_state_set() 86 /* 2. Configure flash to remain on in IDLE or not and keep in pm_state_set() 88 * 3. Always keep cache retention ON in IDLE in pm_state_set() 91 * 6. Enter IDLE in pm_state_set() 105 /* go to standby mode */ in pm_state_set() 116 /* Handle SOC specific activity after Low Power Mode Exit */ 123 * System is now in active mode. Reenable interrupts which were disabled in pm_state_exit_post_ops()
|
/Zephyr-latest/tests/drivers/input/gpio_kbd_matrix/boards/ |
D | native_sim.overlay | 4 * SPDX-License-Identifier: Apache-2.0 12 kbd_matrix_interrupt: kbd-matrix-interrupt { 13 compatible = "gpio-kbd-matrix"; 14 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>, 16 col-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>, 18 debounce-down-ms = <80>; 19 debounce-up-ms = <40>; 20 poll-timeout-ms = <500>; 23 kbd_matrix_poll: kbd-matrix-poll { 24 compatible = "gpio-kbd-matrix"; [all …]
|
/Zephyr-latest/dts/bindings/spi/ |
D | espressif,esp32-spi.yaml | 3 compatible: "espressif,esp32-spi" 5 include: [spi-controller.yaml, pinctrl-device.yaml] 11 pinctrl-0: 14 pinctrl-names: 17 half-duplex: 20 Enable half-duplex communication mode. 24 dummy-comp: 31 Enable 3-wire mode 35 dma-enabled: 39 dma-clk: [all …]
|
D | spi-device.yaml | 1 # Copyright (c) 2018, I-SENSE group of ICCS 2 # SPDX-License-Identifier: Apache-2.0 8 on-bus: spi 13 spi-max-frequency: 21 Duplex mode, full or half. By default it's always full duplex thus 0 22 as this is, by far, the most common mode. 24 list (see dt-bindings/spi/spi.h) 28 - 0 29 - 2048 30 frame-format: [all …]
|
/Zephyr-latest/soc/infineon/cat1b/cyw20829/ |
D | power.c | 5 * SPDX-License-Identifier: Apache-2.0 32 LOG_DBG("Entering PM state suspend to idle"); in pm_state_set() 41 * if the Zephyr idle function executes the wfi instruction in pm_state_set() 69 /* System Domain Idle Power Mode Configuration */ in ifx_pm_init()
|
/Zephyr-latest/soc/ti/simplelink/cc13x2x7_cc26x2x7/ |
D | power.c | 4 * SPDX-License-Identifier: Apache-2.0 55 * PM_STATE_SUSPEND_TO_IDLE: Idle 82 /* 1. Get the current VIMS mode */ in pm_state_set() 87 /* 2. Configure flash to remain on in IDLE or not and keep in pm_state_set() 89 * 3. Always keep cache retention ON in IDLE in pm_state_set() 92 * 6. Enter IDLE in pm_state_set() 106 /* go to standby mode */ in pm_state_set() 124 /* Handle SOC specific activity after Low Power Mode Exit */ 131 * System is now in active mode. Reenable interrupts which were disabled in pm_state_exit_post_ops()
|
/Zephyr-latest/dts/bindings/memory-controllers/ |
D | renesas,smartbond-nor-psram.yaml | 2 # SPDX-License-Identifier: Apache-2.0 8 compatible: "renesas,smartbond-nor-psram" 14 is-ram: 19 dev-size: 25 dev-type: 31 dev-density: 40 dev-id: 46 reset-delay-us: 52 read-cs-idle-min-ns: 59 erase-cs-idle-min-ns: [all …]
|
/Zephyr-latest/boards/renesas/da1469x_dk_pro/dts/ |
D | da1469x_dk_pro_psram.overlay | 4 * SPDX-License-Identifier: Apache-2.0 9 sram-ext = &memc; 17 /* QSPIC settings for the APS6404L-3SQR QSPI PSRAM memory in QPI mode. */ 20 is-ram; 21 dev-size = <DT_SIZE_M(64)>; 22 dev-type = <0x5D>; 23 dev-id = <0x0D>; 24 dev-density = <0xE040>; 25 reset-delay-us = <50>; 26 read-cs-idle-min-ns = <18>; [all …]
|
/Zephyr-latest/include/zephyr/net/ |
D | ieee802154_radio_openthread.h | 4 * SPDX-License-Identifier: Apache-2.0 26 * mode. 30 /** Capability to support CST-related features. 32 * The CST-related features are described by "Specification changes for Thread-in-Mobile" 34 * CST Period IEs as described by chapter 4.6.6.1 of the Thread-in-Mobile specification 50 /** @brief TX mode */ 53 * The @ref IEEE802154_OPENTHREAD_TX_MODE_TXTIME_MULTIPLE_CCA mode allows to send 54 * a scheduled packet if the channel is reported idle after at most 55 * 1 + max_extra_cca_attempts CCAs performed back-to-back. 57 * This mode is a non-standard experimental OpenThread feature. It allows transmission [all …]
|
/Zephyr-latest/doc/services/input/ |
D | gpio-kbd.rst | 1 .. _gpio-kbd: 6 The :dtcompatible:`gpio-kbd-matrix` driver supports a large variety of keyboard 21 .. figure:: no-diodes.svg 30 .. code-block:: devicetree 32 kbd-matrix { 33 compatible = "gpio-kbd-matrix"; 34 row-gpios = <&gpio0 0 (GPIO_PULL_UP | GPIO_ACTIVE_LOW)>, 37 col-gpios = <&gpio0 3 GPIO_ACTIVE_LOW>, 42 In this configuration the matrix scanning library enters idle mode once all 47 impedance mode. This means that the row state may need some time to settle to [all …]
|
/Zephyr-latest/tests/kernel/threads/thread_stack/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 36 *start_addr = (char *)k_current_get()->stack_info.start; in z_impl_stack_info_get() 37 *size = k_current_get()->stack_info.size; in z_impl_stack_info_get() 123 printk(" - Thread reports buffer %p size %zu\n", stack_start, in stack_buffer_scenarios() 149 zassert_true(STEST_STACKSIZE <= (obj_size - reserved), in stack_buffer_scenarios() 166 printk(" - check read/write to stack buffer\n"); in stack_buffer_scenarios() 187 /* If we're in user mode, check every byte in the stack buffer in stack_buffer_scenarios() 201 zassert_true(check_perms(stack_start - 1, 1, 0), in stack_buffer_scenarios() 202 "user mode access to memory %p before start of stack object", in stack_buffer_scenarios() 203 obj_start - 1); in stack_buffer_scenarios() [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/subsys/pm/ |
D | Kconfig | 1 # Copyright (c) 2014-2015 Wind River Systems, Inc. 3 # SPDX-License-Identifier: Apache-2.0 11 calls to configure low-power states. 18 policies whenever the kernel becomes idle. The kernel informs the 27 module-str = System Power Management 37 bool "Suspend-to-RAM (S2RAM)" 40 This option enables suspend-to-RAM (S2RAM). 46 By default a magic word in RAM is used to mark entering suspend-to-RAM. Enabling 50 bool "System Low Power Mode Needs All Devices Idle" 54 entering into system low power mode. [all …]
|
/Zephyr-latest/soc/ene/kb1200/ |
D | soc.c | 4 * SPDX-License-Identifier: Apache-2.0 19 /* Interrupt Event Wakeup from IDLE mode Enable */ in pmu_init() 20 pmu->PMUIDLE |= PMU_IDLE_WU_ENABLE; in pmu_init() 21 /* GPTD wake up from STOP mode enable. */ in pmu_init() 22 pmu->PMUSTOP |= PMU_STOP_WU_GPTD; in pmu_init() 23 /* SWD EDI32 wake up from STOP mode enable */ in pmu_init() 24 pmu->PMUSTOP |= (PMU_STOP_WU_EDI32 | PMU_STOP_WU_SWD); in pmu_init() 32 gcfg->CLKCFG = GCFG_CLKCFG_96M; in clock_init() 35 gcfg->CLKCFG = GCFG_CLKCFG_48M; in clock_init() 38 gcfg->CLKCFG = GCFG_CLKCFG_24M; in clock_init()
|