/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/adc/fsl_adc_hal.h substitute line 894 extern } by }
Fork of mbed by
TARGET_NRF51822/cmsis_nvic.h@80:8e73be2a2ac1, 2014-02-21 (annotated)
- Committer:
- emilmont
- Date:
- Fri Feb 21 12:21:39 2014 +0000
- Revision:
- 80:8e73be2a2ac1
- Child:
- 90:cb3d968589d8
First alpha release for the NRF51822 target (to be tested in the online IDE)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
emilmont | 80:8e73be2a2ac1 | 1 | /* mbed Microcontroller Library - cmsis_nvic |
emilmont | 80:8e73be2a2ac1 | 2 | * Copyright (c) 2009-2011 ARM Limited. All rights reserved. |
emilmont | 80:8e73be2a2ac1 | 3 | * |
emilmont | 80:8e73be2a2ac1 | 4 | * CMSIS-style functionality to support dynamic vectors |
emilmont | 80:8e73be2a2ac1 | 5 | */ |
emilmont | 80:8e73be2a2ac1 | 6 | |
emilmont | 80:8e73be2a2ac1 | 7 | #ifndef MBED_CMSIS_NVIC_H |
emilmont | 80:8e73be2a2ac1 | 8 | #define MBED_CMSIS_NVIC_H |
emilmont | 80:8e73be2a2ac1 | 9 | |
emilmont | 80:8e73be2a2ac1 | 10 | #define NVIC_NUM_VECTORS (16 + 32) // CORE + MCU Peripherals |
emilmont | 80:8e73be2a2ac1 | 11 | #define NVIC_USER_IRQ_OFFSET 16 |
emilmont | 80:8e73be2a2ac1 | 12 | |
emilmont | 80:8e73be2a2ac1 | 13 | #include "nrf51822.h" |
emilmont | 80:8e73be2a2ac1 | 14 | #include "cmsis.h" |
emilmont | 80:8e73be2a2ac1 | 15 | |
emilmont | 80:8e73be2a2ac1 | 16 | |
emilmont | 80:8e73be2a2ac1 | 17 | #ifdef __cplusplus |
emilmont | 80:8e73be2a2ac1 | 18 | extern "C" { |
emilmont | 80:8e73be2a2ac1 | 19 | #endif |
emilmont | 80:8e73be2a2ac1 | 20 | |
emilmont | 80:8e73be2a2ac1 | 21 | void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector); |
emilmont | 80:8e73be2a2ac1 | 22 | uint32_t NVIC_GetVector(IRQn_Type IRQn); |
emilmont | 80:8e73be2a2ac1 | 23 | |
emilmont | 80:8e73be2a2ac1 | 24 | #ifdef __cplusplus |
emilmont | 80:8e73be2a2ac1 | 25 | } |
emilmont | 80:8e73be2a2ac1 | 26 | #endif |
emilmont | 80:8e73be2a2ac1 | 27 | |
emilmont | 80:8e73be2a2ac1 | 28 | #endif |