embassy-stm32

Crates

git

Versions

stm32u545je

Flavors

Function resolution_to_max_count

Source
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.