stm32f4xx-hal
stm32f4xx-hal copied to clipboard
A Rust embedded-hal HAL for all MCUs in the STM32 F4 family
Hi! I think it would be nice to add a `DelayUntil` utility to delays. In this way, we can have actual periodic tasks, regardless of the time consumed by a...
Hi, I'm writing touchscreen driver to use touchscreen controller of boards such as stm32f412/13. This driver uses i2c module to initialize the address bus of touchscreen. There are no examples...
HAL drivers naturally need to own some peripherals while they are in use. However, it should be possible to safely release the peripheral ownership (destroying the driver in the process)...
My use case is to allow devices to negotiate a higher baud rate from an initial default. Currently, the speed gets set when creating a new Serial (or Rx/Tx). There...
Due to stm32f4 SVD bugs in some parts, some UART peripherals were incorrectly defined as (more feature-full) USARTs. This PR relies on PAC changes made in: https://github.com/stm32-rs/stm32-rs/pull/754
While using PWM output with different periods and duty cycles I observed glitches in the generated output signals. Even though the pwm and pwm_hz methods first enable auto reload preloads...
Undefined behavior seems to occur when passing a period of 0 Hz to the`set_period` method in a `PwmHz` handle. If the method is called once passing a 0 Hz value,...
The `get_period` and `set_period` implementations are not available for the `timer::pwm::PWMChannel` struct. The implementations can only be accessed through `timer::pwm::PwmHz` and `timer::pwm::Pwm` structs.
I don't see a way to configure MCO (master clock output). Should it be be a part of Rcc?