浏览代码

Add extra NVIC_ISER registers

teensy4-core
PaulStoffregen 10 年前
父节点
当前提交
8632eda964
共有 1 个文件被更改,包括 4 次插入0 次删除
  1. +4
    -0
      teensy3/kinetis.h

+ 4
- 0
teensy3/kinetis.h 查看文件

@@ -2532,8 +2532,12 @@ typedef struct __attribute__((packed)) {

#define NVIC_ISER0 (*(volatile uint32_t *)0xE000E100)
#define NVIC_ISER1 (*(volatile uint32_t *)0xE000E104)
#define NVIC_ISER2 (*(volatile uint32_t *)0xE000E108)
#define NVIC_ISER3 (*(volatile uint32_t *)0xE000E10C)
#define NVIC_ICER0 (*(volatile uint32_t *)0xE000E180)
#define NVIC_ICER1 (*(volatile uint32_t *)0xE000E184)
#define NVIC_ICER2 (*(volatile uint32_t *)0xE000E188)
#define NVIC_ICER3 (*(volatile uint32_t *)0xE000E18C)

// 0 = highest priority
// Cortex-M4: 0,16,32,48,64,80,96,112,128,144,160,176,192,208,224,240

正在加载...
取消
保存