periph_clk_to_bit
if (!(read_enb(gate) & periph_clk_to_bit(gate)))
if (read_rst(gate) & periph_clk_to_bit(gate))
write_enb_set(periph_clk_to_bit(gate), gate);
write_enb_clr(periph_clk_to_bit(gate), gate);