pub type R = crate::R<WRP2BRrs>;
pub type W = crate::W<WRP2BRrs>;
pub type WRP2B_STRT_R = crate::FieldReader;
pub type WRP2B_STRT_W<'a, REG> = crate::FieldWriter<'a, REG, 8>;
pub type WRP2B_END_R = crate::FieldReader;
pub type WRP2B_END_W<'a, REG> = crate::FieldWriter<'a, REG, 8>;
impl R {
        #[inline(always)]
    pub fn wrp2b_strt(&self) -> WRP2B_STRT_R {
        WRP2B_STRT_R::new((self.bits & 0xff) as u8)
    }
        #[inline(always)]
    pub fn wrp2b_end(&self) -> WRP2B_END_R {
        WRP2B_END_R::new(((self.bits >> 16) & 0xff) as u8)
    }
}
impl core::fmt::Debug for R {
    fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
        f.debug_struct("WRP2BR")
            .field("wrp2b_strt", &self.wrp2b_strt())
            .field("wrp2b_end", &self.wrp2b_end())
            .finish()
    }
}
impl W {
        #[inline(always)]
    pub fn wrp2b_strt(&mut self) -> WRP2B_STRT_W<WRP2BRrs> {
        WRP2B_STRT_W::new(self, 0)
    }
        #[inline(always)]
    pub fn wrp2b_end(&mut self) -> WRP2B_END_W<WRP2BRrs> {
        WRP2B_END_W::new(self, 16)
    }
}
pub struct WRP2BRrs;
impl crate::RegisterSpec for WRP2BRrs {
    type Ux = u32;
}
impl crate::Readable for WRP2BRrs {}
impl crate::Writable for WRP2BRrs {
    type Safety = crate::Unsafe;
}
impl crate::Resettable for WRP2BRrs {
    const RESET_VALUE: u32 = 0xff00_ff00;
}