NOW,i open the CAN interrupt,CAN TX interrupt also open,i want to know how to close the CAN TX interrupt.
Hi,
The Message Buffer interrupt is enabled if respective bit in IMASK1 register is set. Then if flag is set in the IFLAG1 register the interrupt is called. The flag is cleared by writing 1 to respective bit in the IFLAG1.
If you do not want to have interrupt generated after successful message transmission, then clear respective bit in IMASK1 register.
BR, Petr