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 9718140 commit 96cfd8cCopy full SHA for 96cfd8c
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