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