riot_sys::bindgen

Function bf_popcnt

Source
pub unsafe extern "C" fn bf_popcnt(
    field: *const u8,
    size: size_t,
) -> c_uint
Expand description

@brief Count set bits in the bitfield

@param[in] field The bitfield @param[in] size The number of bits in the bitfield

@return number of ‘1’ bits in the bitfield