aboutsummaryrefslogtreecommitdiffstats
path: root/ports/ARMCM3/nvic.h
diff options
context:
space:
mode:
Diffstat (limited to 'ports/ARMCM3/nvic.h')
-rw-r--r--ports/ARMCM3/nvic.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ports/ARMCM3/nvic.h b/ports/ARMCM3/nvic.h
index 62ea7317d..f7d513412 100644
--- a/ports/ARMCM3/nvic.h
+++ b/ports/ARMCM3/nvic.h
@@ -43,8 +43,8 @@ typedef struct {
#define ENABLE_OFF_BITS (0 << 0)
#define ENABLE_ON_BITS (1 << 0)
#define CSR_TICKINT_MASK (0x1 << 1)
-#define TICKINT_DISABLED_BITS (0 << 0)
-#define TICKINT_ENABLED_BITS (1 << 0)
+#define TICKINT_DISABLED_BITS (0 << 1)
+#define TICKINT_ENABLED_BITS (1 << 1)
#define CSR_CLKSOURCE_MASK (0x1 << 2)
#define CLKSOURCE_EXT_BITS (0 << 2)
#define CLKSOURCE_CORE_BITS (1 << 2)