pub type R = crate::R<DMAISRrs>;
pub type DC0IS_R = crate::BitReader;
pub type MTLIS_R = crate::BitReader;
pub type MACIS_R = crate::BitReader;
impl R {
#[inline(always)]
pub fn dc0is(&self) -> DC0IS_R {
DC0IS_R::new((self.bits & 1) != 0)
}
#[inline(always)]
pub fn mtlis(&self) -> MTLIS_R {
MTLIS_R::new(((self.bits >> 16) & 1) != 0)
}
#[inline(always)]
pub fn macis(&self) -> MACIS_R {
MACIS_R::new(((self.bits >> 17) & 1) != 0)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DMAISR")
.field("dc0is", &self.dc0is())
.field("mtlis", &self.mtlis())
.field("macis", &self.macis())
.finish()
}
}
pub struct DMAISRrs;
impl crate::RegisterSpec for DMAISRrs {
type Ux = u32;
}
impl crate::Readable for DMAISRrs {}
impl crate::Resettable for DMAISRrs {}