loop_until_bit_is_set

loop_until_bit_is_set(sfr, bit)

Wait until bit bit in IO register sfr is set.