I have a tendency to over use parentheses to make sure my code does what I want it to do. I could always just test this by running the code to see if it does what I want it to do but I just get more assurance this way since sometimes I’m not sure what takes precedence over the other. Is it good or bad practice to be doing this? Or neither?
Ie. #define SetBit(addr, bit) ((*((volatile uint32_t*)(addr))) |= (1<<(bit)))