Lines Matching full:mode
44 /** @defgroup PWR_PVD_Mode_Mask PWR PVD Mode Mask
147 (+) The PVD is stopped in Standby mode.
153 (+) WakeUp pins are used to wakeup the system from Standby mode or Shutdown mode.
163 …(+) Low-power Run mode: core and peripherals are running, main regulator off, low power regulator …
164 …(+) Sleep mode: Cortex-M33 core clock stopped, peripherals kept running, main and low power regula…
165 …(+) Low-power Sleep mode: Cortex-M33 core clock stopped, peripherals kept running, main regulator …
166 (+) Stop 0 mode: all clocks are stopped except LSI and LSE, main and low power regulators on.
167 …(+) Stop 1 mode: all clocks are stopped except LSI and LSE, main regulator off, low power regulato…
168 …p 2 mode: all clocks are stopped except LSI and LSE, main regulator off, low power regulator on, r…
169 …(+) Standby mode with SRAM2: all clocks are stopped except LSI and LSE, SRAM2 content preserved, m…
170 …(+) Standby mode without SRAM2: all clocks are stopped except LSI and LSE, main and low power regu…
171 (+) Shutdown mode: all clocks are stopped except LSE, main and low power regulators off.
174 *** Low-power run mode ***
177 (+) Entry: (from main run mode)
185 *** Sleep mode / Low-power sleep mode ***
189 The Sleep mode / Low-power Sleep mode is entered through HAL_PWR_EnterSLEEPMode() API
190 …in specifying whether or not the regulator is forced to low-power mode and if exit is interrupt or…
191 (++) PWR_MAINREGULATOR_ON: Sleep mode (regulator in main mode).
192 (++) PWR_LOWPOWERREGULATOR_ON: Low-power sleep (regulator in low power mode).
194 (++) PWR_SLEEPENTRY_WFI: enter SLEEP mode with WFI instruction
195 (++) PWR_SLEEPENTRY_WFE: enter SLEEP mode with WFE instruction
202 (++) Any wake-up event such as an EXTI line configured in event mode.
204 [..] When exiting the Low-power sleep mode by issuing an interrupt or a wakeup event,
205 the MCU is in Low-power Run mode.
212 …(++) HAL_PWREx_EnterSTOP0Mode() for mode 0 or HAL_PWREx_EnterSTOP1Mode() for mode 1 or for porting…
213 (++) HAL_PWREx_EnterSTOP2Mode() for mode 2.
217 (+) Exit (interrupt or event-triggered, specified when entering STOP mode):
218 (++) PWR_STOPENTRY_WFI: enter Stop mode with WFI instruction
219 (++) PWR_STOPENTRY_WFE: enter Stop mode with WFE instruction
222 (++) Any EXTI Line (Internal or External) configured in Interrupt mode.
224 when programmed in wakeup mode.
226 (++) Any EXTI Line (Internal or External) configured in Event mode.
229 … When exiting Stop 0 and Stop 1 modes, the MCU is either in Run mode or in Low-power Run mode
231 When exiting Stop 2 mode, the MCU is in Run mode.
233 *** Standby mode ***
236 The Standby mode offers two options:
237 …tion a) all clocks off except LSI and LSE, RRS bit set (keeps voltage regulator in low power mode).
245 (+++) The Standby mode is entered through HAL_PWR_EnterSTANDBYMode() API.
255 …[..] After waking up from Standby mode, program execution restarts in the same way as after a R…
258 *** Shutdown mode ***
261 In Shutdown mode,
266 The Shutdown mode is entered through HAL_PWREx_EnterSHUTDOWNMode() API.
272 …[..] After waking up from Shutdown mode, program execution restarts in the same way as after a Res…
275 *** Auto-wakeup (AWU) from low-power mode ***
278 The MCU can be woken up from low-power mode by an RTC Alarm event, an RTC
280 an external interrupt (Auto-wakeup mode).
285 (++) To wake up from the Stop mode with an RTC alarm event, it is necessary to
288 (++) To wake up from the Stop mode with an RTC Tamper or time stamp event, it
292 (++) To wake up from the Stop mode with an RTC WakeUp event, it is necessary to
314 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD()
319 /* Clear any previous config. Keep it clear if no event or IT mode is selected */ in HAL_PWR_ConfigPVD()
325 /* Configure interrupt mode */ in HAL_PWR_ConfigPVD()
326 if ((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) in HAL_PWR_ConfigPVD()
331 /* Configure event mode */ in HAL_PWR_ConfigPVD()
332 if ((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) in HAL_PWR_ConfigPVD()
338 if ((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) in HAL_PWR_ConfigPVD()
343 if ((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) in HAL_PWR_ConfigPVD()
420 * @brief Enter Sleep or Low-power Sleep mode.
421 * @note In Sleep/Low-power Sleep mode, all I/O pins keep the same state as in Run mode.
422 * @param Regulator specifies the regulator state in Sleep/Low-power Sleep mode.
424 * @arg @ref PWR_MAINREGULATOR_ON Sleep mode (regulator in main mode)
425 * @arg @ref PWR_LOWPOWERREGULATOR_ON Low-power Sleep mode (regulator in low-power mode)
426 * @note Low-power Sleep mode is entered from Low-power Run mode. Therefore, if not yet
427 * in Low-power Run mode before calling HAL_PWR_EnterSLEEPMode() with Regulator set
433 * @note When exiting Low-power Sleep mode, the MCU is in Low-power Run mode. To move in
434 * Run mode, the user must resort to HAL_PWREx_DisableLowPowerRunMode() API.
435 * @param SLEEPEntry specifies if Sleep mode is entered with WFI or WFE instruction.
437 * @arg @ref PWR_SLEEPENTRY_WFI enter Sleep or Low-power Sleep mode with WFI instruction
438 * @arg @ref PWR_SLEEPENTRY_WFE enter Sleep or Low-power Sleep mode with WFE instruction
452 /* If in low-power run mode at this point, exit it */ in HAL_PWR_EnterSLEEPMode()
460 /* Regulator now in main mode. */ in HAL_PWR_EnterSLEEPMode()
464 /* If in run mode, first move to low-power run mode. in HAL_PWR_EnterSLEEPMode()
475 /* Select SLEEP mode entry -------------------------------------------------*/ in HAL_PWR_EnterSLEEPMode()
493 * @brief Enter Stop mode
495 * on devices where only "Stop mode" is mentioned with main or low power regulator ON.
496 * @note In Stop mode, all I/O pins keep the same state as in Run mode.
504 …* The voltage regulator can be configured either in normal (Stop 0) or low-power mode (Stop…
505 * @note When exiting Stop 0 or Stop 1 mode by issuing an interrupt or a wakeup event,
508 * @note When the voltage regulator operates in low power mode (Stop 1), an additional
510 * By keeping the internal regulator ON during Stop mode (Stop 0), the consumption
512 * @param Regulator specifies the regulator state in Stop mode.
514 * @arg @ref PWR_MAINREGULATOR_ON Stop 0 mode (main regulator ON)
515 * @arg @ref PWR_LOWPOWERREGULATOR_ON Stop 1 mode (low power regulator ON)
516 * @param STOPEntry specifies Stop 0 or Stop 1 mode is entered with WFI or WFE instruction.
518 * @arg @ref PWR_STOPENTRY_WFI Enter Stop 0 or Stop 1 mode with WFI instruction.
519 * @arg @ref PWR_STOPENTRY_WFE Enter Stop 0 or Stop 1 mode with WFE instruction.
538 * @brief Enter Standby mode.
539 * @note In Standby mode, the PLL, the HSI, the MSI and the HSE oscillators are switched
541 * in which case the regulator is in low-power mode.
551 * These states are effective in Standby mode only if APC bit is set through
557 /* Set Stand-by mode */ in HAL_PWR_EnterSTANDBYMode()
570 * @brief Indicate Sleep-On-Exit when returning from Handler mode to Thread mode.
572 * re-enters SLEEP mode when an interruption handling is over.
585 * @brief Disable Sleep-On-Exit feature when returning from Handler mode to Thread mode.
587 * re-enters SLEEP mode when an interruption handling is over.