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