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