embassy-stm32

Crates

git

Versions

stm32g474qe

Flavors

embassy_stm32::cordic::utils

Function f32_to_q1_15

Source
pub fn f32_to_q1_15(value: f32) -> Result<u16, NumberOutOfRange>
Expand description

convert float point to fixed point format