Albin Hedman

Results 60 issues of Albin Hedman

This PR adds the concept of "local tasks". Local tasks are tasks that may only be spawned from other tasks with the same priority, thus running on the same executor....

(From the matrix discussion, I hope it's ok if a create an issue for this) Add some way of spawning tasks on the same executor without requiring the args to...

This is a (very rough draft of) flexible timer driver for all STM32 timers. Tries to give quite unhindered access to most timer features while offering some type level protection...

Hi! We are looking to use embassy-stm32 hal for a couple of projects, all which will use the hardware timers for different things. One of the things is triac control...

This updates this hal to use the stm32f3-staging pac. I am doing this in an attempt to [get the HRTIM peripheral to work](https://github.com/usbalbin/stm32-hrtim/pull/1).

TIM12 seems to be missing from H523. However it is there for 533, 562, 563...

From what I can tell there are a lot of registers in the EXTI block that can be arrayified. At least for the H533

Would it be possible and/or desirable to be able to print an entire register using for example defmt? ```rust let dma1 = &*stm32g4xx_hal::stm32::DMA1::ptr(); let cr = dma1.ch1().cr().read(); defmt::println!("cr: {}", cr);...

Update for new pac, and some demacrofication

Add the natural logarithm ln()