pub type R = crate::R<IDMABSIZERrs>;
pub type W = crate::W<IDMABSIZERrs>;
pub type IDMABNDT_R = crate::FieldReader;
pub type IDMABNDT_W<'a, REG> = crate::FieldWriter<'a, REG, 8>;
impl R {
#[inline(always)]
pub fn idmabndt(&self) -> IDMABNDT_R {
IDMABNDT_R::new(((self.bits >> 5) & 0xff) as u8)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("IDMABSIZER").field("idmabndt", &self.idmabndt()).finish()
}
}
impl W {
#[inline(always)]
pub fn idmabndt(&mut self) -> IDMABNDT_W<IDMABSIZERrs> {
IDMABNDT_W::new(self, 5)
}
}
pub struct IDMABSIZERrs;
impl crate::RegisterSpec for IDMABSIZERrs {
type Ux = u32;
}
impl crate::Readable for IDMABSIZERrs {}
impl crate::Writable for IDMABSIZERrs {
type Safety = crate::Unsafe;
}
impl crate::Resettable for IDMABSIZERrs {}