#[doc = "Register `M_MEM%s` reader"]
pub type R = crate::R<M_MEM_SPEC>;
#[doc = "Register `M_MEM%s` writer"]
pub type W = crate::W<M_MEM_SPEC>;
#[doc = "Field `M` reader - Stores the %sth 32-bit piece of the message."]
pub type M_R = crate::FieldReader<u32>;
#[doc = "Field `M` writer - Stores the %sth 32-bit piece of the message."]
pub type M_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
impl R {
    #[doc = "Bits 0:31 - Stores the %sth 32-bit piece of the message."]
    #[inline(always)]
    pub fn m(&self) -> M_R {
        M_R::new(self.bits)
    }
}
#[cfg(feature = "impl-register-debug")]
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("M_MEM").field("m", &self.m()).finish()
    }
}
impl W {
    #[doc = "Bits 0:31 - Stores the %sth 32-bit piece of the message."]
    #[inline(always)]
    pub fn m(&mut self) -> M_W<'_, M_MEM_SPEC> {
        M_W::new(self, 0)
    }
}
#[doc = "Message\n\nYou can [`read`](crate::Reg::read) this register and get [`m_mem::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`m_mem::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct M_MEM_SPEC;
impl crate::RegisterSpec for M_MEM_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [`m_mem::R`](R) reader structure"]
impl crate::Readable for M_MEM_SPEC {}
#[doc = "`write(|w| ..)` method takes [`m_mem::W`](W) writer structure"]
impl crate::Writable for M_MEM_SPEC {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets M_MEM%s to value 0"]
impl crate::Resettable for M_MEM_SPEC {}
