mirror of
https://github.com/apache/nuttx.git
synced 2026-08-15 17:33:18 +00:00
LP43: Add support for more than 63 interrupts (not currently needed)
This commit is contained in:
parent
828c898a80
commit
b5c37f0270
1 changed files with 5 additions and 0 deletions
|
|
@ -344,7 +344,12 @@ void up_irqinitialize(void)
|
|||
/* Disable all interrupts */
|
||||
|
||||
putreg32(0, NVIC_IRQ0_31_ENABLE);
|
||||
#if LPC43M4_IRQ_NIRQS > 31
|
||||
putreg32(0, NVIC_IRQ32_63_ENABLE);
|
||||
#if LPC43M4_IRQ_NIRQS > 63
|
||||
putreg32(0, NVIC_IRQ64_95_ENABLE);
|
||||
#endif
|
||||
#endif
|
||||
|
||||
/* Make sure that we are using the correct vector table. The default
|
||||
* vector address is 0x0000:0000 but if we are executing code that is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue