pub type W = crate::W<CMDrs>;
pub type RxenW<'a, REG> = crate::BitWriter<'a, REG>;
pub type RxdisW<'a, REG> = crate::BitWriter<'a, REG>;
pub type TxenW<'a, REG> = crate::BitWriter<'a, REG>;
pub type TxdisW<'a, REG> = crate::BitWriter<'a, REG>;
pub type RxblockenW<'a, REG> = crate::BitWriter<'a, REG>;
pub type RxblockdisW<'a, REG> = crate::BitWriter<'a, REG>;
pub type CleartxW<'a, REG> = crate::BitWriter<'a, REG>;
pub type ClearrxW<'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 rxen(&mut self) -> RxenW<'_, CMDrs> {
RxenW::new(self, 0)
}
#[inline(always)]
pub fn rxdis(&mut self) -> RxdisW<'_, CMDrs> {
RxdisW::new(self, 1)
}
#[inline(always)]
pub fn txen(&mut self) -> TxenW<'_, CMDrs> {
TxenW::new(self, 2)
}
#[inline(always)]
pub fn txdis(&mut self) -> TxdisW<'_, CMDrs> {
TxdisW::new(self, 3)
}
#[inline(always)]
pub fn rxblocken(&mut self) -> RxblockenW<'_, CMDrs> {
RxblockenW::new(self, 4)
}
#[inline(always)]
pub fn rxblockdis(&mut self) -> RxblockdisW<'_, CMDrs> {
RxblockdisW::new(self, 5)
}
#[inline(always)]
pub fn cleartx(&mut self) -> CleartxW<'_, CMDrs> {
CleartxW::new(self, 6)
}
#[inline(always)]
pub fn clearrx(&mut self) -> ClearrxW<'_, CMDrs> {
ClearrxW::new(self, 7)
}
}
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 {}