初级会员

- 积分
- 173
- 金钱
- 173
- 注册时间
- 2016-11-4
- 在线时间
- 22 小时
|
GPIO_InitTypeDef *GPIO_InitStruct;
GPIO_InitStruct->GPIO_Mode=GPIO_Mode_AF_PP;
GPIO_InitStruct->GPIO_Pin=GPIO_Pin_1;
GPIO_InitStruct->GPIO_Speed=GPIO_Speed_50MHz;
GPIO_Init(GPIOA,GPIO_InitStruct);
和
GPIO_InitTypeDef GPIO_InitStruct;
GPIO_InitStruct.GPIO_Mode=GPIO_Mode_AF_PP;
GPIO_InitStruct.GPIO_Pin=GPIO_Pin_1;
GPIO_InitStruct.GPIO_Speed=GPIO_Speed_50MHz;
GPIO_Init(GPIOA,&GPIO_InitStruct);
这两个程序达到的效果是一样的吗
|
|