pub type R = crate::R<WINRrs>;
pub type W = crate::W<WINRrs>;
pub type WIN_R = crate::FieldReader<u16>;
pub type WIN_W<'a, REG> = crate::FieldWriter<'a, REG, 12, u16, crate::Safe>;
impl R {
        #[inline(always)]
    pub fn win(&self) -> WIN_R {
        WIN_R::new(self.bits & 0x0fff)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("WINR").field("win", &self.win()).finish()
    }
}
impl W {
        #[inline(always)]
    pub fn win(&mut self) -> WIN_W<WINRrs> {
        WIN_W::new(self, 0)
    }
}
pub struct WINRrs;
impl crate::RegisterSpec for WINRrs {
    type Ux = u16;
}
impl crate::Readable for WINRrs {}
impl crate::Writable for WINRrs {
    type Safety = crate::Unsafe;
}
impl crate::Resettable for WINRrs {
    const RESET_VALUE: u16 = 0x0fff;
}