/Zephyr-latest/samples/boards/st/power_mgmt/serial_wakeup/boards/ |
D | stm32l562e_dk.overlay | 5 zephyr,shell-uart = &lpuart1; 14 /* Comment out this line to use HSI as clk source */ 19 pinctrl-0 = <&lpuart1_rx_pb10 &lpuart1_tx_pb11>; 20 pinctrl-1 = <&analog_pb10 &analog_pb11>; 21 pinctrl-names = "default", "sleep"; 26 current-speed = <9600>; 28 wakeup-source; 30 /* Enable FIFO to avoid losing chars on device wakeup */ 31 fifo-enable; 37 pinctrl-1 = <&analog_pa9 &analog_pa10>; [all …]
|
/Zephyr-latest/dts/bindings/serial/ |
D | st,stm32-uart-base.yaml | 2 # SPDX-License-Identifier: Apache-2.0 5 description: STM32 UART-BASE 8 - name: uart-controller.yaml 9 property-blocklist: 10 - clock-frequency 11 - name: pinctrl-device.yaml 12 - name: reset-device.yaml 13 - name: uart-controller-pin-inversion.yaml 28 single-wire: 31 Enable the single wire half-duplex communication. [all …]
|
/Zephyr-latest/samples/boards/st/power_mgmt/standby_shutdown/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 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() 50 /* Enable pin pull up configurations and wakeup pins */ in config_wakeup_features() 53 /* Clear wakeup flags */ in config_wakeup_features() 72 printk("Release the user button to wake-up\n\n"); in thread_poweroff_standby_mode() 77 /* powered off until wakeup line activated */ in thread_poweroff_standby_mode() 85 /* stay in Standby mode until wakeup line activated */ in thread_poweroff_standby_mode() 117 button.port->name); in main() [all …]
|
/Zephyr-latest/samples/boards/espressif/light_sleep/ |
D | README.rst | 1 .. zephyr:code-sample:: esp32-light-sleep 16 The example enables the following wakeup sources: 27 button, an external button can be connected, along with a 10k pull-up resistor, 33 .. zephyr-app-commands:: 34 :zephyr-app: samples/boards/espressif/light_sleep 42 ----------------- 45 about 500 ms, after the second wakeup from light sleep. The program has 46 indicated the wakeup reason after each sleep iteration. 48 .. code-block:: console 50 *** Booting Zephyr OS build zephyr-v3.1.0-3667-gb42e2b225ecf *** [all …]
|
/Zephyr-latest/soc/nordic/nrf54l/ |
D | Kconfig | 1 # Nordic Semiconductor nRF54 MCU line 4 # SPDX-License-Identifier: Apache-2.0 52 The CPU runs with the default, hardware-selected frequency. 70 bool "Force constant-latency mode" 72 In constant latency mode the CPU wakeup latency and the PPI task response
|
/Zephyr-latest/dts/bindings/sensor/ |
D | st,lis2dw12-common.yaml | 2 # SPDX-License-Identifier: Apache-2.0 9 #include <zephyr/dt-bindings/sensor/lis2dw12.h> 14 wakeup-duration = <LIS2DW12_DT_WAKEUP_4_ODR>; 15 ff-threshold = <LIS2DW12_DT_FF_THRESHOLD_500_mg>; 16 tap-mode = <LIS2DW12_DT_SINGLE_DOUBLE_TAP>; 17 power-mode = <LIS2DW12_DT_HP_MODE>; 18 bw-filt = <LIS2DW12_DT_FILTER_BW_ODR_DIV_2>; 21 include: sensor-device.yaml 24 irq-gpios: 25 type: phandle-array [all …]
|
/Zephyr-latest/samples/boards/espressif/light_sleep/src/ |
D | main.c | 4 * SPDX-License-Identifier: Apache-2.0 34 printk("Error: button device %s is not ready\n", button.port->name); in main() 57 /* To make sure the complete line is printed before entering sleep mode, 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() 71 /* Execution continues here after wakeup */ in main() 92 wakeup_reason, t_after_ms, (t_after_ms - t_before_ms)); in main()
|
/Zephyr-latest/dts/riscv/andes/ |
D | andes_v5_ae350.dtsi | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 8 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #address-cells = <1>; 13 #size-cells = <1>; 16 #address-cells = <1>; 17 #size-cells = <0>; 19 compatible = "andestech,andescore-v5", "riscv"; 24 mmu-type = "riscv,sv32"; 25 clock-frequency = <60000000>; [all …]
|
/Zephyr-latest/drivers/usb/common/nrf_usbd_common/ |
D | nrf_usbd_common.h | 2 * Copyright (c) 2016 - 2023, Nordic Semiconductor ASA 4 * SPDX-License-Identifier: Apache-2.0 110 /** Wakeup request - the USBD peripheral is ready to generate 111 * WAKEUP signal after exiting low power mode. 115 /** For Rx (OUT: Host->Device): 120 * For Tx (IN: Device->Host): 137 /** Data received, no buffer prepared already - waiting for configured transfer. */ 145 * When this error is reported - data is left inside endpoint 216 NRF_USBD_COMMON_TRANSFER_ZLP_FLAG = 1U << 0, /*!< Add a zero-length packet. */ 223 * It is used by internal built-in feeders and consumers. [all …]
|
/Zephyr-latest/samples/boards/nxp/mimxrt595_evk/system_off/ |
D | README.rst | 1 .. zephyr:code-sample:: mimxrt595_evk_system_off 3 :relevant-api: sys_poweroff 5 Use soft-off on MIMXRT595-EVK. 13 * Busy-wait for 2 seconds 14 * Turn the system off after enabling wakeup through RTC and set alarm 20 This application uses MIMXRT595-EVK for the demo. 25 .. zephyr-app-commands:: 26 :zephyr-app: samples/boards/nxp/mimxrt595_evk/system_off 41 MIMXRT595-EVK core output 42 -------------------------- [all …]
|
/Zephyr-latest/dts/arm/st/wl/ |
D | stm32wl.dtsi | 2 * Copyright (c) 2020-2024 STMicroelectronics 4 * SPDX-License-Identifier: Apache-2.0 7 #include <arm/armv7-m.dtsi> 8 #include <zephyr/dt-bindings/clock/stm32wl_clock.h> 9 #include <zephyr/dt-bindings/gpio/gpio.h> 10 #include <zephyr/dt-bindings/i2c/i2c.h> 11 #include <zephyr/dt-bindings/lora/sx126x.h> 12 #include <zephyr/dt-bindings/pwm/pwm.h> 13 #include <zephyr/dt-bindings/adc/adc.h> 14 #include <zephyr/dt-bindings/pwm/stm32_pwm.h> [all …]
|
/Zephyr-latest/drivers/serial/ |
D | uart_mchp_xec.c | 2 * Copyright (c) 2010, 2012-2015 Wind River Systems, Inc. 6 * SPDX-License-Identifier: Apache-2.0 59 #define REG_LCR 0x03 /* Line control reg. */ 61 #define REG_LSR 0x05 /* Line status reg. */ 71 #define IER_LSR 0x04 /* line status interrupts */ 80 #define IIR_LS 0x06 /* receiver line status interrupt */ 97 * RXRDY pin will go inactive when there are no more charac- 102 * reached, the RXRDY pin will go low active. Once it is acti- 107 * FIFO Mode (FCR0 = 1, FCR3 = 0) and there are no charac- 127 /* constants for line control register */ [all …]
|
/Zephyr-latest/dts/arm/st/l0/ |
D | stm32l0.dtsi | 5 * SPDX-License-Identifier: Apache-2.0 8 #include <arm/armv6-m.dtsi> 9 #include <zephyr/dt-bindings/clock/stm32l0_clock.h> 10 #include <zephyr/dt-bindings/i2c/i2c.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #include <zephyr/dt-bindings/pwm/pwm.h> 13 #include <zephyr/dt-bindings/adc/adc.h> 14 #include <zephyr/dt-bindings/pwm/stm32_pwm.h> 15 #include <zephyr/dt-bindings/dma/stm32_dma.h> 16 #include <zephyr/dt-bindings/adc/stm32l4_adc.h> [all …]
|
/Zephyr-latest/dts/arm/st/l4/ |
D | stm32l4.dtsi | 6 * SPDX-License-Identifier: Apache-2.0 10 #include <arm/armv7-m.dtsi> 11 #include <zephyr/dt-bindings/clock/stm32l4_clock.h> 12 #include <zephyr/dt-bindings/i2c/i2c.h> 13 #include <zephyr/dt-bindings/gpio/gpio.h> 14 #include <zephyr/dt-bindings/pwm/pwm.h> 15 #include <zephyr/dt-bindings/adc/adc.h> 16 #include <zephyr/dt-bindings/pwm/stm32_pwm.h> 17 #include <zephyr/dt-bindings/dma/stm32_dma.h> 18 #include <zephyr/dt-bindings/adc/stm32l4_adc.h> [all …]
|
/Zephyr-latest/boards/st/disco_l475_iot1/ |
D | disco_l475_iot1.dts | 4 * SPDX-License-Identifier: Apache-2.0 7 /dts-v1/; 9 #include <st/l4/stm32l475v(c-e-g)tx-pinctrl.dtsi> 11 #include <zephyr/dt-bindings/input/input-event-codes.h> 14 model = "STMicroelectronics B-L475E-IOT01Ax board"; 15 compatible = "st,stm32l475-disco-iot"; 19 zephyr,shell-uart = &usart1; 22 zephyr,code-partition = &slot0_partition; 23 zephyr,flash-controller = &mx25r6435f; 24 zephyr,bt-c2h-uart = &usart1; [all …]
|
/Zephyr-latest/dts/arm/st/wba/ |
D | stm32wba.dtsi | 2 * Copyright (c) 2023-2024 STMicroelectronics 4 * SPDX-License-Identifier: Apache-2.0 8 #include <arm/armv8-m.dtsi> 9 #include <zephyr/dt-bindings/memory-attr/memory-attr-arm.h> 10 #include <zephyr/dt-bindings/clock/stm32wba_clock.h> 11 #include <zephyr/dt-bindings/reset/stm32wba_reset.h> 12 #include <zephyr/dt-bindings/adc/stm32u5_adc.h> 13 #include <zephyr/dt-bindings/gpio/gpio.h> 14 #include <zephyr/dt-bindings/i2c/i2c.h> 15 #include <zephyr/dt-bindings/pwm/pwm.h> [all …]
|
/Zephyr-latest/dts/arm/st/h5/ |
D | stm32h5.dtsi | 2 * Copyright (c) 2023-2024 STMicroelectronics 4 * SPDX-License-Identifier: Apache-2.0 8 #include <arm/armv8-m.dtsi> 9 #include <zephyr/dt-bindings/adc/adc.h> 10 #include <zephyr/dt-bindings/clock/stm32h5_clock.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #include <zephyr/dt-bindings/i2c/i2c.h> 13 #include <zephyr/dt-bindings/reset/stm32h5_reset.h> 14 #include <zephyr/dt-bindings/dma/stm32_dma.h> 15 #include <zephyr/dt-bindings/pwm/pwm.h> [all …]
|
/Zephyr-latest/dts/arm/st/g0/ |
D | stm32g0.dtsi | 3 * Copyright (c) 2019-2024 STMicroelectronics 6 * Copyright (c) 2021 G-Technologies Sdn. Bhd. 8 * SPDX-License-Identifier: Apache-2.0 11 #include <arm/armv6-m.dtsi> 12 #include <zephyr/dt-bindings/clock/stm32g0_clock.h> 13 #include <zephyr/dt-bindings/gpio/gpio.h> 14 #include <zephyr/dt-bindings/i2c/i2c.h> 15 #include <zephyr/dt-bindings/pwm/pwm.h> 16 #include <zephyr/dt-bindings/dma/stm32_dma.h> 17 #include <zephyr/dt-bindings/adc/adc.h> [all …]
|
/Zephyr-latest/dts/arm/st/wb/ |
D | stm32wb.dtsi | 6 * SPDX-License-Identifier: Apache-2.0 9 #include <arm/armv7-m.dtsi> 10 #include <zephyr/dt-bindings/clock/stm32wb_clock.h> 11 #include <zephyr/dt-bindings/gpio/gpio.h> 12 #include <zephyr/dt-bindings/i2c/i2c.h> 13 #include <zephyr/dt-bindings/pwm/pwm.h> 14 #include <zephyr/dt-bindings/adc/adc.h> 15 #include <zephyr/dt-bindings/pwm/stm32_pwm.h> 16 #include <zephyr/dt-bindings/dma/stm32_dma.h> 17 #include <zephyr/dt-bindings/adc/stm32l4_adc.h> [all …]
|
/Zephyr-latest/dts/arm/st/f4/ |
D | stm32f4.dtsi | 7 * SPDX-License-Identifier: Apache-2.0 10 #include <arm/armv7-m.dtsi> 11 #include <zephyr/dt-bindings/adc/adc.h> 12 #include <zephyr/dt-bindings/clock/stm32f4_clock.h> 13 #include <zephyr/dt-bindings/i2c/i2c.h> 14 #include <zephyr/dt-bindings/gpio/gpio.h> 15 #include <zephyr/dt-bindings/pwm/pwm.h> 16 #include <zephyr/dt-bindings/pwm/stm32_pwm.h> 17 #include <zephyr/dt-bindings/dma/stm32_dma.h> 18 #include <zephyr/dt-bindings/adc/stm32f4_adc.h> [all …]
|
/Zephyr-latest/drivers/rtc/ |
D | rtc_smartbond.c | 4 * SPDX-License-Identifier: Apache-2.0 114 struct rtc_smartbond_data *data = dev->data; in smartbond_rtc_isr() 115 /* Exercise which events asserted the RTC IRQ line. Register is cleared upon read. */ in smartbond_rtc_isr() 116 uint32_t rtc_event_flags_reg = RTC->RTC_EVENT_FLAGS_REG; in smartbond_rtc_isr() 118 uint32_t rtc_interrupt_mask_reg = RTC->RTC_INTERRUPT_MASK_REG; in smartbond_rtc_isr() 123 if (data->alarm_cb) { in smartbond_rtc_isr() 124 data->alarm_cb(dev, 0, data->alarm_user_data); in smartbond_rtc_isr() 125 data->is_alarm_pending = false; in smartbond_rtc_isr() 127 data->is_alarm_pending = true; in smartbond_rtc_isr() 135 if (data->update_cb) { in smartbond_rtc_isr() [all …]
|
/Zephyr-latest/drivers/modem/ |
D | hl7800.c | 4 * SPDX-License-Identifier: Apache-2.0 211 #define MDM_INVALID_SOCKET_ID -1 217 #define SIZE_WITHOUT_NUL(v) (sizeof(v) - SIZE_OF_NUL) 221 .cmd = cmd_, .cmd_len = (uint16_t)sizeof(cmd_) - 1, \ 250 #define RSSI_UNKNOWN -999 294 /* The ? can be a + or - */ 301 #define TIME_STRING_TO_TM_STRUCT_YEAR_OFFSET (2000 - 1900) 373 static const char EOF_PATTERN[] = "--EOF--Pattern--"; 598 sock->allocated = true; in alloc_stale_socket() 609 sock->allocated = false; in free_stale_socket() [all …]
|
/Zephyr-latest/dts/arm/st/g4/ |
D | stm32g4.dtsi | 6 * SPDX-License-Identifier: Apache-2.0 10 #include <arm/armv7-m.dtsi> 11 #include <zephyr/dt-bindings/clock/stm32g4_clock.h> 12 #include <zephyr/dt-bindings/i2c/i2c.h> 13 #include <zephyr/dt-bindings/gpio/gpio.h> 14 #include <zephyr/dt-bindings/pwm/pwm.h> 15 #include <zephyr/dt-bindings/adc/adc.h> 16 #include <zephyr/dt-bindings/pwm/stm32_pwm.h> 17 #include <zephyr/dt-bindings/dma/stm32_dma.h> 18 #include <zephyr/dt-bindings/adc/stm32l4_adc.h> [all …]
|
/Zephyr-latest/boards/nxp/lpcxpresso55s16/doc/ |
D | index.rst | 7 of the LPC55S1x/LPC551x MCU family, based on the Arm® Cortex®-M33 16 - LPC55S16 Arm® Cortex®-M33 microcontroller running at up to 150 MHz 17 - 256 KB flash and 96 KB SRAM on-chip 18 - LPC-Link2 debug high speed USB probe with VCOM port 19 - I2C and SPI USB bridging to the LPC device via LPC-Link2 probe 20 - MikroElektronika Click expansion option 21 - LPCXpresso expansion connectors compatible with Arduino UNO 22 - PMod compatible expansion / host connector 23 - Reset, ISP, wake, and user buttons for easy testing of software functionality 24 - Tri-color LED [all …]
|
/Zephyr-latest/boards/nxp/lpcxpresso55s36/doc/ |
D | index.rst | 7 of the LPC55S3x/LPC553x MCU family, based on the Arm® Cortex®-M33 16 - LPC55S36 Arm® Cortex®-M33 microcontroller running at up to 150 MHz 17 - 256 KB flash and 96 KB SRAM on-chip 18 - LPC-Link2 debug high speed USB probe with VCOM port 19 - I2C and SPI USB bridging to the LPC device via LPC-Link2 probe 20 - MikroElektronika Click expansion option 21 - LPCXpresso expansion connectors compatible with Arduino UNO 22 - PMod compatible expansion / host connector 23 - Reset, ISP, wake, and user buttons for easy testing of software functionality 24 - Tri-color LED [all …]
|