Skip to content

Commit

Permalink
Add header file with IRQ handlers declarations, useful for C++.
Browse files Browse the repository at this point in the history
  • Loading branch information
pfalcon committed Oct 27, 2013
1 parent 06dcef3 commit 27e3787
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions cortexm_irqs.h
@@ -0,0 +1,29 @@
/*
* Unified Cortex Startup - IRQ handler declarations for C++
*
* This file is in public domain
*
* Put together by Paul Sokolovsky based on article by Vanya Sergeev
* http://dev.frozeneskimo.com/notes/cortex_cmsis/ , GNU ld documentation
* and numerous other public resources.
*
*/

#ifdef __cplusplus
extern "C" {
#endif

void Reset_Handler(void);
void NMI_Handler(void);
void HardFault_Handler(void);
void MemManage_Handler(void);
void BusFault_Handler(void);
void UsageFault_Handler(void);
void SVC_Handler(void);
void DebugMon_Handler(void);
void PendSV_Handler(void);
void SysTick_Handler(void);

#ifdef __cplusplus
}
#endif

0 comments on commit 27e3787

Please sign in to comment.