pub type R = crate::R<CFBARrs>;
pub type W = crate::W<CFBARrs>;
pub type CFBADD_R = crate::FieldReader<u32>;
pub type CFBADD_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32, crate::Safe>;
impl R {
#[inline(always)]
pub fn cfbadd(&self) -> CFBADD_R {
CFBADD_R::new(self.bits)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("CFBAR").field("cfbadd", &self.cfbadd()).finish()
}
}
impl W {
#[inline(always)]
pub fn cfbadd(&mut self) -> CFBADD_W<CFBARrs> {
CFBADD_W::new(self, 0)
}
}
pub struct CFBARrs;
impl crate::RegisterSpec for CFBARrs {
type Ux = u32;
}
impl crate::Readable for CFBARrs {}
impl crate::Writable for CFBARrs {
type Safety = crate::Safe;
}
impl crate::Resettable for CFBARrs {}