pub type R = crate::R<LCCRRrs>;
pub type W = crate::W<LCCRRrs>;
pub type RELOAD_R = crate::FieldReader<u32>;
pub type RELOAD_W<'a, REG> = crate::FieldWriter<'a, REG, 22, u32>;
impl R {
#[inline(always)]
pub fn reload(&self) -> RELOAD_R {
RELOAD_R::new(self.bits & 0x003f_ffff)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("LCCRR").field("reload", &self.reload()).finish()
}
}
impl W {
#[inline(always)]
pub fn reload(&mut self) -> RELOAD_W<LCCRRrs> {
RELOAD_W::new(self, 0)
}
}
pub struct LCCRRrs;
impl crate::RegisterSpec for LCCRRrs {
type Ux = u32;
}
impl crate::Readable for LCCRRrs {}
impl crate::Writable for LCCRRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for LCCRRrs {}