#[doc = "Register `EPINTST` reader"]
pub type R = crate::R<EpintstSpec>;
#[doc = "Field `EPST0` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst0R = crate::BitReader;
#[doc = "Field `EPST1` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst1R = crate::BitReader;
#[doc = "Field `EPST2` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst2R = crate::BitReader;
#[doc = "Field `EPST3` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst3R = crate::BitReader;
#[doc = "Field `EPST4` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst4R = crate::BitReader;
#[doc = "Field `EPST5` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst5R = crate::BitReader;
#[doc = "Field `EPST6` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst6R = crate::BitReader;
#[doc = "Field `EPST7` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst7R = crate::BitReader;
#[doc = "Field `EPST8` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst8R = crate::BitReader;
#[doc = "Field `EPST9` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst9R = crate::BitReader;
#[doc = "Field `EPST10` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst10R = crate::BitReader;
#[doc = "Field `EPST11` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst11R = crate::BitReader;
#[doc = "Field `EPST12` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst12R = crate::BitReader;
#[doc = "Field `EPST13` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst13R = crate::BitReader;
#[doc = "Field `EPST14` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst14R = crate::BitReader;
#[doc = "Field `EPST15` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst15R = crate::BitReader;
#[doc = "Field `EPST16` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst16R = crate::BitReader;
#[doc = "Field `EPST17` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst17R = crate::BitReader;
#[doc = "Field `EPST18` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst18R = crate::BitReader;
#[doc = "Field `EPST19` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst19R = crate::BitReader;
#[doc = "Field `EPST20` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst20R = crate::BitReader;
#[doc = "Field `EPST21` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst21R = crate::BitReader;
#[doc = "Field `EPST22` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst22R = crate::BitReader;
#[doc = "Field `EPST23` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst23R = crate::BitReader;
#[doc = "Field `EPST24` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst24R = crate::BitReader;
#[doc = "Field `EPST25` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst25R = crate::BitReader;
#[doc = "Field `EPST26` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst26R = crate::BitReader;
#[doc = "Field `EPST27` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst27R = crate::BitReader;
#[doc = "Field `EPST28` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst28R = crate::BitReader;
#[doc = "Field `EPST29` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst29R = crate::BitReader;
#[doc = "Field `EPST30` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst30R = crate::BitReader;
#[doc = "Field `EPST31` reader - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
pub type Epst31R = crate::BitReader;
impl R {
    #[doc = "Bit 0 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst0(&self) -> Epst0R {
        Epst0R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst1(&self) -> Epst1R {
        Epst1R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst2(&self) -> Epst2R {
        Epst2R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst3(&self) -> Epst3R {
        Epst3R::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst4(&self) -> Epst4R {
        Epst4R::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst5(&self) -> Epst5R {
        Epst5R::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst6(&self) -> Epst6R {
        Epst6R::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 7 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst7(&self) -> Epst7R {
        Epst7R::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bit 8 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst8(&self) -> Epst8R {
        Epst8R::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 9 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst9(&self) -> Epst9R {
        Epst9R::new(((self.bits >> 9) & 1) != 0)
    }
    #[doc = "Bit 10 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst10(&self) -> Epst10R {
        Epst10R::new(((self.bits >> 10) & 1) != 0)
    }
    #[doc = "Bit 11 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst11(&self) -> Epst11R {
        Epst11R::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 12 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst12(&self) -> Epst12R {
        Epst12R::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 13 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst13(&self) -> Epst13R {
        Epst13R::new(((self.bits >> 13) & 1) != 0)
    }
    #[doc = "Bit 14 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst14(&self) -> Epst14R {
        Epst14R::new(((self.bits >> 14) & 1) != 0)
    }
    #[doc = "Bit 15 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst15(&self) -> Epst15R {
        Epst15R::new(((self.bits >> 15) & 1) != 0)
    }
    #[doc = "Bit 16 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst16(&self) -> Epst16R {
        Epst16R::new(((self.bits >> 16) & 1) != 0)
    }
    #[doc = "Bit 17 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst17(&self) -> Epst17R {
        Epst17R::new(((self.bits >> 17) & 1) != 0)
    }
    #[doc = "Bit 18 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst18(&self) -> Epst18R {
        Epst18R::new(((self.bits >> 18) & 1) != 0)
    }
    #[doc = "Bit 19 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst19(&self) -> Epst19R {
        Epst19R::new(((self.bits >> 19) & 1) != 0)
    }
    #[doc = "Bit 20 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst20(&self) -> Epst20R {
        Epst20R::new(((self.bits >> 20) & 1) != 0)
    }
    #[doc = "Bit 21 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst21(&self) -> Epst21R {
        Epst21R::new(((self.bits >> 21) & 1) != 0)
    }
    #[doc = "Bit 22 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst22(&self) -> Epst22R {
        Epst22R::new(((self.bits >> 22) & 1) != 0)
    }
    #[doc = "Bit 23 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst23(&self) -> Epst23R {
        Epst23R::new(((self.bits >> 23) & 1) != 0)
    }
    #[doc = "Bit 24 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst24(&self) -> Epst24R {
        Epst24R::new(((self.bits >> 24) & 1) != 0)
    }
    #[doc = "Bit 25 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst25(&self) -> Epst25R {
        Epst25R::new(((self.bits >> 25) & 1) != 0)
    }
    #[doc = "Bit 26 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst26(&self) -> Epst26R {
        Epst26R::new(((self.bits >> 26) & 1) != 0)
    }
    #[doc = "Bit 27 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst27(&self) -> Epst27R {
        Epst27R::new(((self.bits >> 27) & 1) != 0)
    }
    #[doc = "Bit 28 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst28(&self) -> Epst28R {
        Epst28R::new(((self.bits >> 28) & 1) != 0)
    }
    #[doc = "Bit 29 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst29(&self) -> Epst29R {
        Epst29R::new(((self.bits >> 29) & 1) != 0)
    }
    #[doc = "Bit 30 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst30(&self) -> Epst30R {
        Epst30R::new(((self.bits >> 30) & 1) != 0)
    }
    #[doc = "Bit 31 - 1 = Endpoint Data Received (bits 0, 2, 4, ..., 30) or Transmitted (bits 1, 3, 5, ..., 31) Interrupt received."]
    #[inline(always)]
    pub fn epst31(&self) -> Epst31R {
        Epst31R::new(((self.bits >> 31) & 1) != 0)
    }
}
#[doc = "USB Endpoint Interrupt Status\n\nYou can [`read`](crate::Reg::read) this register and get [`epintst::R`](R). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct EpintstSpec;
impl crate::RegisterSpec for EpintstSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`epintst::R`](R) reader structure"]
impl crate::Readable for EpintstSpec {}
#[doc = "`reset()` method sets EPINTST to value 0"]
impl crate::Resettable for EpintstSpec {}
