stm32l4xx-hal
stm32l4xx-hal copied to clipboard
A Hardware abstraction layer for the stm32l432xx series chips written in rust.
In updating some example for a recent change committed in the git version (`const generics gpio (from F4)` https://github.com/stm32-rs/stm32l4xx-hal/commit/2f5b39535a18ffe4d151c238394f7e8cb855a57a) I have had to change ``` type I2cBus = I2c< I2C1,...
When initializing the clocks again, the device gets stuck in an endless loop during clocks freeze(): https://github.com/stm32-rs/stm32l4xx-hal/blob/e3a1333134f9414c96e69dde3833eab384dfdcf6/src/rcc.rs#L738 This scenario is relevant in bootloader + application scenarios for example, where the...
As far as I understand the code, all clock calculations in `freeze()` use the last sysclk value specified with either the `sysclk()` or the `sysclk_with_pll()` methods, but if `sysclk_wit_pll()` has...
I think the current implementation of the Countdown trait for timers is decent at best, but I am having a hard time seeing how to use it for timers longer...
I'd like to be able to use the lpuart capability on my STM32L496, and noticed that it wasn't already implemented! I might make an effort to do this myself, but...
I'm trying to use the ADC example with an STM32L432KC. If I specify version 0.6.0 of the crate, it can't find ADC1, ADC_COMMON or rcc.ccipr. I used git = "git...
Hi. We've been trying to get our code to run with opt-levels above 1, but we've been having some issues. Turns out there's some issues where code has been written...
Hi, I put together a little quickstart for the [NUCLEO-L432KC](https://www.st.com/en/evaluation-tools/nucleo-l432kc.html) and thought it might be worth incorporating here? VS Code debugging working too. https://github.com/reneherrero/nucleo-l432kc-quickstart Hope it helps
Hi all, Currently, there are two types of API's being used for enabling peripherals: an `Ext` trait with something similar to an `enable` function, or a function like `HalPeripheralWrapper::peripheralN(peripheralN: PACStruct)`....