pub type W = crate::W<CMDrs>;
pub type CalstartW<'a, REG> = crate::BitWriter<'a, REG>;
pub type CalstopW<'a, REG> = crate::BitWriter<'a, REG>;
pub type HfxopeakdetstartW<'a, REG> = crate::BitWriter<'a, REG>;
pub type HfxoshuntoptstartW<'a, REG> = crate::BitWriter<'a, REG>;
impl core::fmt::Debug for crate::generic::Reg<CMDrs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn calstart(&mut self) -> CalstartW<'_, CMDrs> {
CalstartW::new(self, 0)
}
#[inline(always)]
pub fn calstop(&mut self) -> CalstopW<'_, CMDrs> {
CalstopW::new(self, 1)
}
#[inline(always)]
pub fn hfxopeakdetstart(&mut self) -> HfxopeakdetstartW<'_, CMDrs> {
HfxopeakdetstartW::new(self, 4)
}
#[inline(always)]
pub fn hfxoshuntoptstart(&mut self) -> HfxoshuntoptstartW<'_, CMDrs> {
HfxoshuntoptstartW::new(self, 5)
}
}
pub struct CMDrs;
impl crate::RegisterSpec for CMDrs {
type Ux = u32;
}
impl crate::Writable for CMDrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for CMDrs {}