AnsweredAssumed Answered

LPC1788 - LPCOpen Using NVIC Interrupts?

Question asked by John Whitmore on Oct 5, 2017
Latest reply on Oct 5, 2017 by LPCX support

Hello all, first off the house keeping. I'm developing using the MUCXpresso-IDE and a Segger J-Link device for an NXP LPX1788.

 

So my problem is that I'm sending a CAN Frame on one of the CAN Channels in the device but I'm not getting an interrupt to confirm that the Frame has been sent. That is fair enough as I've not enabled the actual peripheral interrupt in the NVIC Controller even if I have enabled the peripherals Interrupts in the CAN Registers.

 

My question is to do with the fact that I can't see any header file in LPCOpen for the NVIC controller? Has it not been included? For example I'm using the files can_17xx_40xx.h and can_17xx_40xx.c, using the API functions defined and implemented in these files to control the CAN Channel. There don't seem to be any such file for NVIC. I'll write my own functions to control it but I'd prefer to use a standardised API, if there is one.

 

Cheers for any help.

Outcomes