CMSIS2000  0.0.7
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
interrupt.h File Reference

This file is used to define exeptions and interrupt subroutines macroses for selected arch. More...

Go to the source code of this file.

Macros

#define ISR_EXCEPTION(name)   ISR_IRQhook(name##_Handler)
#define ISR_EXCEPTION_PROTO(name)   ISR_HANDLER_PROTO(name##_Handler)
#define ISR_IRQ(name)   ISR_IRQint(name)
#define ISR_IRQ_PROTO(name)   ISR_IRQ_PROTOint(name)
#define ISR_IRQ_PROTOint(name)   ISR_HANDLER_PROTO(name##_IRQHandler)
#define ISR_IRQhook(function_name)
#define ISR_IRQint(name)   ISR_IRQhook(name##_IRQHandler)
#define VICVectAddr_ISR_HOOK()   (*(unsigned int*)(0xFFFFFF00)) = 0

Detailed Description

This file is used to define exeptions and interrupt subroutines macroses for selected arch.

Note
need to insert iConfig.h or FreeRTOSConfig.h

Definition in file interrupt.h.

Macro Definition Documentation

#define ISR_EXCEPTION (   name)    ISR_IRQhook(name##_Handler)

Definition at line 178 of file interrupt.h.

#define ISR_EXCEPTION_PROTO (   name)    ISR_HANDLER_PROTO(name##_Handler)

Definition at line 175 of file interrupt.h.

#define ISR_IRQ (   name)    ISR_IRQint(name)

Definition at line 203 of file interrupt.h.

#define ISR_IRQ_PROTO (   name)    ISR_IRQ_PROTOint(name)

Definition at line 186 of file interrupt.h.

#define ISR_IRQ_PROTOint (   name)    ISR_HANDLER_PROTO(name##_IRQHandler)

Definition at line 182 of file interrupt.h.

#define ISR_IRQhook (   function_name)
Value:
inline static void function_name##_internal( void ); \
ISR_HANDLER(function_name) \
{ \
function_name##_internal() ; \
VIC->VectAddress = 0; \
}; \
inline static void function_name##_internal( void )

Definition at line 189 of file interrupt.h.

#define ISR_IRQint (   name)    ISR_IRQhook(name##_IRQHandler)

Definition at line 200 of file interrupt.h.

#define VICVectAddr_ISR_HOOK ( )    (*(unsigned int*)(0xFFFFFF00)) = 0

Definition at line 170 of file interrupt.h.