Albin Hedman

Results 161 comments of Albin Hedman

But writing the bits one at a time would on the other hand cause potentialy bad things to happen since the write would be split up into multiple writes. For...

However i suppose it would work very well for things that are single bit like `OT[15:0]` in `GPIOx_OTYPER`

Related issue https://github.com/stm32-rs/stm32f3xx-hal/issues/37

Note there is also #50 . @kevswims what is the status and/or plans of #50?

> @usbalbin I have mostly ripped this implementation from the F3 repo. However I'm not sure if it is not working correctly or if I have a hardware issue since...

> @usbalbin didn't see #50 but I will have a look at it an see if there's anything to bring across. > > I'll go ahead and order the expansion...

Great! Perhaps not a huge deal, but would you mind having a look at my [earlier comment](https://github.com/stm32-rs/stm32g4xx-hal/pull/135#discussion_r1755370264) :)

Thanks a lot for this!

@AdinAck do you have any input on this?

> So the pins could have channels: [...] What about something like: ```rust fn split(self) -> [Channel; N] { todo!() } fn recombine(..., channels: [Channel; N]) -> ... { todo!()...