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 …(+) 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…
216 (+) Exit (interrupt or event-triggered, specified when entering STOP mode):
217 (++) PWR_STOPENTRY_WFI: enter Stop mode with WFI instruction
218 (++) PWR_STOPENTRY_WFE: enter Stop mode with WFE instruction
221 (++) Any EXTI Line (Internal or External) configured in Interrupt mode.
223 when programmed in wakeup mode.
225 (++) Any EXTI Line (Internal or External) configured in Event mode.
228 … When exiting Stop 0 and Stop 1 modes, the MCU is either in Run mode or in Low-power Run mode
231 *** Standby mode ***
234 The Standby mode offers two options:
235 …tion a) all clocks off except LSI and LSE, RRS bit set (keeps voltage regulator in low power mode).
243 (+++) The Standby mode is entered through HAL_PWR_EnterSTANDBYMode() API.
253 …[..] After waking up from Standby mode, program execution restarts in the same way as after a R…
256 *** Shutdown mode ***
259 In Shutdown mode,
264 The Shutdown mode is entered through HAL_PWREx_EnterSHUTDOWNMode() API.
270 …[..] After waking up from Shutdown mode, program execution restarts in the same way as after a Res…
273 *** Auto-wakeup (AWU) from low-power mode ***
276 The MCU can be woken up from low-power mode by an RTC Alarm event, an RTC
278 an external interrupt (Auto-wakeup mode).
283 (++) To wake up from the Stop mode with an RTC alarm event, it is necessary to
286 (++) To wake up from the Stop mode with an RTC Tamper or time stamp event, it
290 (++) To wake up from the Stop mode with an RTC WakeUp event, it is necessary to
312 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD()
317 /* Clear any previous config. Keep it clear if no event or IT mode is selected */ in HAL_PWR_ConfigPVD()
323 /* Configure interrupt mode */ in HAL_PWR_ConfigPVD()
324 if((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) in HAL_PWR_ConfigPVD()
329 /* Configure event mode */ in HAL_PWR_ConfigPVD()
330 if((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) in HAL_PWR_ConfigPVD()
336 if((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) in HAL_PWR_ConfigPVD()
341 if((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) in HAL_PWR_ConfigPVD()
418 * @brief Enter Sleep or Low-power Sleep mode.
419 * @note In Sleep/Low-power Sleep mode, all I/O pins keep the same state as in Run mode.
420 * @param Regulator: Specifies the regulator state in Sleep/Low-power Sleep mode.
422 * @arg @ref PWR_MAINREGULATOR_ON Sleep mode (regulator in main mode)
423 * @arg @ref PWR_LOWPOWERREGULATOR_ON Low-power Sleep mode (regulator in low-power mode)
424 * @note Low-power Sleep mode is entered from Low-power Run mode. Therefore, if not yet
425 * in Low-power Run mode before calling HAL_PWR_EnterSLEEPMode() with Regulator set
431 * @note When exiting Low-power Sleep mode, the MCU is in Low-power Run mode. To move in
432 * Run mode, the user must resort to HAL_PWREx_DisableLowPowerRunMode() API.
433 * @param SLEEPEntry: Specifies if Sleep mode is entered with WFI or WFE instruction.
435 * @arg @ref PWR_SLEEPENTRY_WFI enter Sleep or Low-power Sleep mode with WFI instruction
436 * @arg @ref PWR_SLEEPENTRY_WFE enter Sleep or Low-power Sleep mode with WFE instruction
450 /* If in low-power run mode at this point, exit it */ in HAL_PWR_EnterSLEEPMode()
455 /* Regulator now in main mode. */ in HAL_PWR_EnterSLEEPMode()
459 /* If in run mode, first move to low-power run mode. in HAL_PWR_EnterSLEEPMode()
470 /* Select SLEEP mode entry -------------------------------------------------*/ in HAL_PWR_EnterSLEEPMode()
488 * @brief Enter Stop mode
490 * on devices where only "Stop mode" is mentioned with main or low power regulator ON.
491 * @note In Stop mode, all I/O pins keep the same state as in Run mode.
499 …* The voltage regulator can be configured either in normal (Stop 0) or low-power mode (Stop…
500 * @note When exiting Stop 0 or Stop 1 mode by issuing an interrupt or a wakeup event,
502 * @note When the voltage regulator operates in low power mode (Stop 1), an additional
504 * By keeping the internal regulator ON during Stop mode (Stop 0), the consumption
506 * @param Regulator: Specifies the regulator state in Stop mode.
508 * @arg @ref PWR_MAINREGULATOR_ON Stop 0 mode (main regulator ON)
509 * @arg @ref PWR_LOWPOWERREGULATOR_ON Stop 1 mode (low power regulator ON)
510 * @param STOPEntry: Specifies Stop 0 or Stop 1 mode is entered with WFI or WFE instruction.
512 * @arg @ref PWR_STOPENTRY_WFI Enter Stop 0 or Stop 1 mode with WFI instruction.
513 * @arg @ref PWR_STOPENTRY_WFE Enter Stop 0 or Stop 1 mode with WFE instruction.
532 * @brief Enter Standby mode.
533 * @note In Standby mode, the PLL, the HSI and the HSE oscillators are switched
535 * in which case the regulator is in low-power mode.
545 * These states are effective in Standby mode only if APC bit is set through
551 /* Set Stand-by mode */ in HAL_PWR_EnterSTANDBYMode()
568 * @brief Indicate Sleep-On-Exit when returning from Handler mode to Thread mode.
570 * re-enters SLEEP mode when an interruption handling is over.
583 * @brief Disable Sleep-On-Exit feature when returning from Handler mode to Thread mode.
585 * re-enters SLEEP mode when an interruption handling is over.