ads1115 only
Fork of mbed by
TARGET_KL05Z/cmsis_nvic.h@83:8a40adfe8776, 2014-04-28 (annotated)
- Committer:
- bogdanm
- Date:
- Mon Apr 28 17:39:05 2014 +0100
- Revision:
- 83:8a40adfe8776
- Parent:
- 78:ed8466a608b4
- Child:
- 90:cb3d968589d8
Release 83 of the mbed library
Main changes:
- updated tests
- K64F TCP/IP support
- lots of fixes in various targets
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
emilmont | 78:ed8466a608b4 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
emilmont | 78:ed8466a608b4 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
emilmont | 78:ed8466a608b4 | 3 | * |
emilmont | 78:ed8466a608b4 | 4 | * CMSIS-style functionality to support dynamic vectors |
emilmont | 78:ed8466a608b4 | 5 | */ |
emilmont | 78:ed8466a608b4 | 6 | |
emilmont | 78:ed8466a608b4 | 7 | #ifndef MBED_CMSIS_NVIC_H |
emilmont | 78:ed8466a608b4 | 8 | #define MBED_CMSIS_NVIC_H |
emilmont | 78:ed8466a608b4 | 9 | |
emilmont | 78:ed8466a608b4 | 10 | #include "cmsis.h" |
emilmont | 78:ed8466a608b4 | 11 | |
emilmont | 78:ed8466a608b4 | 12 | #define NVIC_NUM_VECTORS (16 + 32) // CORE + MCU Peripherals |
emilmont | 78:ed8466a608b4 | 13 | #define NVIC_USER_IRQ_OFFSET 16 |
emilmont | 78:ed8466a608b4 | 14 | |
emilmont | 78:ed8466a608b4 | 15 | #ifdef __cplusplus |
emilmont | 78:ed8466a608b4 | 16 | extern "C" { |
emilmont | 78:ed8466a608b4 | 17 | #endif |
emilmont | 78:ed8466a608b4 | 18 | |
emilmont | 78:ed8466a608b4 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
emilmont | 78:ed8466a608b4 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
emilmont | 78:ed8466a608b4 | 21 | |
emilmont | 78:ed8466a608b4 | 22 | #ifdef __cplusplus |
emilmont | 78:ed8466a608b4 | 23 | } |
emilmont | 78:ed8466a608b4 | 24 | #endif |
emilmont | 78:ed8466a608b4 | 25 | |
emilmont | 78:ed8466a608b4 | 26 | #endif |