STM32F407マーキー実験

1、何のライブラリ関数のバージョンを呼び出しますか?対応するソース・ファイル/ヘッダ・ファイルは、ですか?

ライブラリ関数 ソース・ファイル ヘッダ
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、バージョンレジスタのコールを登録?

登録 ソース・ファイル ヘッダ
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

おすすめ

転載: www.cnblogs.com/enfengguo/p/11114686.html