pub type R = crate::R<WRP1ARrs>;
pub type W = crate::W<WRP1ARrs>;
pub type WRP1A_STRT_R = crate::FieldReader;
pub type WRP1A_STRT_W<'a, REG> = crate::FieldWriter<'a, REG, 8>;
pub type WRP1A_END_R = crate::FieldReader;
pub type WRP1A_END_W<'a, REG> = crate::FieldWriter<'a, REG, 8>;
impl R {
        #[inline(always)]
    pub fn wrp1a_strt(&self) -> WRP1A_STRT_R {
        WRP1A_STRT_R::new((self.bits & 0xff) as u8)
    }
        #[inline(always)]
    pub fn wrp1a_end(&self) -> WRP1A_END_R {
        WRP1A_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("WRP1AR")
            .field("wrp1a_strt", &self.wrp1a_strt())
            .field("wrp1a_end", &self.wrp1a_end())
            .finish()
    }
}
impl W {
        #[inline(always)]
    pub fn wrp1a_strt(&mut self) -> WRP1A_STRT_W<WRP1ARrs> {
        WRP1A_STRT_W::new(self, 0)
    }
        #[inline(always)]
    pub fn wrp1a_end(&mut self) -> WRP1A_END_W<WRP1ARrs> {
        WRP1A_END_W::new(self, 16)
    }
}
pub struct WRP1ARrs;
impl crate::RegisterSpec for WRP1ARrs {
    type Ux = u32;
}
impl crate::Readable for WRP1ARrs {}
impl crate::Writable for WRP1ARrs {
    type Safety = crate::Unsafe;
}
impl crate::Resettable for WRP1ARrs {
    const RESET_VALUE: u32 = 0xff00_ff00;
}