pub type R = crate::R<HDPLCRrs>;
pub type W = crate::W<HDPLCRrs>;
pub type INCR_HDPL_R = crate::FieldReader;
pub type INCR_HDPL_W<'a, REG> = crate::FieldWriter<'a, REG, 8>;
impl R {
#[inline(always)]
pub fn incr_hdpl(&self) -> INCR_HDPL_R {
INCR_HDPL_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("HDPLCR").field("incr_hdpl", &self.incr_hdpl()).finish()
}
}
impl W {
#[inline(always)]
pub fn incr_hdpl(&mut self) -> INCR_HDPL_W<HDPLCRrs> {
INCR_HDPL_W::new(self, 0)
}
}
pub struct HDPLCRrs;
impl crate::RegisterSpec for HDPLCRrs {
type Ux = u32;
}
impl crate::Readable for HDPLCRrs {}
impl crate::Writable for HDPLCRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for HDPLCRrs {
const RESET_VALUE: u32 = 0xb4;
}