关于 "stm32f10x.h"头文件,请大神赐教。。。

[复制链接]
675|0
 楼主| 一亚麻怡 发表于 2018-6-27 15:06 | 显示全部楼层 |阅读模式

         ****  Nested Vectored Interrupt Controller  ****  



/******************  Bit definition for NVIC_ISER register  *******************/

#define  NVIC_ISER_SETENA                    ((uint32_t)0xFFFFFFFF)        /*!< Interrupt set enable bits */

#define  NVIC_ISER_SETENA_0                  ((uint32_t)0x00000001)        /*!< bit 0 */

#define  NVIC_ISER_SETENA_1                  ((uint32_t)0x00000002)        /*!< bit 1 */

#define  NVIC_ISER_SETENA_2                  ((uint32_t)0x00000004)        /*!< bit 2 */

......

#define  NVIC_ISER_SETENA_31                 ((uint32_t)0x80000000)        /*!< bit 31 */



       ----- 这都是什么的地址?(后面的同问)



/******************  Bit definition for NVIC_ICER register  *******************/

#define  NVIC_ICER_CLRENA                   ((uint32_t)0xFFFFFFFF)        /*!< Interrupt clear-enable bits */

#define  NVIC_ICER_CLRENA_0                  ((uint32_t)0x00000001)        /*!< bit 0 */

.......





/******************  Bit definition for NVIC_ISPR register  *******************/

#define  NVIC_ISPR_SETPEND                   ((uint32_t)0xFFFFFFFF)        /*!< Interrupt set-pending bits */

#define  NVIC_ISPR_SETPEND_0                 ((uint32_t)0x00000001)        /*!< bit 0 */

......



/******************  Bit definition for NVIC_ICPR register  *******************/

#define  NVIC_ICPR_CLRPEND                   ((uint32_t)0xFFFFFFFF)        /*!< Interrupt clear-pending bits */

#define  NVIC_ICPR_CLRPEND_0                 ((uint32_t)0x00000001)        /*!< bit 0 */



..........



/******************  Bit definition for NVIC_IABR register  *******************/

#define  NVIC_IABR_ACTIVE                    ((uint32_t)0xFFFFFFFF)        /*!< Interrupt active flags */

#define  NVIC_IABR_ACTIVE_0                  ((uint32_t)0x00000001)        /*!< bit 0 */



.......

求赐教。。。。







您需要登录后才可以回帖 登录 | 注册

本版积分规则

404

主题

404

帖子

0

粉丝
快速回复 在线客服 返回列表 返回顶部