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

          新聞中心

          STM32默認(rèn)啟動(dòng)

          作者: 時(shí)間:2016-11-28 來(lái)源:網(wǎng)絡(luò) 收藏
          TM32默認(rèn)啟動(dòng)時(shí)PB4、PB3、PA15三個(gè)引腳不是普通IO,而是JTAG的復(fù)用功能,分別為JNTRST、JTDI、JTDO。

          當(dāng)我們?cè)囉肧WD接口調(diào)試仿真時(shí),這三個(gè)引腳可以用作普通IO。

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

          具體做法就是禁用JTAG功能。只需使用以下語(yǔ)句即可。

          #define GPIO_Remap_SWJ_JTAGDisable ((uint32_t)0x00300200)

          GPIO_PinRemapConfig(GPIO_Remap_SWJ_JTAGDisable, ENABLE);



          關(guān)鍵詞: STM32默認(rèn)啟

          評(píng)論


          技術(shù)專(zhuān)區(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); })();