MDK 5.5-----
__HAL_RCC_GPIOA_CLK_ENABLE();
__HAL_RCC_GPIOB_CLK_ENABLE();
使能GPIO时钟:
MDK 4.7
GPIO_InitTypeDef GPIO_InitStruct; //定义初始化结构体
RCC_APB2PeriphClockCmd(RCC_APB2Periph_GPIOA,ENABLE); //使能GPIOA时钟
标签:使能,ENABLE,HAL,GPIOA,GPIO,RCC
From: https://www.cnblogs.com/hshy/p/16914032.html