atsam3s8c/pmc/
pmc_focr.rs

1#[doc = "Register `PMC_FOCR` writer"]
2pub type W = crate::W<PmcFocrSpec>;
3#[doc = "Field `FOCLR` writer - Fault Output Clear"]
4pub type FoclrW<'a, REG> = crate::BitWriter<'a, REG>;
5impl W {
6    #[doc = "Bit 0 - Fault Output Clear"]
7    #[inline(always)]
8    #[must_use]
9    pub fn foclr(&mut self) -> FoclrW<PmcFocrSpec> {
10        FoclrW::new(self, 0)
11    }
12}
13#[doc = "Fault Output Clear Register\n\nYou can [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`pmc_focr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
14pub struct PmcFocrSpec;
15impl crate::RegisterSpec for PmcFocrSpec {
16    type Ux = u32;
17}
18#[doc = "`write(|w| ..)` method takes [`pmc_focr::W`](W) writer structure"]
19impl crate::Writable for PmcFocrSpec {
20    type Safety = crate::Unsafe;
21    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
22    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
23}