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 b1609c9 commit c2b9911Copy full SHA for c2b9911
src/peripherals.rs
@@ -196,6 +196,7 @@ mod pac_override_impl {
196
197
#[doc = r"Return the pointer to the register block"]
198
#[inline(always)]
199
+ #[allow(unused)]
200
pub const fn ptr() -> *const MacRegisterBlock {
201
Self::PTR
202
}
@@ -260,6 +261,9 @@ mod pac_override_impl {
260
261
#[doc = r"Pointer to the register block"]
262
pub const PTR: *const DmaRegisterBlock = 0x4002_9000 as *const _;
263
264
+ #[doc = r"Return the pointer to the register block"]
265
+ #[inline(always)]
266
267
pub const fn ptr() -> *const DmaRegisterBlock {
268
269
0 commit comments