svd2rust icon indicating copy to clipboard operation
svd2rust copied to clipboard

Consistent creation of GPIO RegisterBlocks

Open HarkonenBade opened this issue 7 years ago • 0 comments

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.

HarkonenBade avatar Dec 17 '18 13:12 HarkonenBade