pub const fn resolution_to_max_count(res: Resolution) -> u32
Expand description
Get the maximum reading value for this resolution.
This is 2**n - 1
.
pub const fn resolution_to_max_count(res: Resolution) -> u32
Get the maximum reading value for this resolution.
This is 2**n - 1
.