1#[doc = "Register `M_MEM[%s]` writer"]
2pub type W = crate::W<M_MEM_SPEC>;
3#[cfg(feature = "impl-register-debug")]
4impl core::fmt::Debug for crate::generic::Reg<M_MEM_SPEC> {
5 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
6 write!(f, "(not readable)")
7 }
8}
9impl W {}
10#[doc = "Represents M\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`m_mem::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
11pub struct M_MEM_SPEC;
12impl crate::RegisterSpec for M_MEM_SPEC {
13 type Ux = u32;
14}
15#[doc = "`write(|w| ..)` method takes [`m_mem::W`](W) writer structure"]
16impl crate::Writable for M_MEM_SPEC {
17 type Safety = crate::Unsafe;
18 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
19 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
20}
21#[doc = "`reset()` method sets M_MEM[%s] to value 0"]
22impl crate::Resettable for M_MEM_SPEC {
23 const RESET_VALUE: u32 = 0;
24}