1#[doc = "Register `Z_MEM[%s]` reader"]
2pub type R = crate::R<Z_MEM_SPEC>;
3#[doc = "Register `Z_MEM[%s]` writer"]
4pub type W = crate::W<Z_MEM_SPEC>;
5#[cfg(feature = "impl-register-debug")]
6impl core::fmt::Debug for R {
7 fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
8 write!(f, "{}", self.bits())
9 }
10}
11#[cfg(feature = "impl-register-debug")]
12impl core::fmt::Debug for crate::generic::Reg<Z_MEM_SPEC> {
13 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
14 core::fmt::Debug::fmt(&self.read(), f)
15 }
16}
17impl W {}
18#[doc = "Represents Z\n\nYou can [`read`](crate::generic::Reg::read) this register and get [`z_mem::R`](R). You can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`z_mem::W`](W). You can also [`modify`](crate::generic::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
19pub struct Z_MEM_SPEC;
20impl crate::RegisterSpec for Z_MEM_SPEC {
21 type Ux = u32;
22}
23#[doc = "`read()` method returns [`z_mem::R`](R) reader structure"]
24impl crate::Readable for Z_MEM_SPEC {}
25#[doc = "`write(|w| ..)` method takes [`z_mem::W`](W) writer structure"]
26impl crate::Writable for Z_MEM_SPEC {
27 type Safety = crate::Unsafe;
28 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
29 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
30}
31#[doc = "`reset()` method sets Z_MEM[%s] to value 0"]
32impl crate::Resettable for Z_MEM_SPEC {
33 const RESET_VALUE: u32 = 0;
34}