and it offers some pins with _C sufix (PC2_C, PC3_C). From the RM0433 fig.75 I gather this is something with the "analog switch" and in order to use these _C pins as AF for some device (SPI2 in my case) need to set some SYSCFG pins and connect them. Is this ...
引脚PA0,PA1,PC2,PC3用于ADC时,还有一组对应的可选引脚PA0_C,PA1_C,PC2_C和PC3_C。此函数的作用就是切换可选引脚。 16.3.8 BOOST的使能和禁止(用于ADC) 函数原型: void HAL_SYSCFG_EnableBOOST(void) void HAL_SYSCFG_DisableBOOST(void) 函数描述: 这两个函数用于使能或者禁止Booster。如果使能了booster的...
引脚PA0,PA1,PC2,PC3用于ADC时,还有一组对应的可选引脚PA0_C,PA1_C,PC2_C和PC3_C。此函数的作用就是切换可选引脚。关于这个问题的详情可看此贴:http://www.armbbs.cn/forum.php?mod=viewthread&tid=87707 。 16.3.8 BOOST的使能和禁止(用于ADC) 函数原型: void HAL_SYSCFG_EnableBOOST(...
引脚PA0,PA1,PC2,PC3用于ADC时,还有一组对应的可选引脚PA0_C,PA1_C,PC2_C和PC3_C。此函数的作用就是切换可选引脚。关于这个问题的详情可看此贴:http://forum.armfly.com/forum.php?mod=viewthread&tid=87707。 16.3.8 BOOST的使能和禁止(用于ADC) 函数原型: 代码语言:javascript 复制 voidHAL_SYSCFG_Enab...
/* RST <--- PC3 复位信号 */ #define RST_CLK_ENABLE() __HAL_RCC_GPIOC_CLK_ENABLE() #define RST_GPIO GPIOC #define RST_PIN GPIO_PIN_3 #define RST_1() RST_GPIO->BSRR = RST_PIN #define RST_0() RST_GPIO->BSRR = ((uint32_t)RST_PIN << 16U) #endif...