1pub type W = crate::W<CMDrs>;
3pub type CalstartW<'a, REG> = crate::BitWriter<'a, REG>;
5pub type CalstopW<'a, REG> = crate::BitWriter<'a, REG>;
7pub type HfxopeakdetstartW<'a, REG> = crate::BitWriter<'a, REG>;
9pub type HfxoshuntoptstartW<'a, REG> = crate::BitWriter<'a, REG>;
11impl core::fmt::Debug for crate::generic::Reg<CMDrs> {
12 fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
13 write!(f, "(not readable)")
14 }
15}
16impl W {
17 #[inline(always)]
19 pub fn calstart(&mut self) -> CalstartW<CMDrs> {
20 CalstartW::new(self, 0)
21 }
22 #[inline(always)]
24 pub fn calstop(&mut self) -> CalstopW<CMDrs> {
25 CalstopW::new(self, 1)
26 }
27 #[inline(always)]
29 pub fn hfxopeakdetstart(&mut self) -> HfxopeakdetstartW<CMDrs> {
30 HfxopeakdetstartW::new(self, 4)
31 }
32 #[inline(always)]
34 pub fn hfxoshuntoptstart(&mut self) -> HfxoshuntoptstartW<CMDrs> {
35 HfxoshuntoptstartW::new(self, 5)
36 }
37}
38pub struct CMDrs;
42impl crate::RegisterSpec for CMDrs {
43 type Ux = u32;
44}
45impl crate::Writable for CMDrs {
47 type Safety = crate::Unsafe;
48 const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
49 const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
50}
51impl crate::Resettable for CMDrs {
53 const RESET_VALUE: u32 = 0;
54}