AnsweredAssumed Answered

NVIC accessing in LPCOpen

Question asked by jean valjean on Oct 6, 2016
Latest reply on Oct 6, 2016 by jean valjean

Ladies and Gentlemen,


I'd like to enable the SSP0 interrupt in the NVIC block.

Maybe, I'm completely blind, but I do not find a way, how to access the NVIC block in LPCOpen environment.

To be concrete, I'd like to set  NVIC_ISER0 bit 20.

How to do that?

LPC_NVIC->ISER0 |= 1<<20 ; to my best logic, but it doesn't compile, saying: " error: 'LPC_NVIC' undeclared (first use in this function) "