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