Lines Matching full:mode

45 /** @defgroup PWR_PVD_Mode_Mask PWR PVD Mode Mask
148 (+) The PVD is stopped in Standby mode.
154 (+) WakeUp pins are used to wakeup the system from Standby mode or Shutdown mode.
164 …(+) Low-power Run mode: core and peripherals are running, main regulator off, low power regulator …
165 …(+) Sleep mode: Cortex-M4 core stopped, peripherals kept running, main and low power regulators on.
166 …(+) Low-power Sleep mode: Cortex-M4 core stopped, peripherals kept running, main regulator off, lo…
167 (+) Stop 0 mode: all clocks are stopped except LSI and LSE, main and low power regulators on.
168 …(+) Stop 1 mode: all clocks are stopped except LSI and LSE, main regulator off, low power regulato…
169 …p 2 mode: all clocks are stopped except LSI and LSE, main regulator off, low power regulator on, r…
170 …(+) Standby mode with SRAM2: all clocks are stopped except LSI and LSE, SRAM2 content preserved, m…
171 …(+) Standby mode without SRAM2: all clocks are stopped except LSI and LSE, main and low power regu…
172 (+) Shutdown mode: all clocks are stopped except LSE, main and low power regulators off.
175 *** Low-power run mode ***
178 (+) Entry: (from main run mode)
186 *** Sleep mode / Low-power sleep mode ***
190 The Sleep mode / Low-power Sleep mode is entered through HAL_PWR_EnterSLEEPMode() API
191 …in specifying whether or not the regulator is forced to low-power mode and if exit is interrupt or…
192 (++) PWR_MAINREGULATOR_ON: Sleep mode (regulator in main mode).
193 (++) PWR_LOWPOWERREGULATOR_ON: Low-power sleep (regulator in low power mode).
195 (++) PWR_SLEEPENTRY_WFI: enter SLEEP mode with WFI instruction
196 (++) PWR_SLEEPENTRY_WFE: enter SLEEP mode with WFE instruction
203 (++) Any wake-up event such as an EXTI line configured in event mode.
205 [..] When exiting the Low-power sleep mode by issuing an interrupt or a wakeup event,
206 the MCU is in Low-power Run mode.
213 …(++) HAL_PWREx_EnterSTOP0Mode() for mode 0 or HAL_PWREx_EnterSTOP1Mode() for mode 1 or for porting…
214 (++) HAL_PWREx_EnterSTOP2Mode() for mode 2.
218 (+) Exit (interrupt or event-triggered, specified when entering STOP mode):
219 (++) PWR_STOPENTRY_WFI: enter Stop mode with WFI instruction
220 (++) PWR_STOPENTRY_WFE: enter Stop mode with WFE instruction
223 (++) Any EXTI Line (Internal or External) configured in Interrupt mode.
225 when programmed in wakeup mode.
227 (++) Any EXTI Line (Internal or External) configured in Event mode.
230 … When exiting Stop 0 and Stop 1 modes, the MCU is either in Run mode or in Low-power Run mode
232 When exiting Stop 2 mode, the MCU is in Run mode.
234 *** Standby mode ***
237 The Standby mode offers two options:
238 …tion a) all clocks off except LSI and LSE, RRS bit set (keeps voltage regulator in low power mode).
246 (+++) The Standby mode is entered through HAL_PWR_EnterSTANDBYMode() API.
256 …[..] After waking up from Standby mode, program execution restarts in the same way as after a R…
259 *** Shutdown mode ***
262 In Shutdown mode,
267 The Shutdown mode is entered through HAL_PWREx_EnterSHUTDOWNMode() API.
273 …[..] After waking up from Shutdown mode, program execution restarts in the same way as after a Res…
276 *** Auto-wakeup (AWU) from low-power mode ***
279 The MCU can be woken up from low-power mode by an RTC Alarm event, an RTC
281 an external interrupt (Auto-wakeup mode).
286 (++) To wake up from the Stop mode with an RTC alarm event, it is necessary to
289 (++) To wake up from the Stop mode with an RTC Tamper or time stamp event, it
293 (++) To wake up from the Stop mode with an RTC WakeUp event, it is necessary to
315 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD()
320 /* Clear any previous config. Keep it clear if no event or IT mode is selected */ in HAL_PWR_ConfigPVD()
326 /* Configure interrupt mode */ in HAL_PWR_ConfigPVD()
327 if((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) in HAL_PWR_ConfigPVD()
332 /* Configure event mode */ in HAL_PWR_ConfigPVD()
333 if((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) in HAL_PWR_ConfigPVD()
339 if((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) in HAL_PWR_ConfigPVD()
344 if((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) in HAL_PWR_ConfigPVD()
421 * @brief Enter Sleep or Low-power Sleep mode.
422 * @note In Sleep/Low-power Sleep mode, all I/O pins keep the same state as in Run mode.
423 * @param Regulator: Specifies the regulator state in Sleep/Low-power Sleep mode.
425 * @arg @ref PWR_MAINREGULATOR_ON Sleep mode (regulator in main mode)
426 * @arg @ref PWR_LOWPOWERREGULATOR_ON Low-power Sleep mode (regulator in low-power mode)
427 * @note Low-power Sleep mode is entered from Low-power Run mode. Therefore, if not yet
428 * in Low-power Run mode before calling HAL_PWR_EnterSLEEPMode() with Regulator set
434 * @note When exiting Low-power Sleep mode, the MCU is in Low-power Run mode. To move in
435 * Run mode, the user must resort to HAL_PWREx_DisableLowPowerRunMode() API.
436 * @param SLEEPEntry: Specifies if Sleep mode is entered with WFI or WFE instruction.
438 * @arg @ref PWR_SLEEPENTRY_WFI enter Sleep or Low-power Sleep mode with WFI instruction
439 * @arg @ref PWR_SLEEPENTRY_WFE enter Sleep or Low-power Sleep mode with WFE instruction
453 /* If in low-power run mode at this point, exit it */ in HAL_PWR_EnterSLEEPMode()
461 /* Regulator now in main mode. */ in HAL_PWR_EnterSLEEPMode()
465 /* If in run mode, first move to low-power run mode. in HAL_PWR_EnterSLEEPMode()
476 /* Select SLEEP mode entry -------------------------------------------------*/ in HAL_PWR_EnterSLEEPMode()
494 * @brief Enter Stop mode
496 * on devices where only "Stop mode" is mentioned with main or low power regulator ON.
497 * @note In Stop mode, all I/O pins keep the same state as in Run mode.
505 …* The voltage regulator can be configured either in normal (Stop 0) or low-power mode (Stop…
506 * @note When exiting Stop 0 or Stop 1 mode by issuing an interrupt or a wakeup event,
509 * @note When the voltage regulator operates in low power mode (Stop 1), an additional
511 * By keeping the internal regulator ON during Stop mode (Stop 0), the consumption
513 * @param Regulator: Specifies the regulator state in Stop mode.
515 * @arg @ref PWR_MAINREGULATOR_ON Stop 0 mode (main regulator ON)
516 * @arg @ref PWR_LOWPOWERREGULATOR_ON Stop 1 mode (low power regulator ON)
517 * @param STOPEntry: Specifies Stop 0 or Stop 1 mode is entered with WFI or WFE instruction.
519 * @arg @ref PWR_STOPENTRY_WFI Enter Stop 0 or Stop 1 mode with WFI instruction.
520 * @arg @ref PWR_STOPENTRY_WFE Enter Stop 0 or Stop 1 mode with WFE instruction.
539 * @brief Enter Standby mode.
540 * @note In Standby mode, the PLL, the HSI, the MSI and the HSE oscillators are switched
542 * in which case the regulator is in low-power mode.
552 * These states are effective in Standby mode only if APC bit is set through
558 /* Set Stand-by mode */ in HAL_PWR_EnterSTANDBYMode()
575 * @brief Indicate Sleep-On-Exit when returning from Handler mode to Thread mode.
577 * re-enters SLEEP mode when an interruption handling is over.
590 * @brief Disable Sleep-On-Exit feature when returning from Handler mode to Thread mode.
592 * re-enters SLEEP mode when an interruption handling is over.