亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? stm32l1xx_pwr.c

?? STM32+Grlib
?? C
?? 第 1 頁 / 共 3 頁
字號:
@endverbatim
  * @{
  */

/**
  * @brief  Enables or disables the Fast WakeUp from Ultra Low Power mode.
  * @param  NewState: new state of the Fast WakeUp  functionality.
  *   This parameter can be: ENABLE or DISABLE.
  * @retval None
  */
void PWR_FastWakeUpCmd(FunctionalState NewState)
{
  /* Check the parameters */
  assert_param(IS_FUNCTIONAL_STATE(NewState));

  *(__IO uint32_t *) CR_FWU_BB = (uint32_t)NewState;
}

/**
  * @brief  Enables or disables the Ultra Low Power mode.
  * @param  NewState: new state of the Ultra Low Power mode.
  *   This parameter can be: ENABLE or DISABLE.
  * @retval None
  */
void PWR_UltraLowPowerCmd(FunctionalState NewState)
{
  /* Check the parameters */
  assert_param(IS_FUNCTIONAL_STATE(NewState));

  *(__IO uint32_t *) CR_ULP_BB = (uint32_t)NewState;
}

/**
  * @}
  */

/** @defgroup PWR_Group5 Voltage Scaling configuration functions
 *  @brief   Voltage Scaling configuration functions 
 *
@verbatim   
 ===============================================================================
                     Voltage Scaling configuration functions
 ===============================================================================  

 - The dynamic voltage scaling is a power management technique which consists in 
   increasing or decreasing the voltage used for the digital peripherals (VCORE), 
   according to the circumstances.
   
   Depending on the device voltage range, the maximum frequency and FLASH wait
   state should be adapted accordingly:
   
        +------------------------------------------------------------------+     
        |   Wait states   |                HCLK clock frequency (MHz)      |
        |                 |------------------------------------------------|     
        |    (Latency)    |            voltage range       | voltage range | 
        |                 |            1.65 V - 3.6 V      | 2.0 V - 3.6 V |
        |                 |----------------|---------------|---------------|
        |                 |     Range 3    |    Range 2    |    Range 1    |
        |                 |  VCORE = 1.2 V | VCORE = 1.5 V | VCORE = 1.8 V |
        |---------------- |----------------|---------------|---------------|             
        | 0WS(1CPU cycle) |0 < HCLK <= 2   |0 < HCLK <= 8  |0 < HCLK <= 16 |
        |-----------------|----------------|---------------|---------------|  
        | 1WS(2CPU cycle) |2 < HCLK <= 4   |8 < HCLK <= 16 |16 < HCLK <= 32|
        |-----------------|----------------|---------------|---------------|  
        | CPU Performance |      Low       |     Medium    |     High      |
        |-----__----------|----------------|---------------|---------------|  
        |Power Performance|      High      |     Medium    |      Low      |                 
        +------------------------------------------------------------------+    

 - To modify the Product voltage range, user application has to:
   - Check VDD to identify which ranges are allowed (see table above)
   - Check the PWR_FLAG_VOSF (Voltage Scaling update ongoing) using the PWR_GetFlagStatus() 
     function and wait until it is  reset.
   - Configure the Voltage range using the PWR_VoltageScalingConfig() function.

 - When VCORE range 1 is selected and VDD drops below 2.0 V, the application must
   reconfigure the system:
   - Detect that VDD drops below 2.0 V using the PVD Level 1
   - Adapt the clock frequency to the voltage range that will be selected at next step
   - Select the required voltage range
   - When VCORE range 2 or range 3 is selected and VDD drops below 2.0 V, no system
     reconfiguration is required.
 
 - When VDD is above 2.0 V, any of the 3 voltage ranges can be selected
   - When the voltage range is above the targeted voltage range (e.g. from range 
     1 to 2):
     - Adapt the clock frequency to the lower voltage range that will be selected 
       at next step.
     - Select the required voltage range.
   - When the voltage range is below the targeted voltage range (e.g. from range 
     3 to 1):
     - Select the required voltage range.
     - Tune the clock frequency if needed.
 
 - When VDD is below 2.0 V, only range 2 and 3 can be selected:
   - From range 2 to range 3
     - Adapt the clock frequency to voltage range 3.
     - Select voltage range 3.
   - From range 3 to range 2
     - Select the voltage range 2.
     - Tune the clock frequency if needed.

@endverbatim
  * @{
  */

/**
  * @brief  Configures the voltage scaling range.
  * @note   During voltage scaling configuration, the system clock is stopped 
  *         until the regulator is stabilized (VOSF = 0). This must be taken 
  *         into account during application developement, in case a critical 
  *         reaction time to interrupt is needed, and depending on peripheral 
  *         used (timer, communication,...).
  *             
  * @param  PWR_VoltageScaling: specifies the voltage scaling range.
  *   This parameter can be:
  *     @arg PWR_VoltageScaling_Range1: Voltage Scaling Range 1 (VCORE = 1.8V)
  *     @arg PWR_VoltageScaling_Range2: Voltage Scaling Range 2 (VCORE = 1.5V)
  *     @arg PWR_VoltageScaling_Range3: Voltage Scaling Range 3 (VCORE = 1.2V)     
  * @retval None
  */
void PWR_VoltageScalingConfig(uint32_t PWR_VoltageScaling)
{
  uint32_t tmp = 0;
  
  /* Check the parameters */
  assert_param(IS_PWR_VOLTAGE_SCALING_RANGE(PWR_VoltageScaling));
  
  tmp = PWR->CR;

  tmp &= CR_VOS_MASK;
  tmp |= PWR_VoltageScaling;
  
  PWR->CR = tmp & 0xFFFFFFF3;

}

/**
  * @}
  */

/** @defgroup PWR_Group6 Low Power modes configuration functions
 *  @brief   Low Power modes configuration functions 
 *
@verbatim   
 ===============================================================================
                    Low Power modes configuration functions
 ===============================================================================  

  The devices feature five low-power modes:
   - Low power run mode: regulator in low power mode, limited clock frequency, 
     limited number of peripherals running.
   - Sleep mode: Cortex-M3 core stopped, peripherals kept running.
   - Low power sleep mode: Cortex-M3 core stopped, limited clock frequency, 
     limited number of peripherals running, regulator in low power mode.
   - Stop mode: all clocks are stopped, regulator running, regulator in low power mode
   - Standby mode: VCORE domain powered off
   
   Low power run mode (LP run)
   ===========================
    - Entry:
      - Decrease the system frequency.
      - The regulator is forced in low power mode using the PWR_EnterLowPowerRunMode()
        function.
    - Exit:
      - The regulator is forced in Main regulator mode sing the PWR_EnterLowPowerRunMode()
        function.
      - Increase the system frequency if needed.

   Sleep mode
   ===========
    - Entry:
      - The Sleep mode is entered by using the PWR_EnterSleepMode(PWR_Regulator_ON,) 
        function with regulator ON.
    - Exit:
      - Any peripheral interrupt acknowledged by the nested vectored interrupt 
        controller (NVIC) can wake up the device from Sleep mode.

   Low power sleep mode (LP sleep)
   ===============================
    - Entry:
      - The Flash memory must be switched off by using the FLASH_SLEEPPowerDownCmd()
        function.
      - Decrease the system frequency.
      - The regulator is forced in low power mode and the WFI or WFE instructions
        are executed using the PWR_EnterSleepMode(PWR_Regulator_LowPower,) function 
        with regulator in LowPower.
    - Exit:
      - Any peripheral interrupt acknowledged by the nested vectored interrupt 
        controller (NVIC) can wake up the device from Sleep LP mode.

   Stop mode
   ==========
   In Stop mode, all clocks in the VCORE domain are stopped, the PLL, the MSI,
   the HSI and the HSE RC oscillators are disabled. Internal SRAM and register 
   contents are preserved.
   The voltage regulator can be configured either in normal or low-power mode.
   To minimize the consumption In Stop mode, VREFINT, the BOR, PVD, and temperature
   sensor can be switched off before entering the Stop mode. They can be switched 
   on again by software after exiting the Stop mode using the PWR_UltraLowPowerCmd()
   function. 
   
    - Entry:
      - The Stop mode is entered using the PWR_EnterSTOPMode(PWR_Regulator_LowPower,) 
        function with regulator in LowPower or with Regulator ON.
    - Exit:
      - Any EXTI Line (Internal or External) configured in Interrupt/Event mode.
      
   Standby mode
   ============
   The Standby mode allows to achieve the lowest power consumption. It is based 
   on the Cortex-M3 deepsleep mode, with the voltage regulator disabled. 
   The VCORE domain is consequently powered off. The PLL, the MSI, the HSI 
   oscillator and the HSE oscillator are also switched off. SRAM and register 
   contents are lost except for the RTC registers, RTC backup registers and 
   Standby circuitry.
   
   The voltage regulator is OFF.
   
   To minimize the consumption In Standby mode, VREFINT, the BOR, PVD, and temperature
   sensor can be switched off before entering the Standby mode. They can be switched 
   on again by software after exiting the Standby mode using the PWR_UltraLowPowerCmd()
   function. 
   
    - Entry:
      - The Standby mode is entered using the PWR_EnterSTANDBYMode() function.
    - Exit:
      - WKUP pin rising edge, RTC alarm (Alarm A and Alarm B), RTC wakeup,
        tamper event, time-stamp event, external reset in NRST pin, IWDG reset.              

   Auto-wakeup (AWU) from low-power mode
   =====================================
   The MCU can be woken up from low-power mode by an RTC Alarm event, an RTC 
   Wakeup event, a tamper event, a time-stamp event, or a comparator event, 
   without depending on an external interrupt (Auto-wakeup mode).

   - RTC auto-wakeup (AWU) from the Stop mode
     ----------------------------------------
     
     - To wake up from the Stop mode with an RTC alarm event, it is necessary to:
       - Configure the EXTI Line 17 to be sensitive to rising edges (Interrupt 
         or Event modes) using the EXTI_Init() function.
       - Enable the RTC Alarm Interrupt using the RTC_ITConfig() function
       - Configure the RTC to generate the RTC alarm using the RTC_SetAlarm() 
         and RTC_AlarmCmd() functions.
     - To wake up from the Stop mode with an RTC Tamper or time stamp event, it 
       is necessary to:
       - Configure the EXTI Line 19 to be sensitive to rising edges (Interrupt 
         or Event modes) using the EXTI_Init() function.
       - Enable the RTC Tamper or time stamp Interrupt using the RTC_ITConfig() 
         function
       - Configure the RTC to detect the tamper or time stamp event using the
         RTC_TimeStampConfig(), RTC_TamperTriggerConfig() and RTC_TamperCmd()
         functions.
     - To wake up from the Stop mode with an RTC WakeUp event, it is necessary to:
       - Configure the EXTI Line 20 to be sensitive to rising edges (Interrupt 
         or Event modes) using the EXTI_Init() function.
       - Enable the RTC WakeUp Interrupt using the RTC_ITConfig() function
       - Configure the RTC to generate the RTC WakeUp event using the RTC_WakeUpClockConfig(), 
         RTC_SetWakeUpCounter() and RTC_WakeUpCmd() functions.

   - RTC auto-wakeup (AWU) from the Standby mode
     -------------------------------------------
     - To wake up from the Standby mode with an RTC alarm event, it is necessary to:
       - Enable the RTC Alarm Interrupt using the RTC_ITConfig() function
       - Configure the RTC to generate the RTC alarm using the RTC_SetAlarm() 
         and RTC_AlarmCmd() functions.
     - To wake up from the Standby mode with an RTC Tamper or time stamp event, it 
       is necessary to:
       - Enable the RTC Tamper or time stamp Interrupt using the RTC_ITConfig() 
         function
       - Configure the RTC to detect the tamper or time stamp event using the
         RTC_TimeStampConfig(), RTC_TamperTriggerConfig() and RTC_TamperCmd()
         functions.
     - To wake up from the Standby mode with an RTC WakeUp event, it is necessary to:
       - Enable the RTC WakeUp Interrupt using the RTC_ITConfig() function
       - Configure the RTC to generate the RTC WakeUp event using the RTC_WakeUpClockConfig(), 

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
蜜桃一区二区三区在线观看| 欧美一区二区三区的| 久久色视频免费观看| 美女视频免费一区| 精品999久久久| 韩国在线一区二区| 26uuu久久天堂性欧美| 国产成人在线影院 | 亚洲三级在线观看| 国产98色在线|日韩| 久久久美女毛片| 国产iv一区二区三区| 综合av第一页| 欧美日本韩国一区二区三区视频| 婷婷一区二区三区| 亚洲一区二区三区四区的| 日韩三级精品电影久久久 | 色婷婷综合久久久久中文一区二区 | 在线这里只有精品| 日韩在线卡一卡二| 久久精品视频免费| 91丨九色丨黑人外教| 亚洲精品ww久久久久久p站| 日本精品视频一区二区三区| 日韩专区欧美专区| 国产精品福利在线播放| 欧美精品xxxxbbbb| 成人黄色软件下载| 日本vs亚洲vs韩国一区三区二区| 久久久一区二区三区| 精品蜜桃在线看| 天堂午夜影视日韩欧美一区二区| 欧美zozozo| 欧美日韩国产小视频在线观看| 久久精品999| 韩国一区二区视频| 日韩精品中文字幕一区 | 久久久噜噜噜久噜久久综合| 欧美影院午夜播放| 99re6这里只有精品视频在线观看| 五月天网站亚洲| 夜夜嗨av一区二区三区四季av| 欧美不卡一二三| 欧美三级韩国三级日本一级| 91福利在线看| 在线观看一区不卡| 99久久伊人网影院| jizz一区二区| bt欧美亚洲午夜电影天堂| 激情伊人五月天久久综合| 日韩av电影免费观看高清完整版 | 欧美亚洲另类激情小说| 国产乱码精品一品二品| 国产成a人无v码亚洲福利| 国产一区啦啦啦在线观看| 国产91在线观看| 91在线高清观看| 在线观看精品一区| 欧美一级艳片视频免费观看| 91精品综合久久久久久| 在线播放中文字幕一区| 日韩三级电影网址| 国产欧美日产一区| 日韩美女视频一区二区 | 日韩免费福利电影在线观看| 精品精品国产高清a毛片牛牛| 欧美三级日本三级少妇99| 777色狠狠一区二区三区| 久久众筹精品私拍模特| 中文字幕一区二区不卡| 亚洲一区二区偷拍精品| 久久99精品久久久久久国产越南| 韩国女主播成人在线观看| 99re成人精品视频| 精品久久五月天| 亚洲日本va在线观看| 韩国在线一区二区| 欧美日韩久久久一区| 国产网站一区二区| 日韩中文字幕亚洲一区二区va在线 | 中文天堂在线一区| 午夜久久久久久| 国产凹凸在线观看一区二区| 717成人午夜免费福利电影| 国产午夜精品一区二区 | 欧美成人a∨高清免费观看| 日产精品久久久久久久性色| 亚洲成av人影院| 国产网站一区二区三区| 香蕉久久夜色精品国产使用方法| 在线不卡a资源高清| 久久av中文字幕片| 国产精品久久久久久久久果冻传媒 | 国产拍揄自揄精品视频麻豆| 日本欧美一区二区在线观看| 91麻豆精东视频| 中文字幕不卡一区| 日韩精品一卡二卡三卡四卡无卡| 蜜桃av噜噜一区| 欧美性猛交xxxx黑人交| 国产日产欧美一区| 国产毛片精品视频| 欧美一区二区三区不卡| 丝袜美腿成人在线| 欧美高清精品3d| 日韩精彩视频在线观看| 精品国产乱子伦一区| 国产剧情一区在线| 亚洲少妇30p| 在线电影欧美成精品| 国产激情一区二区三区| 亚洲综合在线第一页| 精品福利在线导航| 成年人网站91| 亚洲综合小说图片| 日韩午夜三级在线| 精品一区二区免费看| 欧美国产国产综合| 欧美日韩免费一区二区三区视频| 久久er精品视频| 成人欧美一区二区三区视频网页| 国产在线精品视频| 亚洲男女一区二区三区| 欧美精品久久一区| 成人免费的视频| 亚洲国产精品一区二区久久恐怖片| 欧美一区二区三区四区高清| 国产精品18久久久久| 亚洲影院在线观看| 国产欧美日韩精品a在线观看| 欧美二区三区91| 欧美三级电影网站| 欧美午夜理伦三级在线观看| 国产精品自拍av| 丁香婷婷深情五月亚洲| 亚洲另类春色校园小说| 91亚洲精华国产精华精华液| 岛国精品在线观看| 欧美性受xxxx黑人xyx| 午夜精品福利一区二区三区av| 另类小说一区二区三区| 亚洲制服丝袜av| 一区二区不卡在线视频 午夜欧美不卡在| 国产精品国产自产拍在线| 国产亚洲婷婷免费| 久久免费电影网| 国产欧美一区二区三区鸳鸯浴 | 日本视频免费一区| 日韩精彩视频在线观看| 午夜成人免费视频| 人禽交欧美网站| 玖玖九九国产精品| 国产一区二区三区黄视频 | 欧美高清hd18日本| 欧美日韩在线电影| 91精品国产综合久久香蕉的特点| 日韩一区二区精品葵司在线| 欧美一区二区三区色| 国产日韩欧美电影| 午夜久久久影院| 免费观看在线综合| av不卡免费在线观看| 91精品久久久久久蜜臀| 国产无人区一区二区三区| 日韩综合一区二区| 国产精品亚洲一区二区三区在线| a级精品国产片在线观看| 高清国产一区二区| 在线观看日韩电影| 日韩午夜av电影| 最近日韩中文字幕| 日韩精品免费视频人成| 国产精品18久久久久久久久久久久| 色综合久久久久久久久久久| 欧美一区二区视频网站| 国产精品久久免费看| 久久99国产乱子伦精品免费| 91精品福利视频| 精品三级av在线| 亚洲乱码日产精品bd| 精品一区二区三区的国产在线播放| 91在线观看成人| 欧美国产精品劲爆| 国产一区二区导航在线播放| 在线观看日韩高清av| 欧美国产一区视频在线观看| 日本欧美在线观看| 欧美日韩免费高清一区色橹橹 | 欧美一区在线视频| 日韩和欧美一区二区| 精品99一区二区三区| 处破女av一区二区| 国产精品午夜免费| 91国偷自产一区二区三区观看| 日本不卡123| 国产精品国产三级国产aⅴ入口 | 久久久久国产精品厨房| 美女网站色91| 日韩欧美电影一二三| 日韩国产在线一|