meh
Fork of mbed by
TARGET_GHI_MBUINO/cmsis_nvic.h@88:9327015d4013, 2014-08-15 (annotated)
- Committer:
- bogdanm
- Date:
- Fri Aug 15 15:28:31 2014 +0100
- Revision:
- 88:9327015d4013
Release 88 of the mbed library
Main changes:
- changed "error.h" to "mbed_error.h" to avoid conflicts with 3rd party code
- LPC1549 SPI driver fixes
- K64F Ethernet TX buffer reclaim mechanism fix
- STDIO initialization fix
- NUCLEO_F334R8 I2C clock fix
- various other fixes
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
bogdanm | 88:9327015d4013 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
bogdanm | 88:9327015d4013 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
bogdanm | 88:9327015d4013 | 3 | * |
bogdanm | 88:9327015d4013 | 4 | * CMSIS-style functionality to support dynamic vectors |
bogdanm | 88:9327015d4013 | 5 | */ |
bogdanm | 88:9327015d4013 | 6 | |
bogdanm | 88:9327015d4013 | 7 | #ifndef MBED_CMSIS_NVIC_H |
bogdanm | 88:9327015d4013 | 8 | #define MBED_CMSIS_NVIC_H |
bogdanm | 88:9327015d4013 | 9 | |
bogdanm | 88:9327015d4013 | 10 | #include "cmsis.h" |
bogdanm | 88:9327015d4013 | 11 | |
bogdanm | 88:9327015d4013 | 12 | #define NVIC_NUM_VECTORS (16 + 32) // CORE + MCU Peripherals |
bogdanm | 88:9327015d4013 | 13 | #define NVIC_USER_IRQ_OFFSET 16 |
bogdanm | 88:9327015d4013 | 14 | |
bogdanm | 88:9327015d4013 | 15 | #ifdef __cplusplus |
bogdanm | 88:9327015d4013 | 16 | extern "C" { |
bogdanm | 88:9327015d4013 | 17 | #endif |
bogdanm | 88:9327015d4013 | 18 | |
bogdanm | 88:9327015d4013 | 19 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
bogdanm | 88:9327015d4013 | 20 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
bogdanm | 88:9327015d4013 | 21 | |
bogdanm | 88:9327015d4013 | 22 | #ifdef __cplusplus |
bogdanm | 88:9327015d4013 | 23 | } |
bogdanm | 88:9327015d4013 | 24 | #endif |
bogdanm | 88:9327015d4013 | 25 | |
bogdanm | 88:9327015d4013 | 26 | #endif |