__HAL_AFIO_REMAP_SWJ_DISABLE
时间: 2023-09-06 12:12:57 浏览: 236
__HAL_AFIO_REMAP_SWJ_DISABLE是一个宏定义,在C语言中用于禁用JTAG-DP和SW-DP。具体实现是通过操作寄存器来实现的。引用和引用分别给出了具体的代码实现,其中使用了SET_BIT和CLEAR_BIT来设置或清除特定位。引用则解释了禁用JTAG-DP和SW-DP的含义。综上所述,__HAL_AFIO_REMAP_SWJ_DISABLE宏定义的作用是禁用JTAG-DP和SW-DP。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [STM32的hal库下载一次后无法再下载问题](https://blog.csdn.net/ayfen/article/details/109339446)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文