#[doc = "Register `EPINTPRI` writer"]
pub type W = crate::W<EpintpriSpec>;
#[doc = "Field `EPPRI0` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri0W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI1` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri1W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI2` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri2W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI3` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri3W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI4` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri4W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI5` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri5W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI6` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri6W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI7` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri7W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI8` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri8W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI9` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri9W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI10` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri10W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI11` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri11W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI12` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri12W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI13` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri13W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI14` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri14W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI15` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri15W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI16` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri16W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI17` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri17W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI18` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri18W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI19` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri19W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI20` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri20W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI21` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri21W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI22` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri22W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI23` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri23W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI24` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri24W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI25` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri25W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI26` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri26W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI27` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri27W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI28` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri28W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI29` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri29W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI30` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri30W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPPRI31` writer - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
pub type Eppri31W<'a, REG> = crate::BitWriter<'a, REG>;
impl W {
    #[doc = "Bit 0 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri0(&mut self) -> Eppri0W<'_, EpintpriSpec> {
        Eppri0W::new(self, 0)
    }
    #[doc = "Bit 1 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri1(&mut self) -> Eppri1W<'_, EpintpriSpec> {
        Eppri1W::new(self, 1)
    }
    #[doc = "Bit 2 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri2(&mut self) -> Eppri2W<'_, EpintpriSpec> {
        Eppri2W::new(self, 2)
    }
    #[doc = "Bit 3 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri3(&mut self) -> Eppri3W<'_, EpintpriSpec> {
        Eppri3W::new(self, 3)
    }
    #[doc = "Bit 4 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri4(&mut self) -> Eppri4W<'_, EpintpriSpec> {
        Eppri4W::new(self, 4)
    }
    #[doc = "Bit 5 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri5(&mut self) -> Eppri5W<'_, EpintpriSpec> {
        Eppri5W::new(self, 5)
    }
    #[doc = "Bit 6 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri6(&mut self) -> Eppri6W<'_, EpintpriSpec> {
        Eppri6W::new(self, 6)
    }
    #[doc = "Bit 7 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri7(&mut self) -> Eppri7W<'_, EpintpriSpec> {
        Eppri7W::new(self, 7)
    }
    #[doc = "Bit 8 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri8(&mut self) -> Eppri8W<'_, EpintpriSpec> {
        Eppri8W::new(self, 8)
    }
    #[doc = "Bit 9 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri9(&mut self) -> Eppri9W<'_, EpintpriSpec> {
        Eppri9W::new(self, 9)
    }
    #[doc = "Bit 10 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri10(&mut self) -> Eppri10W<'_, EpintpriSpec> {
        Eppri10W::new(self, 10)
    }
    #[doc = "Bit 11 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri11(&mut self) -> Eppri11W<'_, EpintpriSpec> {
        Eppri11W::new(self, 11)
    }
    #[doc = "Bit 12 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri12(&mut self) -> Eppri12W<'_, EpintpriSpec> {
        Eppri12W::new(self, 12)
    }
    #[doc = "Bit 13 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri13(&mut self) -> Eppri13W<'_, EpintpriSpec> {
        Eppri13W::new(self, 13)
    }
    #[doc = "Bit 14 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri14(&mut self) -> Eppri14W<'_, EpintpriSpec> {
        Eppri14W::new(self, 14)
    }
    #[doc = "Bit 15 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri15(&mut self) -> Eppri15W<'_, EpintpriSpec> {
        Eppri15W::new(self, 15)
    }
    #[doc = "Bit 16 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri16(&mut self) -> Eppri16W<'_, EpintpriSpec> {
        Eppri16W::new(self, 16)
    }
    #[doc = "Bit 17 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri17(&mut self) -> Eppri17W<'_, EpintpriSpec> {
        Eppri17W::new(self, 17)
    }
    #[doc = "Bit 18 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri18(&mut self) -> Eppri18W<'_, EpintpriSpec> {
        Eppri18W::new(self, 18)
    }
    #[doc = "Bit 19 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri19(&mut self) -> Eppri19W<'_, EpintpriSpec> {
        Eppri19W::new(self, 19)
    }
    #[doc = "Bit 20 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri20(&mut self) -> Eppri20W<'_, EpintpriSpec> {
        Eppri20W::new(self, 20)
    }
    #[doc = "Bit 21 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri21(&mut self) -> Eppri21W<'_, EpintpriSpec> {
        Eppri21W::new(self, 21)
    }
    #[doc = "Bit 22 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri22(&mut self) -> Eppri22W<'_, EpintpriSpec> {
        Eppri22W::new(self, 22)
    }
    #[doc = "Bit 23 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri23(&mut self) -> Eppri23W<'_, EpintpriSpec> {
        Eppri23W::new(self, 23)
    }
    #[doc = "Bit 24 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri24(&mut self) -> Eppri24W<'_, EpintpriSpec> {
        Eppri24W::new(self, 24)
    }
    #[doc = "Bit 25 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri25(&mut self) -> Eppri25W<'_, EpintpriSpec> {
        Eppri25W::new(self, 25)
    }
    #[doc = "Bit 26 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri26(&mut self) -> Eppri26W<'_, EpintpriSpec> {
        Eppri26W::new(self, 26)
    }
    #[doc = "Bit 27 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri27(&mut self) -> Eppri27W<'_, EpintpriSpec> {
        Eppri27W::new(self, 27)
    }
    #[doc = "Bit 28 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri28(&mut self) -> Eppri28W<'_, EpintpriSpec> {
        Eppri28W::new(self, 28)
    }
    #[doc = "Bit 29 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri29(&mut self) -> Eppri29W<'_, EpintpriSpec> {
        Eppri29W::new(self, 29)
    }
    #[doc = "Bit 30 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri30(&mut self) -> Eppri30W<'_, EpintpriSpec> {
        Eppri30W::new(self, 30)
    }
    #[doc = "Bit 31 - 0 = The corresponding interrupt is routed to the EP_SLOW bit of USBDevIntSt 1 = The corresponding interrupt is routed to the EP_FAST bit of USBDevIntSt"]
    #[inline(always)]
    pub fn eppri31(&mut self) -> Eppri31W<'_, EpintpriSpec> {
        Eppri31W::new(self, 31)
    }
}
#[doc = "USB Endpoint Priority\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`epintpri::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct EpintpriSpec;
impl crate::RegisterSpec for EpintpriSpec {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`epintpri::W`](W) writer structure"]
impl crate::Writable for EpintpriSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets EPINTPRI to value 0"]
impl crate::Resettable for EpintpriSpec {}
