1 2 3
pub const fn ctl_code(device_type: u32, function: u32, method: u32, access: u32) -> u32 { (device_type << 16) | (access << 14) | (function << 2) | method }