#STM32F4#
报错显示:error: #136: struct "<unnamed>" has no field "BSRR" error: #136: struct "<unnamed>" has no field "BRR"
在F1中使用BSRR和BRR这两个寄存器
#define AIN2_HIGH() (GPIOB->BSRR = GPIO_Pin_12)
#define AIN2_LOW() (GPIOB->BRR = GPIO_Pin_12)
#define BIN1_HIGH() (GPIOB->BSRR = GPIO_Pin_15)
#define BIN1_LOW() (GPIOB->BRR = GPIO_Pin_15)
#define BIN2_HIGH() (GPIOB->BSRR = GPIO_Pin_14)
#define BIN2_LOW() (GPIOB->BRR = GPIO_Pin_14)