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