Content originally posted in LPCWare by MikeSimmonds on Mon Sep 24 12:05:11 MST 2012
[FONT=Tahoma][SIZE=2]Investigation on a 1778 device (LQFP-208) has revealed that the NVIC implements 42 IRQs. :eek:
This is easily verified: write -1 to the first 2 'set pending' registers, read them back
[I get FFFFFFFF and 3FF], count the '1' bits.
It would be prudent to diasble these interrupts first; w[/SIZE][/FONT][FONT=Tahoma][SIZE=2]rite -1 to the first 2 'clear enable'
registers[/SIZE][/FONT][FONT=Tahoma][SIZE=2].
[/SIZE][/FONT][FONT=Tahoma][SIZE=2]
Only 41 are documented: Watchdog to EEPROM.
Does anyone know what the extra one is for, and if it would be safe
to use it as a software triggered interrupt?
Cheers, Mike[/SIZE][/FONT][FONT=Tahoma][SIZE=2]
[/SIZE][/FONT]