Direct Port Manipulation Pins

Should this be PINB as I’ve changed the clk_mask pin?