Home
last modified time | relevance | path

Searched full:lptim (Results 1 – 25 of 40) sorted by relevance

12

/Zephyr-Core-3.6.0/drivers/timer/
Dstm32_lptim_timer.c28 #error Only one LPTIM instance should be enabled
31 #define LPTIM (LPTIM_TypeDef *) DT_INST_REG_ADDR(0) macro
34 #warning Kconfig for LPTIM source clock (LSI/LSE) is deprecated, use device tree.
54 * - system clock based on an LPTIM instance, clocked by LSI or LSE
55 * - prescaler is set to a 2^value from 1 (division of the LPTIM source clock by 1)
56 * to 128 (division of the LPTIM source clock by 128)
57 * - using LPTIM AutoReload capability to trig the IRQ (timeout irq)
96 * case because the LPTIM is not clocked in some low power mode state.
113 return (LL_LPTIM_IsActiveFlag_ARRM(LPTIM) && LL_LPTIM_IsEnabledIT_ARRM(LPTIM)); in arrm_state_get()
121 uint32_t autoreload = LL_LPTIM_GetAutoReload(LPTIM); in lptim_irq_handler()
[all …]
DKconfig.stm32_lptim1 # STM32 LPTIM configuration options
6 DT_CHOSEN_STDBY_TIMER := st,lptim-stdby-timer
22 prompt "LPTIM clock value configuration"
24 This option is deprecated and configuration of LPTIM domain clock
30 Use LSI as LPTIM clock
35 Use LSE as LPTIM clock
45 hex "LPTIM AutoReload value"
53 For LPTIM configuration, a specific tick freq is advised
54 depending on LPTIM input clock:
68 There are chips e.g. STM32WBAX family that use LPTIM as a system timer,
[all …]
/Zephyr-Core-3.6.0/dts/bindings/timer/
Dst,stm32-lptim.yaml5 STM32 lptim : low power timer
6 The lptim node to be used for counting ticks during lowpower modes
12 compatible: "st,stm32-lptim"
29 Prescaler allows to achieve higher LPTIM timeout (up to 256s when lptim clocked by LSE)
35 For example, when LPTIM is clocked by the LSE (32768Hz) and st,prescaler = <32>:
36 LPTIM global timeout is 64 seconds with an increment of 0.97 ms.
37 Using CONFIG_SYS_CLOCK_TICKS_PER_SEC = 4096, tick = 0.24 ms, LPTIM precision is 4 ticks.
38 Using CONFIG_SYS_CLOCK_TICKS_PER_SEC = 1024, tick = 0.97 ms, LPTIM precision is 1 ticks.
/Zephyr-Core-3.6.0/samples/boards/stm32/power_mgmt/blinky/
DREADME.rst12 Note that lptim instance selected for the low power timer is named **&stm32_lp_tick_source**
26 in core sleep states, as LPTIM (:dtcompatible:`st,stm32-lptim`).
40 When LPTIM input clock has a prescaler, longer perdiod (up to 64 seconds)
Dsample.yaml15 (dt_compat_enabled("st,stm32-lptim") or
/Zephyr-Core-3.6.0/samples/boards/stm32/power_mgmt/suspend_to_ram/
DREADME.rst20 in core sleep states, as LPTIM (:dtcompatible:`st,stm32-lptim`).
22 for LPTIM (which is disabled). The board shall also have RAM retention to be
Dsample.yaml14 dt_compat_enabled("st,stm32-lptim")
/Zephyr-Core-3.6.0/samples/boards/stm32/power_mgmt/adc/
DREADME.rst19 in core sleep states, as LPTIM (:dtcompatible:`st,stm32-lptim`).
Dsample.yaml15 dt_compat_enabled("st,stm32-lptim")
/Zephyr-Core-3.6.0/samples/boards/stm32/power_mgmt/standby_shutdown/
DREADME.rst24 in core sleep states, as LPTIM (:dtcompatible:`st,stm32-lptim`).
Dsample.yaml21 "gpio-leds") and dt_compat_enabled("st,stm32-lptim")
/Zephyr-Core-3.6.0/boards/arm/stm32l562e_dk/
Dstm32l562e_dk_ns.yaml12 - lptim
Dstm32l562e_dk.yaml11 - lptim
/Zephyr-Core-3.6.0/soc/arm/st_stm32/common/
DKconfig.defconfig.series29 # set the tick per sec as a divider of the LPTIM clock source
31 # SYS_CLOCK_TICKS_PER_SEC not too high compared to the LPTIM counter clock
/Zephyr-Core-3.6.0/boards/arm/nucleo_g0b1re/
Dnucleo_g0b1re.yaml25 - lptim
/Zephyr-Core-3.6.0/boards/arm/nucleo_g071rb/
Dnucleo_g071rb.yaml26 - lptim
/Zephyr-Core-3.6.0/samples/boards/stm32/power_mgmt/blinky/boards/
Db_u585i_iot02a.overlay2 * give a prescaler to the lptim clock : LSE / 16 = 2048Hz
Dnucleo_wb55rg.overlay2 * give a prescaler to the lptim clock : LSE / 32 = 1024Hz
/Zephyr-Core-3.6.0/samples/boards/stm32/power_mgmt/serial_wakeup/
DREADME.rst19 in core sleep states, as LPTIM (:dtcompatible:`st,stm32-lptim`).
/Zephyr-Core-3.6.0/tests/drivers/clock_control/stm32_clock_configuration/stm32_common_devices/src/
Dtest_stm32_clock_configuration_lptim.c35 zassert_true((r == 0), "Could not enable LPTIM gating clock"); in ZTEST()
/Zephyr-Core-3.6.0/dts/arm/st/wba/
Dstm32wba.dtsi25 st,lptim-stdby-timer = &rtc;
428 compatible = "st,stm32-lptim";
439 compatible = "st,stm32-lptim";
/Zephyr-Core-3.6.0/modules/
DKconfig.stm32320 Enable STM32Cube Low Power Timer (LPTIM) HAL module driver
720 Enable STM32Cube Low Power Timer (LPTIM) LL module driver
/Zephyr-Core-3.6.0/dts/arm/st/u5/
Dstm32u5.dtsi429 compatible = "st,stm32-lptim";
440 compatible = "st,stm32-lptim";
451 compatible = "st,stm32-lptim";
462 compatible = "st,stm32-lptim";
/Zephyr-Core-3.6.0/dts/arm/st/l4/
Dstm32l4.dtsi437 compatible = "st,stm32-lptim";
448 compatible = "st,stm32-lptim";
/Zephyr-Core-3.6.0/dts/arm/st/l0/
Dstm32l0.dtsi295 compatible = "st,stm32-lptim";

12