bitwise question how to set all bits to zero

Hi,

This line of code results in the value 0x1000000 being in this 32 bit register.

SCSS_SS->ss_cfg |= SS_CFG_RUN_REQ_A;

I want to set the value to be 0x0. i.e. set all bits to zero.

What bitwise operation should I do to achieve this?

Thanks

Just set it to 0

SCSS_SS->ss_cfg = 0;

But if you really need to use a bitwise op (not sure why you would need to though)

SCSS_SS->ss_cfg &= 0;