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