embassy-stm32

Crates

git

Versions

stm32u5f7vj

Flavors

embassy_stm32::cordic::utils

Function f64_to_q1_31

source
pub fn f64_to_q1_31(value: f64) -> Result<u32, NumberOutOfRange>
Expand description

convert float point to fixed point format