stm32f4xx-hal
stm32f4xx-hal copied to clipboard
A Rust embedded-hal HAL for all MCUs in the STM32 F4 family
According to manual page 804 3. To generate a 1 Hz clock for the calendar counter, program first the synchronous prescaler factor in RTC_PRER register, and then program the asynchronous...
Hi! I am new to the Rust world in general, and Rust embedded in particular. I have a stm32f469i-discovery board (https://www.st.com/en/evaluation-tools/32f469idiscovery.html) which have a display connected via the LTDC interface....
ADC config on STM32 is quite involved, it would be good if there is a quick example about that.
This is a strange phenomenon that, even I connect SCL with a wire that connected to nothing, this infinite loop breaks; And if I connect I2C to any device, this...
I added this to the hal while playing with it. Maybe it fits the upstream :)
When calling the constrain function on the RCC, it eats the register. This is highly inconvenient as I want to later enable and disable different peripheral clocks and can't access...
Title says it all. This is a basic driver allowing one to use the FMC peripheral to drive an SDRAM module which can then be accessed directly in the memory...
Please expose a way to stop a timer. Even better would be a way to init a timer without starting it. The pause line, located at https://docs.rs/stm32f4xx-hal/0.5.0/src/stm32f4xx_hal/timer.rs.html#210-231 could be extracted...
To support txrx(), introduce two new structs, RxCoupled and TxCoupled, which work independently with DMA, but require each other to release the Spi object.