Function stm32f1xx_hal::bb::write

source ·
pub unsafe fn write<T>(register: *const T, bit: u8, set: bool)
Expand description

Sets or clears the bit on the provided register without modifying other bits.

Safety

Some registers have reserved bits which should not be modified.