×

画圆+实时时钟+实时显示+彩图

消耗积分:0 | 格式:rar | 大小:1762KB | 2017-06-07

h1654155963.0492

分享资料个

  /********************************************************************

  * copyright (c) 2013 深圳信盈达电子有限公司 All rigth reserved;

  *

  * 文件名 : stm32_map.h

  * 文件功能: 寄存器地址定义及声明

  *

  * 当前版 : V1.0;

  * 输入原作者(或修改者)名字: 王苑增

  *

  * 完成时间: 2013.8.27

  * 取代版 : V1.0 ;

  * 输入原作者(或修改者)名字: 王苑增

  * 完成时间: 2013.8.27

  *********************************************************************/

  #ifndef __STM32F10x_MAP_H

  #define __STM32F10x_MAP_H

  /******************************《GPIO》********************************/

  typedef struct

  {

  volatile unsigned CRL;

  volatile unsigned CRH;

  volatile unsigned IDR;

  volatile unsigned ODR;

  volatile unsigned BSRR;

  volatile unsigned BRR;

  volatile unsigned LCKR;

  } GPIO_TypeDef;

  /******************************《RCC》********************************/

  typedef struct

  {

  volatile unsigned CR;

  volatile unsigned CFGR;

  volatile unsigned CIR;

  volatile unsigned APB2RSTR;

  volatile unsigned APB1RSTR;

  volatile unsigned AHBENR;

  volatile unsigned APB2ENR;

  volatile unsigned APB1ENR;

  volatile unsigned BDCR;

  volatile unsigned CSR;

  } RCC_TypeDef;

  /******************************《各类寄存器地址映射》********************************/

  #define GPIOB ((GPIO_TypeDef *) 0x40010c00)

  #define GPIOE ((GPIO_TypeDef *) 0x40011800)

  #define RCC ((RCC_TypeDef *) 0x40021000)

  #endif /* __STM32F10x_MAP_H */
画圆+实时时钟+实时显示+彩图

声明:本文内容及配图由入驻作者撰写或者入驻合作网站授权转载。文章观点仅代表作者本人,不代表电子发烧友网立场。文章及其配图仅供工程师学习之用,如有内容侵权或者其他违规问题,请联系本站处理。 举报投诉

评论(0)
发评论

下载排行榜

全部0条评论

快来发表一下你的评论吧 !