汇集网友智慧,解决技术难题
赞0
评论
2023-03-28
点击图片添加到编辑器内容中
点击文件名将附件添加到文章中
提交
tyw
317个答案
天意无罪
287个答案
xch
220个答案
jjjyufan
202个答案
coody
197个答案
LcwSwust
161个答案
chunyang
135个答案
呐咯密密
114个答案
赞0
GPIO_StructInit(&GPIO_InitStruct); //初始化结构体
GPIO_InitStruct.GPIO_Mode = GPIO_Mode_IN; //GPIO输入模式
GPIO_InitStruct.GPIO_Pin = GPIO_Pin_3;
GPIO_InitStruct.GPIO_PuPd = GPIO_PuPd_NOPULL;
GPIO_Init(GPIO2, &GPIO_InitStruct);
GPIO_PinAFConfig(GPIO2, GPIO_PinSource_3, AF3_MCPWM);
评论
2023-03-28
您需要登录后才可以回复 登录 | 注册