Home
last modified time | relevance | path

Searched +full:standby +full:- +full:gpios (Results 1 – 25 of 28) sorted by relevance

12

/Zephyr-latest/dts/bindings/phy/
Dcan-transceiver-gpio.yaml2 # SPDX-License-Identifier: Apache-2.0
6 compatible: "can-transceiver-gpio"
8 include: can-transceiver.yaml
11 enable-gpios:
12 type: phandle-array
18 standby-gpios:
19 type: phandle-array
21 GPIO to use to put the CAN transceiver into standby. This GPIO is driven
/Zephyr-latest/drivers/can/transceiver/
Dcan_transceiver_gpio.c4 * SPDX-License-Identifier: Apache-2.0
16 /* Does any devicetree instance have an enable-gpios property? */
20 /* Does any devicetree instance have a standby-gpios property? */
35 const struct can_transceiver_gpio_config *config = dev->config; in can_transceiver_gpio_set_state()
39 if (config->enable_gpio.port != NULL) { in can_transceiver_gpio_set_state()
40 err = gpio_pin_set_dt(&config->enable_gpio, enabled ? 1 : 0); in can_transceiver_gpio_set_state()
43 return -EIO; in can_transceiver_gpio_set_state()
49 if (config->standby_gpio.port != NULL) { in can_transceiver_gpio_set_state()
50 err = gpio_pin_set_dt(&config->standby_gpio, enabled ? 0 : 1); in can_transceiver_gpio_set_state()
52 LOG_ERR("failed to set standby GPIO pin (err %d)", err); in can_transceiver_gpio_set_state()
[all …]
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
36 GPIO_DT_SPEC_GET_OR(SW0_NODE, gpios, {0});
39 GPIO_DT_SPEC_GET(DT_ALIAS(led0), gpios);
45 /* Configure wake-up features */ in config_wakeup_features()
46 /* WKUP2(PC13) only , - active low, pull-up */ in config_wakeup_features()
47 /* Set pull-ups for standby modes */ in config_wakeup_features()
72 printk("Release the user button to wake-up\n\n"); in thread_poweroff_standby_mode()
79 printk("Standby Mode requested\n"); in thread_poweroff_standby_mode()
80 printk("Release the user button to exit from Standby Mode\n\n"); in thread_poweroff_standby_mode()
85 /* stay in Standby mode until wakeup line activated */ in thread_poweroff_standby_mode()
[all …]
/Zephyr-latest/dts/bindings/sensor/
Dst,vl53l1x.yaml2 # SPDX-License-Identifier: Apache-2.0
8 include: [sensor-device.yaml, i2c-device.yaml]
11 xshut-gpios:
12 type: phandle-array
15 standby (if VDD is present) or complete power off (if
20 int-gpios:
21 type: phandle-array
Dti,tmag5273.yaml2 # SPDX-License-Identifier: Apache-2.0
5 Texas Instruments Low-Power Linear 3D Hall-Effect Sensor with an I2C interface.
17 #include <zephyr/dt-bindings/sensor/tmag5273.h>
27 include: [sensor-device.yaml, i2c-device.yaml]
30 operation-mode:
38 - 0 # TMAG5273_DT_OPER_MODE_CONTINUOUS (continuous)
39 - 1 # TMAG5273_DT_OPER_MODE_STANDBY (standby)
49 - 0 # TMAG5273_DT_AXIS_NONE
50 - 1 # TMAG5273_DT_AXIS_X
51 - 2 # TMAG5273_DT_AXIS_Y
[all …]
/Zephyr-latest/boards/nxp/mr_canhubk3/
Dmr_canhubk3.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
12 #include <dt-bindings/pwm/pwm.h>
13 #include "mr_canhubk3-pinctrl.dtsi"
14 #include <zephyr/dt-bindings/sensor/qdec_nxp_s32.h>
17 model = "NXP MR-CANHUBK3";
25 zephyr,code-partition = &code_partition;
27 zephyr,shell-uart = &lpuart2;
[all …]
/Zephyr-latest/boards/beagle/beagleplay/
Dbeagleplay_cc1352p7.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "beagleplay-cc1352p7-pinctrl.dtsi"
14 compatible = "beagle,beagleplay-cc1352p7";
24 zephyr,shell-uart = &uart0;
30 compatible = "gpio-leds";
32 gpios = <&gpio0 27 GPIO_ACTIVE_HIGH>;
37 gpios = <&gpio0 28 GPIO_ACTIVE_HIGH>;
43 * The BeaglePlay cc1352 has an on-board antenna switch (SKY13317-373LF) used to
44 * select the appropriate RF signal port based on the currently-used PHY.
[all …]
/Zephyr-latest/drivers/serial/
Duart_ite_it8xxx2.c4 * SPDX-License-Identifier: Apache-2.0
51 (void)gpio_pin_interrupt_configure(gpio, (find_msb_set(pins) - 1), in uart1_wui_isr()
54 /* Refresh console expired time if got UART Rx wake-up event */ in uart1_wui_isr()
59 * The pm state of it8xxx2 chip only supports standby, so here we in uart1_wui_isr()
60 * can directly set the constraint for standby. in uart1_wui_isr()
63 k_work_reschedule(&uart_console_data->rx_refresh_timeout_work, delay); in uart1_wui_isr()
71 (void)gpio_pin_interrupt_configure(gpio, (find_msb_set(pins) - 1), in uart2_wui_isr()
74 /* Refresh console expired time if got UART Rx wake-up event */ in uart2_wui_isr()
79 * The pm state of it8xxx2 chip only supports standby, so here we in uart2_wui_isr()
80 * can directly set the constraint for standby. in uart2_wui_isr()
[all …]
/Zephyr-latest/dts/bindings/can/
Dcan-controller.yaml6 bus-speed:
19 sample-point:
33 transceiver0: can-phy0 {
34 compatible = "nxp,tja1040", "can-transceiver-gpio";
35 standby-gpios = <gpioa 0 GPIO_ACTIVE_HIGH>;
36 max-bitrate = <1000000>;
37 #phy-cells = <0>;
46 child-binding:
48 Passive CAN transceiver. The child node must be named "can-transceiver".
54 can-transceiver {
[all …]
/Zephyr-latest/boards/renesas/ek_ra4e2/
Dek_ra4e2.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/input/input-event-codes.h>
11 #include <zephyr/dt-bindings/adc/adc.h>
12 #include "ek_ra4e2-pinctrl.dtsi"
15 model = "Renesas EK-RA4E2";
22 zephyr,shell-uart = &uart0;
28 compatible = "gpio-leds";
30 gpios = <&ioport2 7 GPIO_ACTIVE_HIGH>;
[all …]
/Zephyr-latest/boards/nxp/rddrone_fmuk66/
Drddrone_fmuk66.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include <zephyr/dt-bindings/pwm/pwm.h>
11 #include "rddrone_fmuk66-pinctrl.dtsi"
21 pwm-led0 = &red_pwm_led;
22 pwm-led1 = &green_pwm_led;
23 pwm-led2 = &blue_pwm_led;
25 red-pwm-led = &red_pwm_led;
26 green-pwm-led = &green_pwm_led;
27 blue-pwm-led = &blue_pwm_led;
[all …]
/Zephyr-latest/samples/boards/ti/cc13x2_cc26x2/system_off/src/
Dmain.c5 * SPDX-License-Identifier: Apache-2.0
17 static const struct gpio_dt_spec sw0_gpio = GPIO_DT_SPEC_GET(DT_ALIAS(sw0), gpios);
36 printk("%s: device not ready.\n", sw0_gpio.port->name); in main()
47 printk("Busy-wait %u s\n", BUSY_WAIT_S); in main()
53 printk("Sleep %u s (STANDBY)\n", SLEEP_S); in main()
/Zephyr-latest/boards/olimex/olimexino_stm32/
Dolimexino_stm32.dts2 * Copyright (c) 2017 I-SENSE group of ICCS
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/f1/stm32f103r(8-b)tx-pinctrl.dtsi>
10 #include <zephyr/dt-bindings/input/input-event-codes.h>
13 model = "Olimex OLIMEXINO-STM32 board";
18 zephyr,shell-uart = &usart1;
25 compatible = "gpio-leds";
27 gpios = <&gpioa 5 GPIO_ACTIVE_HIGH>;
31 gpios = <&gpioa 1 GPIO_ACTIVE_HIGH>;
[all …]
/Zephyr-latest/boards/nxp/imx93_evk/
Dimx93_evk_mimx9352_a55.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
10 #include "imx93_evk-pinctrl.dtsi"
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
19 zephyr,shell-uart = &lpuart2;
42 compatible = "gpio-leds";
45 gpios = <&gpio2 13 GPIO_ACTIVE_HIGH>;
49 gpios = <&gpio2 4 GPIO_ACTIVE_HIGH>;
53 gpios = <&gpio2 12 GPIO_ACTIVE_HIGH>;
58 compatible = "gpio-keys";
[all …]
/Zephyr-latest/boards/seco/stm32f3_seco_d23/
Dstm32f3_seco_d23.dts4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/f3/stm32f302v(b-c)tx-pinctrl.dtsi>
12 model = "SECO SBC-3.5-PX30 board (STM32F302VCT6)";
13 compatible = "seco,stm32f3-d23";
17 zephyr,code-partition = &slot0_partition;
18 zephyr,shell-uart = &usart1;
25 compatible = "gpio-leds";
27 gpios = <&gpiod 8 GPIO_ACTIVE_HIGH>;
28 label = "LED-1";
[all …]
/Zephyr-latest/boards/st/stm32h7b3i_dk/
Dstm32h7b3i_dk.dts2 * Copyright (c) 2022 Byte-Lab d.o.o. <dev@byte-lab.com>
4 * SPDX-License-Identifier: Apache-2.0
7 /dts-v1/;
9 #include <st/h7/stm32h7b3lihxq-pinctrl.dtsi>
10 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h>
12 #include <zephyr/dt-bindings/input/input-event-codes.h>
16 compatible = "st,stm32h7b3i-dk";
20 zephyr,shell-uart = &usart1;
29 compatible = "gpio-leds";
31 gpios = <&gpiog 11 GPIO_ACTIVE_HIGH>;
[all …]
/Zephyr-latest/dts/riscv/ite/
Dit8xxx2.dtsi3 * Copyright (c) 2019-2020 Jyunlin Chen <jyunlin.chen@ite.com.tw>
5 * SPDX-License-Identifier: Apache-2.0
9 #include <zephyr/dt-bindings/dt-util.h>
10 #include <zephyr/dt-bindings/adc/adc.h>
11 #include <zephyr/dt-bindings/interrupt-controller/ite-intc.h>
12 #include <zephyr/dt-bindings/interrupt-controller/it8xxx2-wuc.h>
13 #include <zephyr/dt-bindings/i2c/i2c.h>
14 #include <zephyr/dt-bindings/i2c/it8xxx2-i2c.h>
15 #include <zephyr/dt-bindings/pinctrl/it8xxx2-pinctrl.h>
16 #include <zephyr/dt-bindings/pwm/pwm.h>
[all …]
/Zephyr-latest/boards/renesas/ek_ra8m1/
Dek_ra8m1.dts3 * SPDX-License-Identifier: Apache-2.0
6 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <zephyr/dt-bindings/adc/adc.h>
11 #include <zephyr/dt-bindings/input/input-event-codes.h>
12 #include "ek_ra8m1-pinctrl.dtsi"
15 model = "Renesas EK-RA8M1";
20 zephyr,flash-controller = &flash1;
23 zephyr,shell-uart = &uart9;
29 compatible = "gpio-leds";
[all …]
/Zephyr-latest/samples/boards/st/power_mgmt/suspend_to_ram/src/
Dmain.c4 * SPDX-License-Identifier: Apache-2.0
27 GPIO_DT_SPEC_GET(DT_ALIAS(led2), gpios);
37 /* Data of ADC io-channels specified in devicetree. */
60 static const char spi_tx_data[SPI_BUF_SIZE] = "0123456789abcdef-\0";
113 return -1; in spi_test()
143 printk("ADC controller device %s not ready\n", adc_channels[i].dev->name); in adc_test()
158 printk("- %s, channel %d: ", in adc_test()
159 adc_channels[i].dev->name, in adc_test()
250 printk("Exit Standby\n"); in main()
/Zephyr-latest/boards/dragino/nbsn95/doc/
Dindex.rst6 The Dragino NBSN95 NB-IoT Sensor Node for IoT allows users to develop
7 applications with NB-IoT connectivity via the Quectel BC95-G.
9 low-power communication, ARM |reg| Cortex |reg|-M0 core-based
14 - STM32L072CZ MCU
15 - Quectel BC95-G NB-IoT
16 - Expansion connectors:
17 - PMOD
18 - Li/SOCI2 Unchargable Battery
19 - GPIOs exposed via screw terminals on the carrier board
20 - Housing
[all …]
/Zephyr-latest/boards/dragino/lsn50/doc/
Dindex.rst9 low-power communication, ARM |reg| Cortex |reg|-M0 core-based
14 - STM32L072CZ MCU
15 - SX1276/SX1278 LoRa Transceiver
16 - Expansion connectors:
18 - PMOD
19 - Li/SOCI2 Unchargable Battery
20 - GPIOs exposed via screw terminals on the carrier board
21 - Housing
30 - Ultra-low-power (down to 0.29 µA Standby mode and 93 uA/MHz run mode)
31 - Core: ARM |reg| 32-bit Cortex |reg|-M0+ CPU, frequency up to 32 MHz
[all …]
/Zephyr-latest/drivers/lora/
Dsx127x.c5 * SPDX-License-Identifier: Apache-2.0
108 * Those macros must be in sync with 'power-amplifier-output' dts property.
125 BUILD_ASSERT(0, "None of rfo-enable-gpios, pa-boost-enable-gpios and "
126 "power-amplifier-output has been specified. "
127 "Look at semtech,sx127x-base.yaml to fix that.");
334 int dio = work - dev_data.dio_work; in sx127x_dio_work_handle()
344 pin = find_lsb_set(pins) - 1; in sx127x_irq_callback()
359 /* Setup DIO gpios */ in SX127xIoIrqInit()
367 sx127x_dios[i].port->name); in SX127xIoIrqInit()
469 pa_config |= (power - 5) & SX127X_PACONFIG_OUTPUTPOWER_MASK; in SX127xSetRfTxPower()
[all …]
/Zephyr-latest/boards/st/stm32wb5mmg/doc/
Dstm32wb5mmg.rst6 STM32WB5MMG is an ultra-low-power and small form factor certified 2.4 GHz
10 module on other boards as HCI layer (Specefically B-U585I-IOT02A Development board).
14 - Bluetooth module in SiP-LGA86 package
15 - Integrated chip antenna
16 - Bluetooth|reg| Low Energy 5.4, Zigbee|reg| 3.0, OpenThread certified
18 - IEEE 802.15.4-2011 MAC PHY Supports 2 Mbits/s
19 - Frequency band 2402-2480 MHz
20 - Advertising extension
21 - Tx output power up to +6 dBm
22 - Rx sensitivity: -96 dBm (Bluetooth|reg| Low Energy at 1 Mbps), -100 dBm (802.15.4)
[all …]
/Zephyr-latest/drivers/flash/
Dspi_nor.c2 * Copyright (c) 2018 Savoir-Faire Linux.
8 * SPDX-License-Identifier: Apache-2.0
35 * * When CSn is deasserted the device enters a standby mode.
36 * * Some devices support a Deep Power-Down mode which reduces current
37 * to as little as 0.1% of standby.
40 * * PM_DEVICE_STATE_ACTIVE covers both active and standby modes;
41 * * PM_DEVICE_STATE_SUSPENDED corresponds to deep-power-down mode;
63 #define DEV_CFG(_dev_) ((const struct spi_nor_config * const) (_dev_)->config)
66 /* MXICY Low-power/high perf mode is second bit in configuration register 2 */
72 /* Build-time data associated with the device. */
[all …]
/Zephyr-latest/drivers/gpio/
Dgpio_intel.c2 * Copyright (c) 2018-2019 Intel Corporation
4 * SPDX-License-Identifier: Apache-2.0
14 * both GPIOs and Pinmuxing function. This driver provides
17 * Due to GPIO callback only allowing 32 pins (as a 32-bit mask) at once,
18 * each set is further sub-divided into multiple devices, so
30 #include <zephyr/dt-bindings/interrupt-controller/intel-ioapic.h>
92 ((const struct gpio_intel_config *)(_dev)->config)
93 #define DEV_DATA(_dev) ((struct gpio_intel_data *)(_dev)->data)
130 #define REG_GPI_INT_STS_BASE_GET(data) (data)->intr_stat_reg
132 #define REG_GPI_INT_EN_BASE_GET(data) (data)->intr_stat_reg + 0x20
[all …]

12