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.
2 parents 3960899 + 96cfd8c commit d6c668dCopy full SHA for d6c668d
src/generate/generic.rs
@@ -34,6 +34,7 @@ pub trait Resettable: RegisterSpec {
34
}
35
36
/// This structure provides volatile access to registers.
37
+#[repr(transparent)]
38
pub struct Reg<REG: RegisterSpec> {
39
register: vcell::VolatileCell<REG::Ux>,
40
_marker: marker::PhantomData<REG>,
0 commit comments