<meter id="pryje"><nav id="pryje"><delect id="pryje"></delect></nav></meter>
          <label id="pryje"></label>

          新聞中心

          STM32低功耗模式簡介

          作者: 時間:2016-11-17 來源:網(wǎng)絡(luò) 收藏
          STM32F10xxx有三中低功耗模式

          ●睡眠模式(Cortex?-M3內(nèi)核停止,外設(shè)仍在運行)
          ●停止模式(所有的時鐘都以停止)
          ●待機模式(1.8V電源關(guān)閉)

          本文引用地址:http://www.ex-cimer.com/article/201611/315435.htm

          時鐘頻率72MHz時,從閃存執(zhí)行代碼,STM32功耗36mA,是32位市場上功耗最低的產(chǎn)品,相當(dāng)于0.5mA/MHz。

          上電,默認使用內(nèi)部HSI時鐘8M,經(jīng)測試10mA左右。待機模式可實現(xiàn)系統(tǒng)的最低功耗??蓪㈦娏飨慕抵羶晌?。

          在待機模式下,所有的I/O引腳處于高阻態(tài),除了以下的引腳:
          ●復(fù)位引腳(始終有效)
          ●當(dāng)被設(shè)置為防侵入或校準(zhǔn)輸出時的TAMPER引腳
          ●被使能的喚醒引腳

          /*按鈕GPIOB9進入睡眠,WKUP pin(GPIOA0)喚醒,GPIOD3-LED 200ms閃爍*/
          int main(void)
          {
          /* System Clocks Configuration **********************************************/
          RCC_Configuration();

          GPIO_Configuration();

          /* Enable PWR and BKP clock */
          RCC_APB1PeriphClockCmd(RCC_APB1Periph_PWR | RCC_APB1Periph_BKP, ENABLE);

          /* Enable WKUP pin */
          PWR_WakeUpPinCmd(ENABLE);

          /* Allow access to BKP Domain */
          PWR_BackupAccessCmd(ENABLE);

          //RTC_Configuration();

          EXTI_Configuration();

          NVIC_Configuration();

          SysTick_Config(SystemFrequency / 1000 *200 ); //200ms

          while (1)
          {

          Delay(0xAFFFF);

          }
          }




          關(guān)鍵詞: STM32低功耗模

          評論


          技術(shù)專區(qū)

          關(guān)閉
          看屁屁www成人影院,亚洲人妻成人图片,亚洲精品成人午夜在线,日韩在线 欧美成人 (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })();