svd2rust
svd2rust copied to clipboard
Consistent creation of GPIO RegisterBlocks
Based on https://github.com/stm32-rs/stm32-rs/issues/115 . It would be helpful for definitions of GPIO structures that use derivedFrom to generate an aliasing type (e.g. mod gpiob { pub type RegisterBlock = gpiof::RegisterBlock}), such that you can always have a consistent path to the RegisterBlock type for a given GPIO port.