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