Other Parts Discussed in Thread: HALCOGEN
I am using CAN libraries and referring the example code in Halcogen for CAN interrupt communication.
The function "_enable_interrupt_();" will enable the interrupts and triggers the Interrupt handler "canMessageNotification(canBASE_t *node, uint32 messageBox);"
However, I need to do some computations once the interrupt occurs. Therefore, I need to disable interrupt. But the function _disable_interrupt_(); is not working.
What is the issue or which function should I call to disable the CAN interrupt?
Also," _enable_interrupt_();" is not defined anywhere. How is this function mapped to interrupt handler which is "canMessageNotification()"?
_enable_interrupt_();