下图文件在/LED/User/main.c
/User/main.c /LED/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_gpio.h//来自文件/LED/CMSIS/CM3/DeviceSupport/ST/STM32F2xx/stm32f2xx.h
0995 #define PERIPH_BASE ((uint32_t)0x40000000)/*|< Peripheral base address in the alias region */
1005 #define AHB1PERIPH_BASE (PERIPH_BASE + 0x00020000)
1056 #define GPIOD_BASE (AHB1PERIPH_BASE + 0x0C00)
1156 #define GPIOD ((GPIO_TypeDef *) GPIOD_BASE)
STM32F20x LQFP100 pinout
STM32F20x LQFP100 pinout 注释 STM32F2xxxx Reference Manual.pdf 第134页GPIO
registers | name |
---|---|
configuration registers | GPIOx_MODER |
configuration registers | GPIOx_OTYPER |
configuration registers | GPIOx_OSPEEDR |
configuration registers | GPIOx_ PUPDR |
data registers | GPIOx_IDR |
configuration registers | GPIOx_ODR |
set/reset register | GPIOx_BSRR |
locking register | GPIOx_LCKR |
void Uart2Init(void); /LED/User/uart.c
/LED/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_usart.h
网友评论