pub type W = crate::W<CMDrs>;
pub type SinglestartW<'a, REG> = crate::BitWriter<'a, REG>;
pub type SinglestopW<'a, REG> = crate::BitWriter<'a, REG>;
pub type ScanstartW<'a, REG> = crate::BitWriter<'a, REG>;
pub type ScanstopW<'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 singlestart(&mut self) -> SinglestartW<'_, CMDrs> {
SinglestartW::new(self, 0)
}
#[inline(always)]
pub fn singlestop(&mut self) -> SinglestopW<'_, CMDrs> {
SinglestopW::new(self, 1)
}
#[inline(always)]
pub fn scanstart(&mut self) -> ScanstartW<'_, CMDrs> {
ScanstartW::new(self, 2)
}
#[inline(always)]
pub fn scanstop(&mut self) -> ScanstopW<'_, CMDrs> {
ScanstopW::new(self, 3)
}
}
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 {}