1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
#[doc = "Reader of register FS_DAINT"]
pub type R = crate::R<u32, super::FS_DAINT>;
#[doc = "Reader of field `IEPINT`"]
pub type IEPINT_R = crate::R<u16, u16>;
#[doc = "Reader of field `OEPINT`"]
pub type OEPINT_R = crate::R<u16, u16>;
impl R {
    #[doc = "Bits 0:15 - IN endpoint interrupt bits"]
    #[inline(always)]
    pub fn iepint(&self) -> IEPINT_R {
        IEPINT_R::new((self.bits & 0xffff) as u16)
    }
    #[doc = "Bits 16:31 - OUT endpoint interrupt bits"]
    #[inline(always)]
    pub fn oepint(&self) -> OEPINT_R {
        OEPINT_R::new(((self.bits >> 16) & 0xffff) as u16)
    }
}