embassy-stm32

Crates

git

Versions

stm32u599zi

Flavors

f32_to_q1_15

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