meh
Fork of mbed by
TARGET_LPC11U68/cmsis_nvic.h@84:0b3ab51c8877, 2014-05-19 (annotated)
- Committer:
- bogdanm
- Date:
- Mon May 19 18:14:09 2014 +0100
- Revision:
- 84:0b3ab51c8877
- Child:
- 90:cb3d968589d8
Release 84 of the mbed library
Main changes:
- added LPC11U68 to the official build
- Bug fixes and new features for ST Nucleo boards
- I2C fixes for Freescale targets
- Added nRF51822 exporters
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 84:0b3ab51c8877 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
bogdanm | 84:0b3ab51c8877 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
bogdanm | 84:0b3ab51c8877 | 3 | * |
bogdanm | 84:0b3ab51c8877 | 4 | * CMSIS-style functionality to support dynamic vectors |
bogdanm | 84:0b3ab51c8877 | 5 | */ |
bogdanm | 84:0b3ab51c8877 | 6 | |
bogdanm | 84:0b3ab51c8877 | 7 | #ifndef MBED_CMSIS_NVIC_H |
bogdanm | 84:0b3ab51c8877 | 8 | #define MBED_CMSIS_NVIC_H |
bogdanm | 84:0b3ab51c8877 | 9 | |
bogdanm | 84:0b3ab51c8877 | 10 | #define NVIC_NUM_VECTORS (16 + 32) // CORE + MCU Peripherals |
bogdanm | 84:0b3ab51c8877 | 11 | #define NVIC_USER_IRQ_OFFSET 16 |
bogdanm | 84:0b3ab51c8877 | 12 | |
bogdanm | 84:0b3ab51c8877 | 13 | #include "cmsis.h" |
bogdanm | 84:0b3ab51c8877 | 14 | |
bogdanm | 84:0b3ab51c8877 | 15 | #ifdef __cplusplus |
bogdanm | 84:0b3ab51c8877 | 16 | extern "C" { |
bogdanm | 84:0b3ab51c8877 | 17 | #endif |
bogdanm | 84:0b3ab51c8877 | 18 | |
bogdanm | 84:0b3ab51c8877 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
bogdanm | 84:0b3ab51c8877 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
bogdanm | 84:0b3ab51c8877 | 21 | |
bogdanm | 84:0b3ab51c8877 | 22 | #ifdef __cplusplus |
bogdanm | 84:0b3ab51c8877 | 23 | } |
bogdanm | 84:0b3ab51c8877 | 24 | #endif |
bogdanm | 84:0b3ab51c8877 | 25 | |
bogdanm | 84:0b3ab51c8877 | 26 | #endif |