muscab1_pac/scc/
flash_din_3.rs1#[doc = "Register `FLASH_DIN_3` reader"]
2pub type R = crate::R<FlashDin3Spec>;
3#[doc = "Register `FLASH_DIN_3` writer"]
4pub type W = crate::W<FlashDin3Spec>;
5#[doc = "Field `scc_flash_din3` reader - eFlash 0 and eFlash 1 data input\\[127:96\\]"]
6pub type SccFlashDin3R = crate::FieldReader<u32>;
7#[doc = "Field `scc_flash_din3` writer - eFlash 0 and eFlash 1 data input\\[127:96\\]"]
8pub type SccFlashDin3W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
9impl R {
10 #[doc = "Bits 0:31 - eFlash 0 and eFlash 1 data input\\[127:96\\]"]
11 #[inline(always)]
12 pub fn scc_flash_din3(&self) -> SccFlashDin3R {
13 SccFlashDin3R::new(self.bits)
14 }
15}
16impl W {
17 #[doc = "Bits 0:31 - eFlash 0 and eFlash 1 data input\\[127:96\\]"]
18 #[inline(always)]
19 pub fn scc_flash_din3(&mut self) -> SccFlashDin3W<FlashDin3Spec> {
20 SccFlashDin3W::new(self, 0)
21 }
22}
23#[doc = "\n\nYou can [`read`](crate::Reg::read) this register and get [`flash_din_3::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`flash_din_3::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
24pub struct FlashDin3Spec;
25impl crate::RegisterSpec for FlashDin3Spec {
26 type Ux = u32;
27}
28#[doc = "`read()` method returns [`flash_din_3::R`](R) reader structure"]
29impl crate::Readable for FlashDin3Spec {}
30#[doc = "`write(|w| ..)` method takes [`flash_din_3::W`](W) writer structure"]
31impl crate::Writable for FlashDin3Spec {
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 FLASH_DIN_3 to value 0"]
37impl crate::Resettable for FlashDin3Spec {
38 const RESET_VALUE: u32 = 0;
39}