We can set/clear GPIOs using
GpioDataRegs.GPADAT.all =0xAAAAAAAA;
or
GpioDataRegs.GPASET.all =0xAAAAAAAA;
I am curious to know the difference - I always use SET/CLEAR but one of my team members asked me the difference last night and I didn't have a good answer [:D]
When one will use one method over another?