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