PebbleOS v4.47.0-888-g9fa910d13
Loading...
Searching...
No Matches
STM32

ST STM32 SoC interfaces. More...

Modules

 STM32H7 EXTI
 Wakeup lines of the STM32H7 EXTI.
 
 STM32H7 wakeup pins
 Wakeup pins of the STM32H7 PWR, which wake the SoC from power-off.
 

Enumerations

enum  soc_stm32_idle_state { SOC_STM32_IDLE_WFI , SOC_STM32_IDLE_STOP }
 Idle states, indices in pbl_soc_idle_states. More...
 

Detailed Description

ST STM32 SoC interfaces.

A driver whose peripheral does not work in an idle state blocks it while busy:

pbl_idle_state_block(SOC_STM32_IDLE_STOP); // the DMA2D clock stops in Stop mode
prv_dma2d_run();
static void pbl_idle_state_block(pbl_idle_state_id_t state)
Keep the CPU out of an idle state and of every deeper one.
Definition idle.h:238
static void pbl_idle_state_release(pbl_idle_state_id_t state)
Release a block taken with pbl_idle_state_block().
Definition idle.h:251
@ SOC_STM32_IDLE_STOP
Stop: every clock but the LSE and LSI stops, the memories and registers are kept.
Definition idle.h:29

Enumeration Type Documentation

◆ soc_stm32_idle_state

Idle states, indices in pbl_soc_idle_states.

Enumerator
SOC_STM32_IDLE_WFI 

Sleep: the CPU clock stops, the peripherals run.

SOC_STM32_IDLE_STOP 

Stop: every clock but the LSE and LSI stops, the memories and registers are kept.

Only offered when the system timer runs on the LSE.