mimxrt685s_pac/i3c/
mwdatahe.rs1#[doc = "Register `MWDATAHE` writer"]
2pub type W = crate::W<MwdataheSpec>;
3#[doc = "Field `DATA0` writer - DATA 0"]
4pub type Data0W<'a, REG> = crate::FieldWriter<'a, REG, 8>;
5#[doc = "Field `DATA1` writer - DATA 1"]
6pub type Data1W<'a, REG> = crate::FieldWriter<'a, REG, 8>;
7#[cfg(feature = "debug")]
8impl core::fmt::Debug for crate::generic::Reg<MwdataheSpec> {
9 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
10 write!(f, "(not readable)")
11 }
12}
13impl W {
14 #[doc = "Bits 0:7 - DATA 0"]
15 #[inline(always)]
16 pub fn data0(&mut self) -> Data0W<MwdataheSpec> {
17 Data0W::new(self, 0)
18 }
19 #[doc = "Bits 8:15 - DATA 1"]
20 #[inline(always)]
21 pub fn data1(&mut self) -> Data1W<MwdataheSpec> {
22 Data1W::new(self, 8)
23 }
24}
25#[doc = "Master Write Data Byte End Register\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`mwdatahe::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
26pub struct MwdataheSpec;
27impl crate::RegisterSpec for MwdataheSpec {
28 type Ux = u32;
29}
30#[doc = "`write(|w| ..)` method takes [`mwdatahe::W`](W) writer structure"]
31impl crate::Writable for MwdataheSpec {
32 type Safety = crate::Unsafe;
33 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
34 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
35}
36#[doc = "`reset()` method sets MWDATAHE to value 0"]
37impl crate::Resettable for MwdataheSpec {
38 const RESET_VALUE: u32 = 0;
39}