ARM: New define ARMV7M_EXCEPTION_PRIORITY_LOWEST

This commit is contained in:
Sebastian Huber
2012-03-24 20:07:17 +01:00
parent 3c0e7f9b4a
commit f9ec60046b

View File

@@ -296,6 +296,8 @@ typedef struct {
#define ARMV7M_VECTOR_IRQ(n) ((n) + 16)
#define ARMV7M_IRQ_OF_VECTOR(n) ((n) - 16)
#define ARMV7M_EXCEPTION_PRIORITY_LOWEST 255
static inline bool _ARMV7M_Is_vector_an_irq( int vector )
{
return vector >= 16;