Lines Matching full:mode
50 (#) Every entity have low power mode as described below :
60 (+) RUN* : The Run* mode is entered after a POR reset and a wakeup from
61 Standby. In Run* mode, the performance is limited and the
63 enters Run mode only when the ACTVOSRDY bit in PWR control
81 mode and voltage threshold) in order to set up the Power Voltage Detector,
99 mode. Wake-up from SLEEP mode could be following to an event or an
100 interrupt according to low power mode intrinsic request called (__WFI()
104 in SLEEP mode with __WFE() entry.
107 mode for single core devices. For dual core devices, this API will enter
109 mode. According to the used parameter, user could select the regulator to
110 be kept actif in low power mode and wake-up event type.
113 in CSTOP mode with __WFE() entry.
116 STANDBY mode for single core devices. For dual core devices, this API
118 in DSTANDBY mode.
121 enable and disable the Cortex-Mx re-entring in SLEEP mode after an
166 /** @defgroup PWR_PVD_Mode_Mask PWR PVD Mode Mask
280 (+) The PVD is stopped in STANDBY mode.
285 (+) Wake-up pin is used to wake up the system from STANDBY mode.
297 (+) SLEEP mode : Cortex-Mx is stopped and all PWR domains are remaining
300 (+) STOP mode : Cortex-Mx is stopped, clocks are stopped and the
304 (+) STANDBY mode : All PWR domains enter DSTANDBY mode and the VCORE
307 *** SLEEP mode ***
311 The SLEEP mode is entered by using the HAL_PWR_EnterSLEEPMode(Regulator,
314 (++) PWR_SLEEPENTRY_WFI: enter SLEEP mode with WFI instruction.
315 (++) PWR_SLEEPENTRY_WFE: enter SLEEP mode with WFE instruction.
323 controller (NVIC) can wake up the device from SLEEP mode.
325 *** STOP mode ***
328 In system STOP mode, all clocks in the 1.2V domain are stopped, the PLL,
331 The voltage regulator can be configured either in normal or low-power mode.
332 To minimize the consumption in STOP mode, FLASH can be powered off before
333 entering the STOP mode using the HAL_PWREx_EnableFlashPowerDown() function.
334 It can be switched on again by software after exiting the STOP mode using
338 The STOP mode is entered using the HAL_PWR_EnterSTOPMode(Regulator,
346 (+++) PWR_STOPENTRY_WFI: enter STOP mode with WFI instruction.
347 (+++) PWR_STOPENTRY_WFE: enter STOP mode with WFE instruction.
350 Any EXTI Line (Internal or External) configured in Interrupt/Event mode.
352 *** STANDBY mode ***
356 The system STANDBY mode allows to achieve the lowest power consumption.
357 It is based on the Cortex-Mx deep SLEEP mode, with the voltage regulator
367 (+++) The STANDBY mode is entered using the HAL_PWR_EnterSTANDBYMode()
375 *** Auto-wakeup (AWU) from low-power mode ***
378 (+) The MCU can be woken up from low-power mode by an RTC Alarm event, an
380 depending on an external interrupt (Auto-wakeup mode).
384 (++) To wake up from the STOP mode with an RTC alarm event, it is
388 (++) To wake up from the STOP mode with an RTC Tamper or time stamp event,
393 (++) To wake up from the STOP mode with an RTC WakeUp event, it is
402 * @brief Configure the event mode and the voltage threshold detected by the
425 assert_param (IS_PWR_PVD_MODE (sConfigPVD->Mode)); in HAL_PWR_ConfigPVD()
440 /* Interrupt mode configuration */ in HAL_PWR_ConfigPVD()
441 if ((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) in HAL_PWR_ConfigPVD()
446 /* Event mode configuration */ in HAL_PWR_ConfigPVD()
447 if ((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) in HAL_PWR_ConfigPVD()
454 if ((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) in HAL_PWR_ConfigPVD()
460 if ((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) in HAL_PWR_ConfigPVD()
546 * @brief Enter the current core in SLEEP mode (CSLEEP).
547 * @param Regulator : Specifies the regulator state in SLEEP mode.
549 * @arg PWR_MAINREGULATOR_ON : SLEEP mode with regulator ON.
550 * @arg PWR_LOWPOWERREGULATOR_ON : SLEEP mode with low power
555 * @param SLEEPEntry : Specifies if SLEEP mode is entered with WFI or WFE
558 * @arg PWR_SLEEPENTRY_WFI : enter SLEEP mode with WFI instruction.
559 * @arg PWR_SLEEPENTRY_WFE : enter SLEEP mode with WFE instruction.
576 /* Select SLEEP mode entry */ in HAL_PWR_EnterSLEEPMode()
590 * @brief Enter STOP mode.
591 * @note For single core devices, this API will enter the system in STOP mode
595 * Cortex-Mx that executing this function) in DSTOP mode. If all
597 * cleared, all the system will enter in STOP mode.
598 * @param Regulator : Specifies the regulator state in STOP mode.
600 * @arg PWR_MAINREGULATOR_ON : STOP mode with regulator ON.
601 * @arg PWR_LOWPOWERREGULATOR_ON : STOP mode with low power
603 * @param STOPEntry : Specifies if STOP mode in entered with WFI or WFE
606 * @arg PWR_STOPENTRY_WFI : Enter STOP mode with WFI instruction.
607 * @arg PWR_STOPENTRY_WFE : Enter STOP mode with WFE instruction.
608 * @note In System STOP mode, all I/O pins keep the same state as in Run mode.
609 * @note When exiting System STOP mode by issuing an interrupt or a wakeup
612 * @note In System STOP mode, when the voltage regulator operates in low
613 * power mode, an additional startup delay is incurred when the system
614 * is waking up. By keeping the internal regulator ON during STOP mode,
624 /* Select the regulator state in STOP mode */ in HAL_PWR_EnterSTOPMode()
627 /* Configure the PWR mode for the different Domains */ in HAL_PWR_EnterSTOPMode()
632 /* Keep DSTOP mode when Cortex-M7 enters DEEP-SLEEP */ in HAL_PWR_EnterSTOPMode()
637 /* Keep DSTOP mode when Cortex-M4 enters DEEP-SLEEP */ in HAL_PWR_EnterSTOPMode()
641 /* Keep DSTOP mode when Cortex-M7 enter in DEEP-SLEEP */ in HAL_PWR_EnterSTOPMode()
645 /* Keep DSTOP mode when Cortex-M7 enter in DEEP-SLEEP */ in HAL_PWR_EnterSTOPMode()
653 /* Ensure that all instructions are done before entering STOP mode */ in HAL_PWR_EnterSTOPMode()
657 /* Select STOP mode entry */ in HAL_PWR_EnterSTOPMode()
674 * @brief Enter STANDBY mode.
676 * mode with all domains in DSTANDBY, if RUN_D3/RUN_SRD bit in CPUCR
679 * Cortex-Mx that executing this function) in DSTANDBY mode. If all
681 * is cleared, all the system will enter in STANDBY mode.
682 * @note The system enters Standby mode only when all domains are in DSTANDBY.
683 * @note When the System exit STANDBY mode by issuing an interrupt or a
686 * mode for power consumption saving purpose.
691 /* Configure the PWR mode for the different Domains */ in HAL_PWR_EnterSTANDBYMode()
696 /* Enter DSTANDBY mode when Cortex-M7 enters DEEP-SLEEP */ in HAL_PWR_EnterSTANDBYMode()
702 /* Enter DSTANDBY mode when Cortex-M4 enters DEEP-SLEEP */ in HAL_PWR_EnterSTANDBYMode()
707 /* Enter DSTANDBY mode when Cortex-M7 enters DEEP-SLEEP */ in HAL_PWR_EnterSTANDBYMode()
711 /* Enter DSTANDBY mode when Cortex-M7 enters DEEP-SLEEP */ in HAL_PWR_EnterSTANDBYMode()
719 /* Ensure that all instructions are done before entering STOP mode */ in HAL_PWR_EnterSTANDBYMode()
733 * @brief Indicate Sleep-On-Exit feature when returning from Handler mode to
734 * Thread mode.
736 * processor re-enters SLEEP mode when an interruption handling is over.
748 * @brief Disable Sleep-On-Exit feature when returning from Handler mode to
749 * Thread mode.
751 * processor re-enters SLEEP mode when an interruption handling is over.