pub type R = crate::R<VDSSArs>;
pub type W = crate::W<VDSSArs>;
pub type ADD_R = crate::FieldReader<u16>;
pub type ADD_W<'a, REG> = crate::FieldWriter<'a, REG, 10, u16, crate::Safe>;
impl R {
#[inline(always)]
pub fn add(&self) -> ADD_R {
ADD_R::new(((self.bits >> 6) & 0x03ff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("VDSSA").field("add", &self.add()).finish()
}
}
impl W {
#[inline(always)]
pub fn add(&mut self) -> ADD_W<VDSSArs> {
ADD_W::new(self, 6)
}
}
pub struct VDSSArs;
impl crate::RegisterSpec for VDSSArs {
type Ux = u32;
}
impl crate::Readable for VDSSArs {}
impl crate::Writable for VDSSArs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for VDSSArs {}