sys_bitarray_is_region_set

Function sys_bitarray_is_region_set 

Source
pub unsafe extern "C" fn sys_bitarray_is_region_set(
    bitarray: *mut sys_bitarray,
    num_bits: usize,
    offset: usize,
) -> bool
Expand description

Test if bits in a region is all set.

This tests if the number of bits (@p num_bits) in region starting from @p offset are all set.

@param bitarray Bitarray struct @param num_bits Number of bits to test @param offset Starting bit position to test

@retval true All bits are set. @retval false Not all bits are set.