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