pub type R = crate::R<WUTRrs>;
pub type W = crate::W<WUTRrs>;
pub type WUT_R = crate::FieldReader<u16>;
pub type WUT_W<'a, REG> = crate::FieldWriter<'a, REG, 16, u16, crate::Safe>;
impl R {
#[inline(always)]
pub fn wut(&self) -> WUT_R {
WUT_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("WUTR").field("wut", &self.wut()).finish()
}
}
impl W {
#[inline(always)]
pub fn wut(&mut self) -> WUT_W<WUTRrs> {
WUT_W::new(self, 0)
}
}
pub struct WUTRrs;
impl crate::RegisterSpec for WUTRrs {
type Ux = u32;
}
impl crate::Readable for WUTRrs {}
impl crate::Writable for WUTRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for WUTRrs {
const RESET_VALUE: u32 = 0xffff;
}