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.

MSPM0G3507: driver library functions question

Part Number: MSPM0G3507


Hi Team,

There's an issue from the customer need your help:

There are some processes in the library function, such as the above figure, "return (adc12->ULLMEM.INT_EVENT1.RIS & ~(eventMask));" Why does eventMask need to be inverted? I always feel that the writing is wrong here, and the following "adc12->ULLMEM.INT_EVENT1.ICLR |= (eventMask);" is the correct way of writing; is it a wrong writing or is there any special logic processing in it?

Thanks & Regards,

Ben