pub fn mask_upper(idx: u32) -> u8
Expand description

Masks all bits with an index greater than idx.