1, call the library function version of what? Corresponding source file / header file is which?
Library Functions | Source File | head File |
RCC_AHB1PeriphClockCmd(RCC_AHB1Periph_GPIOF, ENABLE) | stm32f4xx_rcc.c | stm32f4xx_rcc.h |
GPIO_Init(GPIOF, &GPIO_InitStruct) | stm32f4xx_gpio.c | stm32f4xx_gpio.h |
GPIO_SetBits(GPIOF,GPIO_Pin_9 | GPIO_Pin_10) | stm32f4xx_gpio.c | stm32f4xx_gpio.h |
GPIO_ResetBits(GPIOF,GPIO_Pin_9) | stm32f4xx_gpio.c | stm32f4xx_gpio.h |
2, register the version register call?
register | Source File | head File |
RCC->AHB1ENR |= 1<<5; | stm32f4xx.h | |
GPIOF->MODER &= ~(3<<9*2); | stm32f4xx.h | |
GPIOF->OTYPER &=~(1<<9); | stm32f4xx.h | |
GPIOF->OSPEEDR &= ~(3<<9*2); | stm32f4xx.h | |
GPIOF->PUPDR &= ~(3<<9*2); | stm32f4xx.h | |
GPIOF->ODR &= ~(1<<9); | stm32f4xx.h | |
Stm32_Clock_Init(336,8,2,7); | sys.c | sys.h |