riot_sys

Function bitarith_msb_32bit_no_native_clz

Source
pub unsafe extern "C" fn bitarith_msb_32bit_no_native_clz(
    v: c_uint,
) -> c_uint
Expand description

@brief Returns the number of the highest ‘1’ bit in a value

     Internal software implementation for 32 bit platforms,
     use @see bitarithm_msb in application code.

@param[in] v Input value @return Bit Number