Browse Source

Merge pull request #112 from duff2013/master

Get enabled NVIC ISR's
teensy4-core
Paul Stoffregen 9 years ago
parent
commit
bf3e5b2e69
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      teensy3/kinetis.h

+ 1
- 0
teensy3/kinetis.h View File

@@ -4678,6 +4678,7 @@ typedef struct __attribute__((packed)) {
#define NVIC_DISABLE_IRQ(n) (*((volatile uint32_t *)0xE000E180 + ((n) >> 5)) = (1 << ((n) & 31)))
#define NVIC_SET_PENDING(n) (*((volatile uint32_t *)0xE000E200 + ((n) >> 5)) = (1 << ((n) & 31)))
#define NVIC_CLEAR_PENDING(n) (*((volatile uint32_t *)0xE000E280 + ((n) >> 5)) = (1 << ((n) & 31)))
#define NVIC_IS_ENABLED(n) (*((volatile uint32_t *)0xE000E100 + ((n) >> 5)) & (1 << ((n) & 31)))
#define NVIC_IS_PENDING(n) (*((volatile uint32_t *)0xE000E200 + ((n) >> 5)) & (1 << ((n) & 31)))
#define NVIC_IS_ACTIVE(n) (*((volatile uint32_t *)0xE000E300 + ((n) >> 5)) & (1 << ((n) & 31)))
#ifdef KINETISK

Loading…
Cancel
Save