adamgreig/stm32ral

Better macro ergonomics

adamgreig opened this issue · 0 comments

It would be lovely if you could modify_reg!(GPIOA, MODER, MODER8: Output) without needing to write gpio or stm32ral::gpio at the start somehow. It's not clear to me how we can do this without making the macro code know about all the peripheral names, though.