pub unsafe fn write<T>(register: *const T, bit: u8, set: bool)
Sets or clears the bit on the provided register without modifying other bits.
Some registers have reserved bits which should not be modified.