mask_range

Function mask_range 

Source
pub fn mask_range(upper: u32, lower: u32) -> u8
Expand description

Masks out all bits in positions less than upper, but greater than or equal to lower (upper < bit <= lower)