pub type R = crate::R<ARGRrs>;
pub type W = crate::W<ARGRrs>;
pub type CMDARG_R = crate::FieldReader<u32>;
pub type CMDARG_W<'a, REG> = crate::FieldWriter<'a, REG, 32, u32>;
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("ARGR").field("cmdarg", &self.cmdarg()).finish()
}
}
impl W {
#[inline(always)]
pub fn cmdarg(&mut self) -> CMDARG_W<ARGRrs> {
CMDARG_W::new(self, 0)
}
}
pub struct ARGRrs;
impl crate::RegisterSpec for ARGRrs {
type Ux = u32;
}
impl crate::Readable for ARGRrs {}
impl crate::Writable for ARGRrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for ARGRrs {}