Direct Port Manipulation Pins

PINB = _BV(0);
PORTB &= ~(clk_mask);
uint8_t clk = PINB & clk_mask;
Still freezing