atsam3n0b/pmc/
pmc_scdr.rs1#[doc = "Register `PMC_SCDR` writer"]
2pub type W = crate::W<PmcScdrSpec>;
3#[doc = "Field `PCK0` writer - Programmable Clock 0 Output Disable"]
4pub type Pck0W<'a, REG> = crate::BitWriter<'a, REG>;
5#[doc = "Field `PCK1` writer - Programmable Clock 1 Output Disable"]
6pub type Pck1W<'a, REG> = crate::BitWriter<'a, REG>;
7#[doc = "Field `PCK2` writer - Programmable Clock 2 Output Disable"]
8pub type Pck2W<'a, REG> = crate::BitWriter<'a, REG>;
9impl W {
10 #[doc = "Bit 8 - Programmable Clock 0 Output Disable"]
11 #[inline(always)]
12 #[must_use]
13 pub fn pck0(&mut self) -> Pck0W<PmcScdrSpec> {
14 Pck0W::new(self, 8)
15 }
16 #[doc = "Bit 9 - Programmable Clock 1 Output Disable"]
17 #[inline(always)]
18 #[must_use]
19 pub fn pck1(&mut self) -> Pck1W<PmcScdrSpec> {
20 Pck1W::new(self, 9)
21 }
22 #[doc = "Bit 10 - Programmable Clock 2 Output Disable"]
23 #[inline(always)]
24 #[must_use]
25 pub fn pck2(&mut self) -> Pck2W<PmcScdrSpec> {
26 Pck2W::new(self, 10)
27 }
28}
29#[doc = "System Clock Disable Register\n\nYou can [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`pmc_scdr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
30pub struct PmcScdrSpec;
31impl crate::RegisterSpec for PmcScdrSpec {
32 type Ux = u32;
33}
34#[doc = "`write(|w| ..)` method takes [`pmc_scdr::W`](W) writer structure"]
35impl crate::Writable for PmcScdrSpec {
36 type Safety = crate::Unsafe;
37 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
38 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
39}