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