stm32f4xx-hal icon indicating copy to clipboard operation
stm32f4xx-hal copied to clipboard

UART::steal & Deref

Open burrbull opened this issue 1 year ago • 1 comments

burrbull avatar Jun 15 '24 12:06 burrbull

It's a bit weird to have separate {rx|tx}_peri_address methods when there really is only one data register which is used for both. Even more weird that we do it for UART and I2C but not SPI... Any reason for that?

I'm still sometimes working on possibility to integrate other families (which have separate registers for RX and TX), so I'm trying to eliminate inconsistencies to simplify code sharing. Added for SPI too.

burrbull avatar Jul 01 '24 03:07 burrbull