<menuitem id="fd7jj"><pre id="fd7jj"></pre></menuitem><p id="fd7jj"></p>
<pre id="fd7jj"><output id="fd7jj"></output></pre>

<pre id="fd7jj"></pre>
<p id="fd7jj"></p>
<p id="fd7jj"><p id="fd7jj"></p></p>

<pre id="fd7jj"><output id="fd7jj"><delect id="fd7jj"></delect></output></pre>

<p id="fd7jj"><delect id="fd7jj"></delect></p>

<pre id="fd7jj"></pre><p id="fd7jj"></p>

<pre id="fd7jj"><output id="fd7jj"></output></pre>
<pre id="fd7jj"><output id="fd7jj"></output></pre>

<p id="fd7jj"><delect id="fd7jj"><menuitem id="fd7jj"></menuitem></delect></p>

<p id="fd7jj"></p><p id="fd7jj"><output id="fd7jj"></output></p>
<p id="fd7jj"><delect id="fd7jj"></delect></p>

<pre id="fd7jj"></pre>

<p id="fd7jj"><output id="fd7jj"></output></p>
<p id="fd7jj"><delect id="fd7jj"><menuitem id="fd7jj"></menuitem></delect></p>

<noframes id="fd7jj">

<pre id="fd7jj"></pre>
<p id="fd7jj"></p><pre id="fd7jj"><output id="fd7jj"><delect id="fd7jj"></delect></output></pre>

<pre id="fd7jj"></pre>
哈爾濱匯豐電子科技有限公司!
led
打開客服菜單
熱門關鍵詞 : 12V調速器 12V調速器
新聞動態
當前位置: 12V調速器 > 公司動態 > GPIO_PinLockConfig(GPIOx, GPIO_Pin_y)
GPIO_PinLockConfig(GPIOx, GPIO_Pin_y)
發布時間 : 2019-10-10 20:47 瀏覽量 : 145

GPIO功能鎖存函數
   GPIO_PinLockConfig(GPIOx, GPIO_Pin_y);//鎖存選擇端口配置寄存器的對應位
  端口鎖存寄存器(GPIOA_LCKR~GPIOG_LCKR),32bit寄存器,高16位保留,低16可隨時讀出,
1代表對應配置位被激活鎖存,0代表可以被激活,激活是有固定的寫入順序的。鎖存是不能亂用的,
如果鎖存了一個端口的功能寄存器,那么在下次系統復位前,端口的功能就不可更改,這在某些情況下是有利的,
特別是在程序中如果重新定義某些GPIO口的功能時,在確定其中某一GPIO端口在整個系統運行中狀態保持不變,
鎖存就避免誤修改,但是如果鎖存的GPIO在后續的代碼段中有不同的功能,就會無法修改,產生錯誤。
因此鎖存和GPIO_StructInit, GPIO_DeInit,GPIO_AFIODeInit這些初始化函數一樣,使用前要考慮清楚。

標簽:
cache
Processed in 0.007800 Second.
无码一级做a爱过程免费视频