pub type R = crate::R<DIEPEMPMSKrs>;
pub type W = crate::W<DIEPEMPMSKrs>;
pub type INEPTXFEM_R = crate::FieldReader<u16>;
pub type INEPTXFEM_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16>;
impl R {
#[inline(always)]
pub fn ineptxfem(&self) -> INEPTXFEM_R {
INEPTXFEM_R::new((self.bits & 0xffff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DIEPEMPMSK")
.field("ineptxfem", &self.ineptxfem())
.finish()
}
}
impl W {
#[inline(always)]
pub fn ineptxfem(&mut self) -> INEPTXFEM_W<DIEPEMPMSKrs> {
INEPTXFEM_W::new(self, 0)
}
}
pub struct DIEPEMPMSKrs;
impl crate::RegisterSpec for DIEPEMPMSKrs {
type Ux = u32;
}
impl crate::Readable for DIEPEMPMSKrs {}
impl crate::Writable for DIEPEMPMSKrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for DIEPEMPMSKrs {}