pub type R = crate::R<DAINTrs>;
pub type IEPINT_R = crate::FieldReader<u16>;
pub type OEPINT_R = crate::FieldReader<u16>;
impl R {
#[inline(always)]
pub fn iepint(&self) -> IEPINT_R {
IEPINT_R::new((self.bits & 0xffff) as u16)
}
#[inline(always)]
pub fn oepint(&self) -> OEPINT_R {
OEPINT_R::new(((self.bits >> 16) & 0xffff) as u16)
}
}
impl core::fmt::Debug for R {
fn fmt(&self, f: &mut core::fmt::Formatter) -> core::fmt::Result {
f.debug_struct("DAINT")
.field("iepint", &self.iepint())
.field("oepint", &self.oepint())
.finish()
}
}
pub struct DAINTrs;
impl crate::RegisterSpec for DAINTrs {
type Ux = u32;
}
impl crate::Readable for DAINTrs {}
impl crate::Resettable for DAINTrs {}