Library
Fork of mbed by
LPC1768/cmsis_nvic.h@0:a8fa94490a0a, 2012-09-22 (annotated)
- Committer:
- gokmenascioglu
- Date:
- Sat Sep 22 10:32:07 2012 +0000
- Revision:
- 0:a8fa94490a0a
alican library
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 |