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

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? stm32l1xx_pwr.c

?? VS1003_MP3_SPI_SDHC_FAT32
?? C
?? 第 1 頁(yè) / 共 3 頁(yè)
字號(hào):
        (++) 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(), 
                   RTC_SetWakeUpCounter() and RTC_WakeUpCmd() functions.

    (+) Comparator auto-wakeup (AWU) from the Stop mode
        (++) To wake up from the Stop mode with an comparator 1 or comparator 2 wakeup
             event, it is necessary to:
             (+++) Configure the EXTI Line 21 for comparator 1 or EXTI Line 22 for comparator 2 
                   to be sensitive to to the selected edges (falling, rising or falling 
                   and rising) (Interrupt or Event modes) using the EXTI_Init() function.
             (+++) Configure the comparator to generate the event.

@endverbatim
  * @{
  */

/**
  * @brief  Enters/Exits the Low Power Run mode.
  * @note   Low power run mode can only be entered when VCORE is in range 2.
  *         In addition, the dynamic voltage scaling must not be used when Low 
  *         power run mode is selected. Only Stop and Sleep modes with regulator 
  *         configured in Low power mode is allowed when Low power run mode is 
  *         selected.  
  * @note   In Low power run mode, all I/O pins keep the same state as in Run mode.
  * @param  NewState: new state of the Low Power Run mode.
  *   This parameter can be: ENABLE or DISABLE.
  * @retval None
  */
void PWR_EnterLowPowerRunMode(FunctionalState NewState)
{
  /* Check the parameters */
  assert_param(IS_FUNCTIONAL_STATE(NewState));

  if (NewState != DISABLE)
  {
    PWR->CR |= PWR_CR_LPSDSR;
    PWR->CR |= PWR_CR_LPRUN;     
  }
  else
  {
    PWR->CR &= (uint32_t)~((uint32_t)PWR_CR_LPRUN); 
    PWR->CR &= (uint32_t)~((uint32_t)PWR_CR_LPSDSR);  
  }  
}

/**
  * @brief  Enters Sleep mode.
  * @note   In Sleep mode, all I/O pins keep the same state as in Run mode.  
  * @param  PWR_Regulator: specifies the regulator state in Sleep mode.
  *   This parameter can be one of the following values:
  *     @arg PWR_Regulator_ON: Sleep mode with regulator ON
  *     @arg PWR_Regulator_LowPower: Sleep mode with regulator in low power mode
  * @note   Low power sleep mode can only be entered when VCORE is in range 2.
  * @note   When the voltage regulator operates in low power mode, an additional 
  *         startup delay is incurred when waking up from Low power sleep mode.
  * @param  PWR_SLEEPEntry: specifies if SLEEP mode in entered with WFI or WFE instruction.
  *   This parameter can be one of the following values:
  *     @arg PWR_SLEEPEntry_WFI: enter SLEEP mode with WFI instruction
  *     @arg PWR_SLEEPEntry_WFE: enter SLEEP mode with WFE instruction
  * @retval None
  */
void PWR_EnterSleepMode(uint32_t PWR_Regulator, uint8_t PWR_SLEEPEntry)
{
  uint32_t tmpreg = 0;

  /* Check the parameters */
  assert_param(IS_PWR_REGULATOR(PWR_Regulator));

  assert_param(IS_PWR_SLEEP_ENTRY(PWR_SLEEPEntry));
  
  /* Select the regulator state in Sleep mode ---------------------------------*/
  tmpreg = PWR->CR;
  
  /* Clear PDDS and LPDSR bits */
  tmpreg &= CR_DS_MASK;
  
  /* Set LPDSR bit according to PWR_Regulator value */
  tmpreg |= PWR_Regulator;
  
  /* Store the new value */
  PWR->CR = tmpreg;

  /* Clear SLEEPDEEP bit of Cortex System Control Register */
  SCB->SCR &= (uint32_t)~((uint32_t)SCB_SCR_SLEEPDEEP);
  
  /* Select SLEEP mode entry -------------------------------------------------*/
  if(PWR_SLEEPEntry == PWR_SLEEPEntry_WFI)
  {   
    /* Request Wait For Interrupt */
    __WFI();
  }
  else
  {
    /* Request Wait For Event */
    __WFE();
  }
}

/**
  * @brief  Enters STOP mode.
  * @note   In Stop mode, all I/O pins keep the same state as in Run mode.
  * @note   When exiting Stop mode by issuing an interrupt or a wakeup event, 
  *         the MSI RC oscillator is selected as system clock.
  * @note   When the voltage regulator operates in low power mode, an additional 
  *         startup delay is incurred when waking up from Stop mode. 
  *         By keeping the internal regulator ON during Stop mode, the consumption 
  *         is higher although the startup time is reduced.
  * @param  PWR_Regulator: specifies the regulator state in STOP mode.
  *   This parameter can be one of the following values:
  *     @arg PWR_Regulator_ON: STOP mode with regulator ON.
  *     @arg PWR_Regulator_LowPower: STOP mode with regulator in low power mode.
  * @param  PWR_STOPEntry: specifies if STOP mode in entered with WFI or WFE instruction.
  *   This parameter can be one of the following values:
  *     @arg PWR_STOPEntry_WFI: enter STOP mode with WFI instruction.
  *     @arg PWR_STOPEntry_WFE: enter STOP mode with WFE instruction.
  * @retval None
  */
void PWR_EnterSTOPMode(uint32_t PWR_Regulator, uint8_t PWR_STOPEntry)
{
  uint32_t tmpreg = 0;
  
  /* Check the parameters */
  assert_param(IS_PWR_REGULATOR(PWR_Regulator));
  assert_param(IS_PWR_STOP_ENTRY(PWR_STOPEntry));
  
  /* Select the regulator state in STOP mode ---------------------------------*/
  tmpreg = PWR->CR;
  /* Clear PDDS and LPDSR bits */
  tmpreg &= CR_DS_MASK;
  
  /* Set LPDSR bit according to PWR_Regulator value */
  tmpreg |= PWR_Regulator;
  
  /* Store the new value */
  PWR->CR = tmpreg;
  
  /* Set SLEEPDEEP bit of Cortex System Control Register */
  SCB->SCR |= SCB_SCR_SLEEPDEEP;
  
  /* Select STOP mode entry --------------------------------------------------*/
  if(PWR_STOPEntry == PWR_STOPEntry_WFI)
  {   
    /* Request Wait For Interrupt */
    __WFI();
  }
  else
  {
    /* Request Wait For Event */
    __WFE();
  }
  /* Reset SLEEPDEEP bit of Cortex System Control Register */
  SCB->SCR &= (uint32_t)~((uint32_t)SCB_SCR_SLEEPDEEP);  
}

/**
  * @brief  Enters STANDBY mode.
  * @note   In Standby mode, all I/O pins are high impedance except for:
  *         Reset pad (still available) 
  *         RTC_AF1 pin (PC13) if configured for Wakeup pin 2 (WKUP2), tamper, 
  *         time-stamp, RTC Alarm out, or RTC clock calibration out.
  *         WKUP pin 1 (PA0) and WKUP pin 3 (PE6), if enabled.       
  * @param  None
  * @retval None
  */
void PWR_EnterSTANDBYMode(void)
{
  /* Clear Wakeup flag */
  PWR->CR |= PWR_CR_CWUF;
  
  /* Select STANDBY mode */
  PWR->CR |= PWR_CR_PDDS;
  
  /* Set SLEEPDEEP bit of Cortex System Control Register */
  SCB->SCR |= SCB_SCR_SLEEPDEEP;
  
/* This option is used to ensure that store operations are completed */
#if defined ( __CC_ARM   )
  __force_stores();
#endif
  /* Request Wait For Interrupt */
  __WFI();
}

/**
  * @}
  */

/** @defgroup PWR_Group7 Flags management functions
 *  @brief   Flags management functions 
 *
@verbatim   
  ==============================================================================
                       ##### Flags management functions #####
  ==============================================================================   

@endverbatim
  * @{
  */

/**
  * @brief  Checks whether the specified PWR flag is set or not.
  * @param  PWR_FLAG: specifies the flag to check.
  *   This parameter can be one of the following values:
  *     @arg PWR_FLAG_WU: Wake Up flag. This flag indicates that a wakeup event 
  *       was received from the WKUP pin or from the RTC alarm (Alarm A or Alarm B), 
  *       RTC Tamper event, RTC TimeStamp event or RTC Wakeup.
  *     @arg PWR_FLAG_SB: StandBy flag. This flag indicates that the system was
  *                       resumed from StandBy mode.    
  *     @arg PWR_FLAG_PVDO: PVD Output. This flag is valid only if PVD is enabled 
  *       by the PWR_PVDCmd() function.
  *     @arg PWR_FLAG_VREFINTRDY: Internal Voltage Reference Ready flag. This 
  *       flag indicates the state of the internal voltage reference, VREFINT.
  *     @arg PWR_FLAG_VOS: Voltage Scaling select flag. A delay is required for 
  *       the internal regulator to be ready after the voltage range is changed.
  *       The VOSF flag indicates that the regulator has reached the voltage level 
  *       defined with bits VOS[1:0] of PWR_CR register.
  *     @arg PWR_FLAG_REGLP: Regulator LP flag. This flag is set by hardware 
  *       when the MCU is in Low power run mode.
  *       When the MCU exits from Low power run mode, this flag stays SET until 
  *       the regulator is ready in main mode. A polling on this flag is 
  *       recommended to wait for the regulator main mode. 
  *       This flag is RESET by hardware when the regulator is ready.       
  * @retval The new state of PWR_FLAG (SET or RESET).
  */
FlagStatus PWR_GetFlagStatus(uint32_t PWR_FLAG)
{
  FlagStatus bitstatus = RESET;
  /* Check the parameters */
  assert_param(IS_PWR_GET_FLAG(PWR_FLAG));
  
  if ((PWR->CSR & PWR_FLAG) != (uint32_t)RESET)
  {
    bitstatus = SET;
  }
  else
  {
    bitstatus = RESET;
  }
  /* Return the flag status */
  return bitstatus;
}

/**
  * @brief  Clears the PWR's pending flags.
  * @param  PWR_FLAG: specifies the flag to clear.
  *   This parameter can be one of the following values:
  *     @arg PWR_FLAG_WU: Wake Up flag
  *     @arg PWR_FLAG_SB: StandBy flag
  * @retval None
  */
void PWR_ClearFlag(uint32_t PWR_FLAG)
{
  /* Check the parameters */
  assert_param(IS_PWR_CLEAR_FLAG(PWR_FLAG));
         
  PWR->CR |=  PWR_FLAG << 2;
}

/**
  * @}
  */

/**
  * @}
  */

/**
  * @}
  */

/**
  * @}
  */

/******************* (C) COPYRIGHT 2012 STMicroelectronics *****END OF FILE****/

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色综合久久中文字幕综合网| 国产精品77777竹菊影视小说| 五月天精品一区二区三区| 免费人成精品欧美精品| 高清在线观看日韩| 欧美视频一区二区三区在线观看| 国产嫩草影院久久久久| 蜜臀av性久久久久av蜜臀妖精| 99国产欧美久久久精品| 国产肉丝袜一区二区| 免费在线欧美视频| 欧美精品色一区二区三区| 亚洲三级电影全部在线观看高清| 国产成人综合网站| 精品国产乱码久久久久久蜜臀| 三级不卡在线观看| 日本精品一级二级| 亚洲精品国产a久久久久久 | 久久国产免费看| 91久久一区二区| 日韩一区有码在线| 成人免费视频免费观看| 欧美国产一区二区| 国产成人免费av在线| 精品处破学生在线二十三| 免费高清在线一区| 日韩一级高清毛片| 日本不卡的三区四区五区| 欧美日韩一区中文字幕| 亚洲最大色网站| 欧美日韩五月天| 亚洲一区二区三区四区在线免费观看| 91麻豆文化传媒在线观看| 日韩毛片一二三区| 国产成人亚洲综合色影视| 黄一区二区三区| 91丨porny丨在线| 久久精品国产**网站演员| 免费在线观看视频一区| 日韩电影在线一区二区| 亚洲欧美影音先锋| 亚洲欧美区自拍先锋| 亚洲免费在线电影| 一区二区三区免费在线观看| 性感美女极品91精品| 亚洲国产三级在线| 777精品伊人久久久久大香线蕉| 亚洲国产成人av| 欧美一区二区三区视频免费| 青青国产91久久久久久| 久久久综合精品| 99国产精品久久久久久久久久久 | 日日嗨av一区二区三区四区| 91精品麻豆日日躁夜夜躁| 另类小说一区二区三区| 亚洲国产精品99久久久久久久久| 成人avav影音| 亚洲成人黄色小说| 久久先锋影音av| 日本久久一区二区三区| 免费在线看一区| 中文字幕在线不卡视频| 欧美视频一区二| 国产一区欧美一区| 亚洲精品ww久久久久久p站| 欧美老肥妇做.爰bbww视频| 国产在线精品一区二区不卡了| 综合精品久久久| 欧美一区二区三区视频免费播放| 丁香网亚洲国际| 日韩中文字幕麻豆| 国产精品第13页| 日韩精品在线看片z| 99re成人在线| 国内精品国产成人| 亚洲黄色av一区| 国产清纯在线一区二区www| 欧美日韩精品三区| 成人动漫中文字幕| 美女脱光内衣内裤视频久久网站 | 精品久久国产老人久久综合| 99在线精品一区二区三区| 首页欧美精品中文字幕| 国产精品电影院| 26uuu国产在线精品一区二区| 色噜噜狠狠色综合中国| 国产丶欧美丶日本不卡视频| 日韩国产在线观看一区| 亚洲婷婷在线视频| 国产精品系列在线| 欧美不卡视频一区| 欧美日韩一二区| 色吧成人激情小说| 国产成人8x视频一区二区 | 亚洲资源在线观看| 国产精品久久久久久福利一牛影视| 91精品国产综合久久蜜臀| 一本一道久久a久久精品| 丰满白嫩尤物一区二区| 国内久久婷婷综合| 日韩电影在线观看电影| 亚洲国产日韩a在线播放| 中文字幕亚洲区| 日本一区二区三区国色天香| 精品国产一二三区| 日韩免费电影一区| 欧美一级片在线看| 日韩一区二区三区高清免费看看| 欧美综合视频在线观看| 91搞黄在线观看| 色婷婷精品大视频在线蜜桃视频| jlzzjlzz亚洲日本少妇| 成人不卡免费av| 99久久综合色| 91亚洲男人天堂| 91成人在线免费观看| 欧美伊人久久久久久久久影院 | 国产亚洲欧美中文| 久久青草欧美一区二区三区| 精品国产第一区二区三区观看体验 | 欧美喷潮久久久xxxxx| 欧美日韩在线电影| 69久久夜色精品国产69蝌蚪网| 欧美二区在线观看| 日韩一级大片在线观看| 26uuu久久天堂性欧美| 国产午夜亚洲精品羞羞网站| 国产女同性恋一区二区| 国产精品久久久久久久久免费相片 | 亚洲四区在线观看| 亚洲激情在线激情| 亚洲国产精品久久人人爱| 天天综合网 天天综合色| 麻豆国产91在线播放| 粉嫩欧美一区二区三区高清影视| av中文字幕亚洲| 欧美日韩在线不卡| 精品久久99ma| 国产精品久久久久久亚洲毛片| 亚洲三级在线看| 日日摸夜夜添夜夜添精品视频| 久久精品国产**网站演员| 成人av在线网站| 欧美老女人在线| 久久久不卡网国产精品一区| 亚洲色图在线视频| 免费视频一区二区| 91在线高清观看| 69久久99精品久久久久婷婷| 国产欧美综合在线观看第十页| 亚洲精品成人悠悠色影视| 蜜桃精品在线观看| 99re成人在线| 精品久久久久久综合日本欧美 | 国产亚洲视频系列| 亚洲午夜在线视频| 国产成人欧美日韩在线电影| 精品视频1区2区3区| 国产精品美女久久久久久久久久久 | 久久众筹精品私拍模特| 亚洲伦理在线免费看| 精品午夜久久福利影院| 日本乱码高清不卡字幕| 久久久精品中文字幕麻豆发布| 亚洲欧美另类图片小说| 国产一区二区三区最好精华液| 色香色香欲天天天影视综合网| 26uuuu精品一区二区| 午夜影视日本亚洲欧洲精品| 粉嫩绯色av一区二区在线观看| 日韩欧美中文字幕公布| 亚洲一区二区av在线| av亚洲精华国产精华精华 | 国产美女主播视频一区| 欧美精品色综合| 一区二区三区免费观看| 成人精品视频一区二区三区| 日韩欧美国产小视频| 亚洲成人久久影院| 91碰在线视频| 国产精品久99| 国产精品99久久久久| 欧美va在线播放| 美女mm1313爽爽久久久蜜臀| 欧美日韩亚洲综合| 一区二区三区不卡视频在线观看| 成人av网站在线观看免费| 久久婷婷国产综合国色天香| 久久99精品久久久久婷婷| 678五月天丁香亚洲综合网| 亚洲成av人片在线观看无码| 色婷婷久久99综合精品jk白丝| 亚洲人成人一区二区在线观看| 成人动漫在线一区| 中文字幕亚洲一区二区va在线| 国产成人精品影视| 国产欧美日韩激情| www.亚洲色图.com| 亚洲欧洲另类国产综合| 99久久婷婷国产|