This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

LAUNCHXL-F28379D: C2000Ware Interrupt functions in peripheral headers

Part Number: LAUNCHXL-F28379D

Hello,

I hope this question has not been asked yet. If yes, sorry (but I did not find it)

In the header in each peripheral, we can find an enable/disable function of the interrupt for this peripheral.  CPUTimer_disableInterrupt() for instance.

I thought that this functin would set/reset the Enable bit in the PIE register.

I mean, I expected that CPUTimer_disableInterrupt(CPUTIMER0_BASE); would be equal to PieCtrlRegs.PIEIER1.bit.INTx7=0; , but it does not. I checked in the debug mode:

The function does not reset the INTx.7 bit in PIE control register 1 neither the INT1 bit in the Core register.

I know that the answer is in the definition of the function (below), but I do not understand it ( sorry)