We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4397640 commit 9579237Copy full SHA for 9579237
src/generate/peripheral.rs
@@ -91,6 +91,11 @@ pub fn render(
91
// Derived peripherals may not require re-implementation, and will instead
92
// use a single definition of the non-derived version.
93
if derive_regs {
94
+ // re-export the base module to allow deriveFrom this one
95
+ out.extend(quote! {
96
+ #[doc = #description]
97
+ pub use #base as #name_sc;
98
+ });
99
return Ok(out);
100
}
101
0 commit comments