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

          新聞中心

          EEPW首頁 > 模擬技術(shù) > 設(shè)計應(yīng)用 > 工程師應(yīng)該掌握的STM32單片機關(guān)鍵基礎(chǔ)精華

          工程師應(yīng)該掌握的STM32單片機關(guān)鍵基礎(chǔ)精華

          作者: 時間:2013-10-09 來源:網(wǎng)絡(luò) 收藏
          : auto; orphans: 2; widows: 2; webkit-text-stroke-width: 0px">  RCC_Configuration();

            。。。。。。

            繼續(xù)跟蹤

            void RCC_Configuration(void)

            {

            SystemInit();

            。。。。。。

            這行代碼在system_stm32f10x.c中找到了。

            void SystemInit (void)

            {

            /* Reset the RCC clock configuration to the default reset state(for debug purpose) */

            /* Set HSION bit */

            RCC-》CR |= (uint32_t)0x00000001;

            /* Reset SW, HPRE, PPRE1, PPRE2, ADCPRE and MCO bits */

            #ifndef F10X_CL

            RCC-》CFGR = (uint32_t)0xF8FF0000;

            #else

            RCC-》CFGR = (uint32_t)0xF0FF0000;

            #endif /* F10X_CL */

            /* Reset HSEON, CSSON and PLLON bits */

            RCC-》CR = (uint32_t)0xFEF6FFFF;

            /* Reset HSEBYP bit */

            RCC-》CR = (uint32_t)0xFFFBFFFF;

            /* Reset PLLSRC, PLLXTPRE, PLLMUL and USBPRE/OTGFSPRE bits */

            RCC-》CFGR = (uint32_t)0xFF80FFFF;

            #ifndef F10X_CL



          關(guān)鍵詞: STM32 單片機

          評論


          相關(guān)推薦

          技術(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); })();