stm32-rs / stm32f7xx-hal

A Rust embedded-hal HAL for all MCUs in the STM32 F7 family
Apache License 2.0
117 stars 68 forks source link

[rdy] random number generation implimented #103

Closed hardfau1t closed 3 years ago

hardfau1t commented 3 years ago

It is same implementation done in stm32f4xx-hal, but with a small change, i.e. they used software calculation for checking whether rng clk condition meets the requirements or not. which prone to errors as software calculation may not give exact frequency. i used status flags for that. this addresses #102