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