Home
last modified time | relevance | path

Searched +full:power +full:- +full:delay +full:- +full:ms (Results 1 – 25 of 81) sorted by relevance

1234

/Zephyr-latest/boards/nordic/thingy53/
Dboard.c4 * SPDX-License-Identifier: Apache-2.0
11 * could be accessed after power up. In particular bme680 and bmm150 sensors require,
12 * respectively 2ms and 1ms power on delay. In order to avoid delays sum, common delay is
36 * sensors could be accessed after power up. In particular bme680 and bmm150 in setup()
37 * sensors require, 2ms and 1ms power on delay respectively. In order not to sum in setup()
38 * delays, common delay is introduced in the board start up file. This code is in setup()
/Zephyr-latest/dts/bindings/sdhc/
Dzephyr,sdhc-spi-slot.yaml3 compatible: "zephyr,sdhc-spi-slot"
5 include: [spi-device.yaml]
8 power-delay-ms:
12 Time in ms for SPI SDHC to delay when toggling power to the SD card. This
13 delay gives the card time to power up or down fully. It can be increased
16 spi-clock-mode-cpol:
22 spi-clock-mode-cpha:
26 on the clock's polarity. When mode-cpol is set and this option as well,
30 pwr-gpios:
31 type: phandle-array
[all …]
Dsdhc.yaml2 # SPDX-License-Identifier: Apache-2.0
11 max-current-330:
18 max-current-300:
25 max-current-180:
32 max-bus-freq:
39 min-bus-freq:
46 power-delay-ms:
50 time in ms for SDHC to delay when toggling power to the SD card. This
51 delay gives the card time to power up or down fully
53 mmc-hs200-1_8v:
[all …]
/Zephyr-latest/dts/bindings/lora/
Dsemtech,sx127x-base.yaml3 # SPDX-License-Identifier: Apache-2.0
5 include: spi-device.yaml
8 reset-gpios:
9 type: phandle-array
14 This signal is open-drain, active-high (SX1272/3) or
15 active-low (SX1276/7/8/9) as interpreted by the modem.
17 dio-gpios:
18 type: phandle-array
23 These signals are normally active-high.
25 power-amplifier-output:
[all …]
Dsemtech,sx126x-base.yaml3 # SPDX-License-Identifier: Apache-2.0
5 include: spi-device.yaml
8 reset-gpios:
9 type: phandle-array
13 This signal is open-drain, active-low as interpreted by the
16 busy-gpios:
17 type: phandle-array
21 antenna-enable-gpios:
22 type: phandle-array
24 Antenna power enable pin.
[all …]
/Zephyr-latest/soc/nuvoton/npcx/common/
Dpower.c4 * SPDX-License-Identifier: Apache-2.0
9 * @brief Nuvoton NPCX power management driver
11 * This file contains the drivers of NPCX Power Manager Modules that improves
12 * the efficiency of ec operation by adjusting the chip’s power consumption to
14 * summarizes the main properties of the various power states and shows the
15 * activity levels of the various clocks while in these power states.
17 * +--------------------------------------------------------------------------+
18 * | Power State | LFCLK | HFCLK | APB/AHB | Core | RAM/Regs | VCC | VSBY |
19 * |--------------------------------------------------------------------------|
23 * | Deep Sleep | On | Stop | Stop | Stop | Power Down | On | On |
[all …]
/Zephyr-latest/dts/arm/seeed_studio/
Dlora-e5.dtsi4 * SPDX-License-Identifier: Apache-2.0
8 #include <st/wl/stm32wle5jcix-pinctrl.dtsi>
11 clock-frequency = <DT_FREQ_M(32)>;
12 hse-tcxo;
16 clock-frequency = <32768>;
23 tx-enable-gpios = <&gpioa 4 GPIO_ACTIVE_LOW>;
24 rx-enable-gpios = <&gpioa 5 GPIO_ACTIVE_LOW>;
25 dio3-tcxo-voltage = <SX126X_DIO3_TCXO_1V7>;
26 tcxo-power-startup-delay-ms = <5>;
27 power-amplifier-output = "rfo-hp";
[all …]
/Zephyr-latest/dts/bindings/clock/
Dmicrochip,xec-pcr.yaml2 # SPDX-License-Identifier: Apache-2.0
4 description: Microchip XEC Power Clock Reset and VBAT register (PCR)
6 compatible: "microchip,xec-pcr"
8 include: [clock-controller.yaml, pinctrl-device.yaml, base.yaml]
14 core-clock-div:
17 description: Divide 96 MHz PLL clock to produce Cortex-M4 core clock
19 slow-clock-div:
25 pll-32k-src:
30 periph-32k-src:
35 xtal-single-ended:
[all …]
/Zephyr-latest/drivers/auxdisplay/
Dauxdisplay_jhd1313.c4 * Copyright (c) 2022-2023 Jamie McCrae
6 * SPDX-License-Identifier: Apache-2.0
66 bool power; member
95 const struct auxdisplay_jhd1313_config *config = dev->config; in auxdisplay_jhd1313_print()
102 rc = i2c_write_dt(&config->bus, buf, sizeof(buf)); in auxdisplay_jhd1313_print()
112 const struct auxdisplay_jhd1313_config *config = dev->config; in auxdisplay_jhd1313_cursor_position_set()
116 return -EINVAL; in auxdisplay_jhd1313_cursor_position_set()
128 return i2c_write_dt(&config->bus, data, 2); in auxdisplay_jhd1313_cursor_position_set()
134 const struct auxdisplay_jhd1313_config *config = dev->config; in auxdisplay_jhd1313_clear()
137 rc = i2c_write_dt(&config->bus, clear, sizeof(clear)); in auxdisplay_jhd1313_clear()
[all …]
/Zephyr-latest/boards/shields/semtech_sx1262mb2das/
Dsemtech_sx1262mb2das.overlay3 * SPDX-License-Identifier: Apache-2.0
15 cs-gpios = <&arduino_header 13 GPIO_ACTIVE_LOW>;
20 spi-max-frequency = <16000000>;
22 reset-gpios = <&arduino_header 0 GPIO_ACTIVE_LOW>;
23 busy-gpios = <&arduino_header 9 GPIO_ACTIVE_HIGH>;
24 antenna-enable-gpios = <&arduino_header 14 GPIO_ACTIVE_HIGH>;
25 dio1-gpios = <&arduino_header 11 GPIO_ACTIVE_HIGH>;
26 dio2-tx-enable;
27 tcxo-power-startup-delay-ms = <5>;
/Zephyr-latest/drivers/misc/grove_lcd_rgb/
Dgrove_lcd_rgb.c5 * SPDX-License-Identifier: Apache-2.0
84 const struct glcd_config *config = dev->config; in glcd_print()
90 i2c_write_dt(&config->bus, buf, sizeof(buf)); in glcd_print()
97 const struct glcd_config *config = dev->config; in glcd_cursor_pos_set()
110 i2c_write_dt(&config->bus, data, 2); in glcd_cursor_pos_set()
116 const struct glcd_config *config = dev->config; in glcd_clear()
119 i2c_write_dt(&config->bus, clear, sizeof(clear)); in glcd_clear()
120 LOG_DBG("clear, delay 20 ms"); in glcd_clear()
127 const struct glcd_config *config = dev->config; in glcd_display_state_set()
128 struct glcd_data *data = dev->data; in glcd_display_state_set()
[all …]
/Zephyr-latest/tests/drivers/build_all/lora/
Dsx1262.overlay3 * SPDX-License-Identifier: Apache-2.0
8 #address-cells = <1>;
9 #size-cells = <1>;
13 gpio-controller;
15 #gpio-cells = <0x2>;
20 #address-cells = <1>;
21 #size-cells = <0>;
26 cs-gpios = <&test_gpio 0 0>,
34 spi-max-frequency = <16000000>;
35 reset-gpios = <&test_gpio 0 0>;
[all …]
/Zephyr-latest/tests/subsys/lorawan/frag_decoder/boards/
Dnative_sim.overlay4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/lora/sx126x.h>
13 zephyr,code-partition = &slot0_partition;
21 #address-cells = <1>;
22 #size-cells = <1>;
25 #address-cells = <1>;
26 #size-cells = <0>;
30 clock-frequency = <2000000>;
32 cs-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
38 reset-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
[all …]
/Zephyr-latest/tests/subsys/lorawan/clock_sync/boards/
Dnative_sim.overlay4 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/lora/sx126x.h>
13 zephyr,code-partition = &slot0_partition;
21 #address-cells = <1>;
22 #size-cells = <1>;
25 #address-cells = <1>;
26 #size-cells = <0>;
30 clock-frequency = <2000000>;
32 cs-gpios = <&gpio0 1 GPIO_ACTIVE_LOW>;
38 reset-gpios = <&gpio0 2 GPIO_ACTIVE_LOW>;
[all …]
/Zephyr-latest/samples/boards/espressif/light_sleep/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
23 /* Add an extra delay when sleeping to make sure that light sleep
34 printk("Error: button device %s is not ready\n", button.port->name); in main()
66 * pre-defined power state. Light sleep is used here because there is enough in main()
67 * time to consider it, energy-wise, worthy. in main()
91 printk("Returned from light sleep, reason: %s, t=%lld ms, slept for %lld ms\n", in main()
92 wakeup_reason, t_after_ms, (t_after_ms - t_before_ms)); in main()
/Zephyr-latest/boards/atmel/sam0/samr34_xpro/
Dsamr34_xpro.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include "samr34_xpro-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
18 zephyr,shell-uart = &sercom0;
26 pwm-led0 = &pwm_led0;
31 compatible = "gpio-leds";
39 compatible = "pwm-leds";
46 compatible = "gpio-keys";
56 clock-frequency = <48000000>;
[all …]
/Zephyr-latest/subsys/bluetooth/mesh/
DKconfig4 # SPDX-License-Identifier: Apache-2.0
113 bool "Mesh-specific workqueue"
116 mesh-specific workqueue. This will ensure that messages are always sent.
117 The application needs to ensure the mesh-specific workqueue size is large
130 CONFIG_BT_BUF_CMD_TX_COUNT, the host returns -ENOBUFS immediately
187 greater than zero, this can noticeably delay transmission of
189 in a friendship, this option can delay transmission of local
191 value. This in turn will result in increase of the power
192 consumption of the Low Power node.
209 thus reducing the scanning time on the Low Power node.
[all …]
/Zephyr-latest/boards/lilygo/ttgo_lora32/
Dttgo_lora32_esp32_procpu.dts4 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include "ttgo_lora32-pinctrl.dtsi"
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 compatible = "lilygo,ttgo-lora32";
19 uart-0 = &uart0;
20 i2c-0 = &i2c0;
29 zephyr,shell-uart = &uart0;
31 zephyr,code-partition = &slot0_partition;
37 compatible = "gpio-leds";
[all …]
/Zephyr-latest/drivers/display/
Ddisplay_hx8394.c4 * SPDX-License-Identifier: Apache-2.0
149 0x73, /* SPON delay */
150 0x74, /* SPOFF delay */
151 0x73, /* CON delay */
152 0x74, /* COFF delay */
153 0x73, /* CON1 delay */
154 0x74, /* COFF1 delay */
161 0x73, /* SPON_MPU delay */
162 0x74, /* SPOFF_MPU delay */
163 0x73, /* CON_MPU delay */
[all …]
Ddisplay_st7796s.c4 * SPDX-License-Identifier: Apache-2.0
41 uint8_t pwr1[2]; /* Power control 1 */
42 uint8_t pwr2; /* Power control 2 */
43 uint8_t pwr3; /* Power control 3 */
50 uint32_t te_delay; /* Tearing enable delay */
57 const struct st7796s_config *config = dev->config; in st7796s_send_cmd()
59 return mipi_dbi_command_write(config->mipi_dbi, &config->dbi_config, in st7796s_send_cmd()
72 addr_data[1] = sys_cpu_to_be16(x + width - 1); in st7796s_set_cursor()
82 addr_data[1] = sys_cpu_to_be16(y + height - 1); in st7796s_set_cursor()
100 const struct st7796s_config *config = dev->config; in st7796s_get_pixelfmt()
[all …]
/Zephyr-latest/boards/st/nucleo_wl55jc/
Dnucleo_wl55jc.dts2 * Copyright (c) 2020-2024 STMicroelectronics
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/wl/stm32wl55jcix-pinctrl.dtsi>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
15 model = "STMicroelectronics STM32WL55JC-NUCLEO board";
16 compatible = "st,stm32wl55-nucleo";
20 zephyr,shell-uart = &lpuart1;
23 zephyr,code-partition = &slot0_partition;
27 compatible = "gpio-leds";
[all …]
/Zephyr-latest/drivers/sensor/apds9306/
Dapds9306.c2 * Author: Daniel Kampert <DanielKampert@kampis-Elektroecke.de>
86 const struct apds9306_config *config = dev->config; in apds9306_enable()
88 return i2c_reg_update_byte_dt(&config->i2c, APDS9306_REGISTER_MAIN_CTRL, in apds9306_enable()
94 const struct apds9306_config *config = dev->config; in apds9306_standby()
96 return i2c_reg_update_byte_dt(&config->i2c, APDS9306_REGISTER_MAIN_CTRL, in apds9306_standby()
107 struct apds9306_data *data = item->dev->data; in apds9306_worker()
108 const struct apds9306_config *config = item->dev->config; in apds9306_worker()
110 if (i2c_reg_read_byte_dt(&config->i2c, APDS9306_REGISTER_MAIN_STATUS, &buffer[0])) { in apds9306_worker()
120 if (apds9306_standby(item->dev) != 0) { in apds9306_worker()
126 if (i2c_write_read_dt(&config->i2c, &reg, sizeof(reg), &buffer, sizeof(buffer)) < 0) { in apds9306_worker()
[all …]
/Zephyr-latest/boards/st/b_l072z_lrwan1/
Db_l072z_lrwan1.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/l0/stm32l072c(b-z)tx-pinctrl.dtsi>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 model = "STMicroelectronics B-L072Z-LRWAN1 Discovery kit";
14 compatible = "st,stm32l072z-lrwan1";
18 zephyr,shell-uart = &usart2;
24 compatible = "gpio-leds";
44 compatible = "gpio-keys";
59 eeprom-0 = &eeprom;
[all …]
/Zephyr-latest/boards/rakwireless/rak4631/
Drak4631_nrf52840.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <zephyr/dt-bindings/lora/sx126x.h>
11 #include "rak4631_nrf52840-pinctrl.dtsi"
19 zephyr,shell-uart = &uart1;
20 zephyr,uart-mcumgr = &uart1;
21 zephyr,bt-mon-uart = &uart1;
22 zephyr,bt-c2h-uart = &uart1;
26 compatible = "gpio-leds";
50 regulator-initial-mode = <NRF5X_REG_MODE_DCDC>;
[all …]
/Zephyr-latest/subsys/sd/
Dsd.c4 * SPDX-License-Identifier: Apache-2.0
32 return sdhc_request(card->sdhc, &cmd, NULL); in sd_idle()
38 * - CMD0 (SD reset)
39 * - CMD8 (SD voltage check)
60 ret = sdhc_request(card->sdhc, &cmd, NULL); in sd_send_interface_condition()
66 if (card->host_props.is_spi) { in sd_send_interface_condition()
78 return -ENOTSUP; in sd_send_interface_condition()
81 card->flags |= SD_SDHC_FLAG; in sd_send_interface_condition()
91 __ASSERT_NO_MSG(card->host_props.is_spi); in sd_enable_crc()
97 return sdhc_request(card->sdhc, &cmd, NULL); in sd_enable_crc()
[all …]

1234