<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ò) 收藏
          0px 20px; WORD-SPACING: 0px; FONT: 14px/25px 宋體, arial; TEXT-TRANSFORM: none; COLOR: rgb(0,0,0); TEXT-INDENT: 0px; PADDING-TOP: 0px; WHITE-SPACE: normal; LETTER-SPACING: normal; webkit-text-size-adjust: auto; orphans: 2; widows: 2; webkit-text-stroke-width: 0px">  /* Disable all interrupts and clear pending bits */

            RCC-》CIR = 0x009F0000;

            #else

            /* Reset PLL2ON and PLL3ON bits */

            RCC-》CR = (uint32_t)0xEBFFFFFF;

            /* Disable all interrupts and clear pending bits */

            RCC-》CIR = 0x00FF0000;

            /* Reset CFGR2 register */

            RCC-》CFGR2 = 0x00000000;

            #endif /* F10X_CL */

            /* Configure the System clock frequency, HCLK, PCLK2 and PCLK1 prescalers */

            /* Configure the Flash Latency cycles and enable prefetch buffer */

            SetSysClock();

            }

            這一長串的又是什么,如何來用呢?看來,偷懶是不成的了,只能回過頭去研究的時鐘構(gòu)成了。

            相當?shù)膹?fù)雜。

          工程師學習基礎(chǔ)手記(2):從勉強看懂一行程序到IO口研究

            STM學習筆記——用定時器實現(xiàn)熒火蟲燈

            在第6篇筆記中,我用軟件延時的方法實現(xiàn)了熒火蟲,學了定時器,當然就要用一用定時器了,這里仍是用熒火蟲燈為例。

            用ST庫所帶的例子Tim中的TimBase為例來修改,這個例子的位置以及如何建立工程請參考第7篇筆記,這里就不再重復(fù)了,下面簡述一下修改的過程。

            工程師STM32單片機學習手記(3):修修改改玩串口

           ?。?) 由于我的板子上的燈是由PD8~PD11來控制的,因此,要將

            void RCC_Configuration(void)



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