1#[doc = "Register `MCMC` writer"]
2pub type W = crate::W<MCMC_SPEC>;
3#[doc = "Field `MNPC` writer - Multi-Channel Pattern Update Enable Clear"]
4pub type MNPC_W<'a, REG> = crate::BitWriter<'a, REG>;
5#[doc = "Field `MPC` writer - Multi-Channel Pattern clear"]
6pub type MPC_W<'a, REG> = crate::BitWriter<'a, REG>;
7impl W {
8 #[doc = "Bit 0 - Multi-Channel Pattern Update Enable Clear"]
9 #[inline(always)]
10 pub fn mnpc(&mut self) -> MNPC_W<MCMC_SPEC> {
11 MNPC_W::new(self, 0)
12 }
13 #[doc = "Bit 1 - Multi-Channel Pattern clear"]
14 #[inline(always)]
15 pub fn mpc(&mut self) -> MPC_W<MCMC_SPEC> {
16 MPC_W::new(self, 1)
17 }
18}
19#[doc = "Multi-Channel Pattern Control clear\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`mcmc::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
20pub struct MCMC_SPEC;
21impl crate::RegisterSpec for MCMC_SPEC {
22 type Ux = u32;
23}
24#[doc = "`write(|w| ..)` method takes [`mcmc::W`](W) writer structure"]
25impl crate::Writable for MCMC_SPEC {
26 type Safety = crate::Unsafe;
27 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
28 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
29}
30#[doc = "`reset()` method sets MCMC to value 0"]
31impl crate::Resettable for MCMC_SPEC {
32 const RESET_VALUE: u32 = 0;
33}