pub type W = crate::W<TDRrs>;
pub type AFCDIS_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type ALCDIS_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RFC1DIS_W<'a, REG> = crate::BitWriter<'a, REG>;
pub type RFC2DIS_W<'a, REG> = crate::BitWriter<'a, REG>;
impl core::fmt::Debug for crate::generic::Reg<TDRrs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn afcdis(&mut self) -> AFCDIS_W<TDRrs> {
AFCDIS_W::new(self, 0)
}
#[inline(always)]
pub fn alcdis(&mut self) -> ALCDIS_W<TDRrs> {
ALCDIS_W::new(self, 4)
}
#[inline(always)]
pub fn rfc1dis(&mut self) -> RFC1DIS_W<TDRrs> {
RFC1DIS_W::new(self, 16)
}
#[inline(always)]
pub fn rfc2dis(&mut self) -> RFC2DIS_W<TDRrs> {
RFC2DIS_W::new(self, 20)
}
}
pub struct TDRrs;
impl crate::RegisterSpec for TDRrs {
type Ux = u32;
}
impl crate::Writable for TDRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for TDRrs {}