I want to use the register of Nordic's P0 port directly to set 1 or clear 0. Like this,
p_reg-> OUTCLR = clr_mask;
P_reg - & gt; OUTSET = set_mask;
p_reg-> OUTCLR = 20;
P_reg - & gt; OUTSET = 20;
But it can't be done. Show me how to do it thanks!