Function tm4c123x_hal::bb::change_bit

source ·
pub unsafe fn change_bit<T>(address: *const T, bit: u8, value: bool)
Expand description

Sets/Clears a bit at the given address atomically, using the bit-banding feature. We take a const pointer and mutate it, but that’s because the svd2rust crate will only give us const pointers.