pub fn set_bit_range(b: &mut u8, lsb: u8, msb: u8, value: u8)Expand description
Set the given ‘value’ in byte ‘b’ in the range of the given bit positions ‘lsb’ (least significant bit) and ‘msb’ (most significant bit) inclusive. the other bits are not touched.