pub type R = crate::R<IDMABARrs>;
pub type W = crate::W<IDMABARrs>;
pub type IDMABA_R = crate::FieldReader<u32>;
pub type IDMABA_W<'a, REG> = crate::FieldWriter<'a, REG, 30, u32>;
impl R {
#[inline(always)]
pub fn idmaba(&self) -> IDMABA_R {
IDMABA_R::new((self.bits >> 2) & 0x3fff_ffff)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IDMABAR").field("idmaba", &self.idmaba()).finish()
}
}
impl W {
#[inline(always)]
pub fn idmaba(&mut self) -> IDMABA_W<IDMABARrs> {
IDMABA_W::new(self, 2)
}
}
pub struct IDMABARrs;
impl crate::RegisterSpec for IDMABARrs {
type Ux = u32;
}
impl crate::Readable for IDMABARrs {}
impl crate::Writable for IDMABARrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for IDMABARrs {}