pub type R = crate::R<EM4WUENrs>;
pub type W = crate::W<EM4WUENrs>;
pub type Em4wuR = crate::BitReader;
pub type Em4wuW<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
#[inline(always)]
pub fn em4wu(&self) -> Em4wuR {
Em4wuR::new((self.bits & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("EM4WUEN")
.field("em4wu", &self.em4wu())
.finish()
}
}
impl W {
#[inline(always)]
pub fn em4wu(&mut self) -> Em4wuW<'_, EM4WUENrs> {
Em4wuW::new(self, 0)
}
}
pub struct EM4WUENrs;
impl crate::RegisterSpec for EM4WUENrs {
type Ux = u32;
}
impl crate::Readable for EM4WUENrs {}
impl crate::Writable for EM4WUENrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for EM4WUENrs {}