LPC1788 - LPCOpen Using NVIC Interrupts?

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC1788 - LPCOpen Using NVIC Interrupts?

834件の閲覧回数
johnwhitmore
Contributor III

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.

タグ(3)
1 返信

703件の閲覧回数
lpcxpresso_supp
NXP Employee
NXP Employee

You need to include the core_cm3.h file for the in-line NVIC function definitions.

Thanks and regards,

MCUXpresso Support