0_0_28849655_7439.cpp:1:1: error: expected unqualified-id before '<' token
<code class=" hljs bash">//启动相应Port A的RCC
^
0_0_28849655_7439.cpp:3:1: error: 'GPIO_InitTypeDef' does not name a type
GPIO_InitTypeDef GPIO_InitStructure;
^
0_0_28849655_7439.cpp:4:1: error: 'GPIO_InitStructure' does not name a type
GPIO_InitStructure.GPIO_Pin=GPIO_Pin_6|GPIO_Pin_7|GPIO_Pin_8|GPIO_Pin_9|GPIO_Pin_10;
^
0_0_28849655_7439.cpp:5:1: error: 'GPIO_InitStructure' does not name a type
GPIO_InitStructure.GPIO_Speed=GPIO_Speed_2MHz;
^
0_0_28849655_7439.cpp:6:1: error: 'GPIO_InitStructure' does not name a type
GPIO_InitStructure.GPIO_Mode=GPIO_Mode_Out_PP;
^
0_0_28849655_7439.cpp:7:10: error: expected constructor, destructor, or type conversion before '(' token
GPIO_Init(GPIOA,&GPIO_InitStructure);//把设置绑定到GPIOA
^
|