diff --git a/src/peripherals.rs b/src/peripherals.rs index 214c3a3..b1361fe 100644 --- a/src/peripherals.rs +++ b/src/peripherals.rs @@ -135,6 +135,7 @@ mod pac_override_impl { } } + #[repr(C)] pub struct MacRegisterBlock { #[doc = "0x00 - Ethernet MAC configuration register"] pub maccr: DelayedReg, @@ -207,6 +208,7 @@ mod pac_override_impl { } } + #[repr(C)] pub struct DmaRegisterBlock { #[doc = "0x00 - Ethernet DMA bus mode register"] pub dmabmr: DelayedReg, @@ -274,6 +276,7 @@ mod pac_override_impl { } } + #[repr(C)] pub struct PtpRegisterBlock { #[doc = "0x00 - Ethernet PTP time stamp control register"] pub ptptscr: DelayedReg,