pub type R = crate::R<REP0rs>;
pub type W = crate::W<REP0rs>;
pub type Rep0R = crate::FieldReader;
pub type Rep0W<'a, REG> = crate::FieldWriter<'a, REG, 8>;
impl R {
#[inline(always)]
pub fn rep0(&self) -> Rep0R {
Rep0R::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("REP0").field("rep0", &self.rep0()).finish()
}
}
impl W {
#[inline(always)]
pub fn rep0(&mut self) -> Rep0W<'_, REP0rs> {
Rep0W::new(self, 0)
}
}
pub struct REP0rs;
impl crate::RegisterSpec for REP0rs {
type Ux = u32;
}
impl crate::Readable for REP0rs {}
impl crate::Writable for REP0rs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for REP0rs {}