This is a repository for all my programs or modified programs.

Committer:
mturner5
Date:
Sun Sep 11 23:48:09 2016 +0000
Revision:
0:72480818e4a9
Made delays for the LEDS and button presses

Who changed what in which revision?

UserRevisionLine numberNew contents of line
mturner5 0:72480818e4a9 1 /* mbed Microcontroller Library - cmsis_nvic
mturner5 0:72480818e4a9 2 * Copyright (c) 2009-2011 ARM Limited. All rights reserved.
mturner5 0:72480818e4a9 3 *
mturner5 0:72480818e4a9 4 * CMSIS-style functionality to support dynamic vectors
mturner5 0:72480818e4a9 5 */
mturner5 0:72480818e4a9 6
mturner5 0:72480818e4a9 7 #ifndef MBED_CMSIS_NVIC_H
mturner5 0:72480818e4a9 8 #define MBED_CMSIS_NVIC_H
mturner5 0:72480818e4a9 9
mturner5 0:72480818e4a9 10 #define NVIC_NUM_VECTORS (16 + 32) // CORE + MCU Peripherals
mturner5 0:72480818e4a9 11 #define NVIC_USER_IRQ_OFFSET 16
mturner5 0:72480818e4a9 12
mturner5 0:72480818e4a9 13 #include "cmsis.h"
mturner5 0:72480818e4a9 14
mturner5 0:72480818e4a9 15 #ifdef __cplusplus
mturner5 0:72480818e4a9 16 extern "C" {
mturner5 0:72480818e4a9 17 #endif
mturner5 0:72480818e4a9 18
mturner5 0:72480818e4a9 19 void NVIC_SetVector(IRQn_Type IRQn, uint32_t vector);
mturner5 0:72480818e4a9 20 uint32_t NVIC_GetVector(IRQn_Type IRQn);
mturner5 0:72480818e4a9 21
mturner5 0:72480818e4a9 22 #ifdef __cplusplus
mturner5 0:72480818e4a9 23 }
mturner5 0:72480818e4a9 24 #endif
mturner5 0:72480818e4a9 25
mturner5 0:72480818e4a9 26 #endif