美文网首页
跑马灯程序

跑马灯程序

作者: s7_200_smart | 来源:发表于2016-05-12 16:56 被阅读263次

    下图文件在/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
    STM32F2xxxx Reference Manual.pdf 第148页
    void Uart2Init(void);        /LED/User/uart.c
    
    /LED/STM32F2xx_StdPeriph_Driver/inc/stm32f2xx_usart.h

    相关文章

      网友评论

          本文标题:跑马灯程序

          本文链接:https://www.haomeiwen.com/subject/zydprttx.html