pub type R = crate::R<MDRrs>;
pub type W = crate::W<MDRrs>;
pub type MDR_R = crate::FieldReader<u32>;
pub type MDR_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
#[inline(always)]
pub fn mdr(&self) -> MDR_R {
MDR_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("MDR").field("mdr", &self.mdr()).finish()
}
}
impl W {
#[inline(always)]
pub fn mdr(&mut self) -> MDR_W<MDRrs> {
MDR_W::new(self, 0)
}
}
pub struct MDRrs;
impl crate::RegisterSpec for MDRrs {
type Ux = u32;
}
impl crate::Readable for MDRrs {}
impl crate::Writable for MDRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for MDRrs {}