embassy-stm32

Crates

git

Versions

stm32h563vg

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