pub type R = crate::R<REP1rs>;
pub type W = crate::W<REP1rs>;
pub type Rep1R = crate::FieldReader;
pub type Rep1W<'a, REG> = crate::FieldWriter<'a, REG, 8>;
impl R {
#[inline(always)]
pub fn rep1(&self) -> Rep1R {
Rep1R::new((self.bits & 0xff) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("REP1").field("rep1", &self.rep1()).finish()
}
}
impl W {
#[inline(always)]
pub fn rep1(&mut self) -> Rep1W<'_, REP1rs> {
Rep1W::new(self, 0)
}
}
pub struct REP1rs;
impl crate::RegisterSpec for REP1rs {
type Ux = u32;
}
impl crate::Readable for REP1rs {}
impl crate::Writable for REP1rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for REP1rs {}