TRAP_COUNT Constant

intr.h

#define TRAP_COUNT (LAST_TRAP - FIRST_TRAP + 1)

Returns the total number of Auto-Int vectors.

You can use it together with FIRST_TRAP, LAST_TRAP, and TRAP to loop through all interrupts.