GPIOA->CRH|=0X20000000;
时间: 2023-11-01 20:21:15 浏览: 99
GPIOA->CRH|=0X20000000; 是对GPIOA的控制寄存器高位的设置操作。这个操作是将CRH寄存器的对应位设置为1,具体的操作是将CRH寄存器的值与0X20000000进行按位或运算。这样可以设置GPIOA的某个引脚的状态为输出模式。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *3* [GPIOB->CRH&=0XFFFF0FFF;GPIOB->CRH|=(u32)8;(学习笔记)](https://blog.csdn.net/m0_71548440/article/details/125894236)[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: 50%"]
- *2* [stm32f103c8t6手工设置位带,了解底层原理入门用](https://download.csdn.net/download/uuq/12657892)[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: 50%"]
[ .reference_list ]
阅读全文