Dr. Diduch's template, compiling without errors.
Fork of mbed by
LPC1768/cmsis_nvic.h@1:bc4604ce8531, 2016-02-03 (annotated)
- Committer:
- JordanWisdom
- Date:
- Wed Feb 03 17:24:37 2016 +0000
- Revision:
- 1:bc4604ce8531
- Parent:
- 0:a8fa94490a0a
minor updates to get this one working.
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
gokmenascioglu | 0:a8fa94490a0a | 1 | /* mbed Microcontroller Library - cmsis_nvic |
gokmenascioglu | 0:a8fa94490a0a | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
gokmenascioglu | 0:a8fa94490a0a | 3 | * |
gokmenascioglu | 0:a8fa94490a0a | 4 | * CMSIS-style functionality to support dynamic vectors |
gokmenascioglu | 0:a8fa94490a0a | 5 | */ |
gokmenascioglu | 0:a8fa94490a0a | 6 | |
gokmenascioglu | 0:a8fa94490a0a | 7 | #ifndef MBED_CMSIS_NVIC_H |
gokmenascioglu | 0:a8fa94490a0a | 8 | #define MBED_CMSIS_NVIC_H |
gokmenascioglu | 0:a8fa94490a0a | 9 | |
gokmenascioglu | 0:a8fa94490a0a | 10 | #include "cmsis.h" |
gokmenascioglu | 0:a8fa94490a0a | 11 | |
gokmenascioglu | 0:a8fa94490a0a | 12 | #ifdef __cplusplus |
gokmenascioglu | 0:a8fa94490a0a | 13 | extern "C" { |
gokmenascioglu | 0:a8fa94490a0a | 14 | #endif |
gokmenascioglu | 0:a8fa94490a0a | 15 | |
gokmenascioglu | 0:a8fa94490a0a | 16 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
gokmenascioglu | 0:a8fa94490a0a | 17 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
gokmenascioglu | 0:a8fa94490a0a | 18 | |
gokmenascioglu | 0:a8fa94490a0a | 19 | #ifdef __cplusplus |
gokmenascioglu | 0:a8fa94490a0a | 20 | } |
gokmenascioglu | 0:a8fa94490a0a | 21 | #endif |
gokmenascioglu | 0:a8fa94490a0a | 22 | |
gokmenascioglu | 0:a8fa94490a0a | 23 | #endif |