SPRAD24 august 2023 AM2631 , AM2632 , AM2632-Q1 , AM2634 , AM2634-Q1 , AM263P4 , AM263P4-Q1
After the INT configuration, the following lines are necessary to register and enable interrupt. Line 1 is to initiate the hardware interrupt parameters with the defaults. Line 2 is to update the interrupt number with the one configured in previous section. More details on definition of the macro can be found in "cslr_intr_r5fss0_core0.h". If other clusters or cores are used, similar files can be located in the SDK. Line 3 assigns a callback function to the hardware interrupt. It only takes function addresses. Line 4 construct the hardware interrupt with the updated hardware interrupt parameters. If there is something wrong, line 5 will send fault message into CCS console via JTAG. If the interrupt status is not cleared, it will start to run after line 6 clear the status. In order to keep the interrupt running continuously, line 6 must be called every execution of the callback function.