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