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