pub type W = crate::W<TXDR16rs>;
pub type TXDR_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16, crate::Safe>;
impl core::fmt::Debug for crate::generic::Reg<TXDR16rs> {
fn fmt(&self, f: &mut core::fmt::Formatter<'_>) -> core::fmt::Result {
write!(f, "(not readable)")
}
}
impl W {
#[inline(always)]
pub fn txdr(&mut self) -> TXDR_W<TXDR16rs> {
TXDR_W::new(self, 0)
}
}
pub struct TXDR16rs;
impl crate::RegisterSpec for TXDR16rs {
type Ux = u16;
}
impl crate::Writable for TXDR16rs {
type Safety = crate::Safe;
}
impl crate::Resettable for TXDR16rs {}