Lines Matching full:mode
135 internally to VREFINT. The PVD_IN (PB7) has to be configured in Analog mode
142 (+) The PVD is stopped in Standby mode.
147 (+) WakeUp pin is used to wake up the system from Standby mode. This pin is
162 (++) When this bit is set (Regulator voltage output Scale 1 mode selected)
164 (++) When this bit is reset (Regulator voltage output Scale 2 mode selected)
166 (++) When this bit is reset (Regulator voltage output Scale 3 mode selected)
175 (+) Low power run mode: regulator in low power mode, limited clock frequency,
177 (+) Sleep mode: Cortex-M3 core stopped, peripherals kept running.
178 (+) Low power sleep mode: Cortex-M3 core stopped, limited clock frequency,
179 limited number of peripherals running, regulator in low power mode.
180 (+) Stop mode: All clocks are stopped, regulator running, regulator in low power mode.
181 (+) Standby mode: VCORE domain powered off
183 *** Low power run mode ***
186 To further reduce the consumption when the system is in Run mode, the regulator can be
187 configured in low power mode. In this mode, the system frequency should not exceed
189 In Low power run mode, all I/O pins keep the same state as in Run mode.
194 (++) The regulator is forced in low power mode using the HAL_PWREx_EnableLowPowerRunMode()
197 … (++) The regulator is forced in Main regulator mode using the HAL_PWREx_DisableLowPowerRunMode()
201 *** Sleep mode ***
205 …The Sleep mode is entered by using the HAL_PWR_EnterSLEEPMode(PWR_MAINREGULATOR_ON, PWR_SLEEPENTRY…
207 (++) PWR_SLEEPENTRY_WFI: enter SLEEP mode with WFI instruction
208 (++) PWR_SLEEPENTRY_WFE: enter SLEEP mode with WFE instruction
212 controller (NVIC) can wake up the device from Sleep mode.
214 *** Low power sleep mode ***
218 …The Low power sleep mode is entered by using the HAL_PWR_EnterSLEEPMode(PWR_LOWPOWERREGULATOR_ON, …
220 (++) PWR_SLEEPENTRY_WFI: enter SLEEP mode with WFI instruction
221 (++) PWR_SLEEPENTRY_WFE: enter SLEEP mode with WFE instruction
226 (++) If the WFI instruction was used to enter Low power sleep mode, any peripheral interrupt
228 … from Low power sleep mode. If the WFE instruction was used to enter Low power sleep mode,
229 the MCU exits Sleep mode as soon as an event occurs.
231 *** Stop mode ***
234 The Stop mode is based on the Cortex-M3 deepsleep mode combined with peripheral
235 clock gating. The voltage regulator can be configured either in normal or low-power mode.
236 In Stop mode, all clocks in the VCORE domain are stopped, the PLL, the MSI, the HSI and
238 To get the lowest consumption in Stop mode, the internal Flash memory also enters low
239 power mode. When the Flash memory is in power-down mode, an additional startup delay is
240 incurred when waking up from Stop mode.
241 To minimize the consumption In Stop mode, VREFINT, the BOR, PVD, and temperature
242 sensor can be switched off before entering Stop mode. They can be switched on again by
243 software after exiting Stop mode using the ULP bit in the PWR_CR register.
244 In Stop mode, all I/O pins keep the same state as in Run mode.
247 …The Stop mode is entered using the HAL_PWR_EnterSTOPMode(PWR_MAINREGULATOR_ON, PWR_SLEEPENTRY_WFI )
251 (++) PWR_SLEEPENTRY_WFI: enter SLEEP mode with WFI instruction
252 (++) PWR_SLEEPENTRY_WFE: enter SLEEP mode with WFE instruction
256 *** Standby mode ***
259 The Standby mode allows to achieve the lowest power consumption. It is based on the
260 Cortex-M3 deepsleep mode, with the voltage regulator disabled. The VCORE domain is
265 To minimize the consumption In Standby mode, VREFINT, the BOR, PVD, and temperature
266 sensor can be switched off before entering the Standby mode. They can be switched
267 on again by software after exiting the Standby mode.
271 (++) The Standby mode is entered using the HAL_PWR_EnterSTANDBYMode() function.
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 without depending on an external interrupt (Auto-wakeup mode).
283 (+) RTC auto-wakeup (AWU) from the Stop mode
284 (++) To wake up from the Stop mode with an RTC alarm event, it is necessary to:
290 (++) To wake up from the Stop mode with an RTC Tamper or time stamp event, it
295 (++) To wake up from the Stop mode with an RTC WakeUp event, it is necessary to:
301 (+) RTC auto-wakeup (AWU) from the Standby mode
302 (++) To wake up from the Standby mode with an RTC alarm event, it is necessary to:
306 (++) To wake up from the Standby mode with an RTC Tamper or time stamp event, it
311 (++) To wake up from the Standby mode with an RTC WakeUp event, it is necessary to:
315 (+) Comparator auto-wakeup (AWU) from the Stop mode
316 (++) To wake up from the Stop mode with an comparator 1 or comparator 2 wakeup
342 assert_param(IS_PWR_PVD_MODE(sConfigPVD->Mode)); in HAL_PWR_ConfigPVD()
347 /* Clear any previous config. Keep it clear if no event or IT mode is selected */ in HAL_PWR_ConfigPVD()
352 /* Configure interrupt mode */ in HAL_PWR_ConfigPVD()
353 if((sConfigPVD->Mode & PVD_MODE_IT) == PVD_MODE_IT) in HAL_PWR_ConfigPVD()
358 /* Configure event mode */ in HAL_PWR_ConfigPVD()
359 if((sConfigPVD->Mode & PVD_MODE_EVT) == PVD_MODE_EVT) in HAL_PWR_ConfigPVD()
365 if((sConfigPVD->Mode & PVD_RISING_EDGE) == PVD_RISING_EDGE) in HAL_PWR_ConfigPVD()
370 if((sConfigPVD->Mode & PVD_FALLING_EDGE) == PVD_FALLING_EDGE) in HAL_PWR_ConfigPVD()
431 * @brief Enters Sleep mode.
432 * @note In Sleep mode, all I/O pins keep the same state as in Run mode.
433 * @param Regulator: Specifies the regulator state in SLEEP mode.
435 * @arg PWR_MAINREGULATOR_ON: SLEEP mode with regulator ON
436 * @arg PWR_LOWPOWERREGULATOR_ON: SLEEP mode with low power regulator ON
437 * @param SLEEPEntry: Specifies if SLEEP mode is entered with WFI or WFE instruction.
441 * @arg PWR_SLEEPENTRY_WFI: enter SLEEP mode with WFI instruction
442 * @arg PWR_SLEEPENTRY_WFE: enter SLEEP mode with WFE instruction
451 …/* Select the regulator state in Sleep mode: Set PDDS and LPSDSR bit according to PWR_Regulator va… in HAL_PWR_EnterSLEEPMode()
457 /* Select SLEEP mode entry -------------------------------------------------*/ in HAL_PWR_EnterSLEEPMode()
473 * @brief Enters Stop mode.
474 * @note In Stop mode, all I/O pins keep the same state as in Run mode.
475 * @note When exiting Stop mode by using an interrupt or a wakeup event,
477 * @note When the voltage regulator operates in low power mode, an additional
478 * startup delay is incurred when waking up from Stop mode.
479 * By keeping the internal regulator ON during Stop mode, the consumption
481 * @param Regulator: Specifies the regulator state in Stop mode.
483 * @arg PWR_MAINREGULATOR_ON: Stop mode with regulator ON
484 * @arg PWR_LOWPOWERREGULATOR_ON: Stop mode with low power regulator ON
485 * @param STOPEntry: Specifies if Stop mode in entered with WFI or WFE instruction.
487 * @arg PWR_STOPENTRY_WFI: Enter Stop mode with WFI instruction
488 * @arg PWR_STOPENTRY_WFE: Enter Stop mode with WFE instruction
497 …/* Select the regulator state in Stop mode: Set PDDS and LPSDSR bit according to PWR_Regulator val… in HAL_PWR_EnterSTOPMode()
503 /* Select Stop mode entry --------------------------------------------------*/ in HAL_PWR_EnterSTOPMode()
521 * @brief Enters Standby mode.
522 * @note In Standby mode, all I/O pins are high impedance except for:
533 /* Select Standby mode */ in HAL_PWR_EnterSTANDBYMode()
549 * @brief Indicates Sleep-On-Exit when returning from Handler mode to Thread mode.
551 * re-enters SLEEP mode when an interruption handling is over.
564 * @brief Disables Sleep-On-Exit feature when returning from Handler mode to Thread mode.
566 * re-enters SLEEP mode when an interruption handling is over.