#[doc = "Register `EPINTSET` writer"]
pub type W = crate::W<EpintsetSpec>;
#[doc = "Field `EPSET0` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset0W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET1` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset1W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET2` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset2W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET3` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset3W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET4` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset4W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET5` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset5W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET6` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset6W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET7` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset7W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET8` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset8W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET9` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset9W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET10` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset10W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET11` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset11W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET12` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset12W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET13` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset13W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET14` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset14W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET15` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset15W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET16` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset16W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET17` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset17W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET18` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset18W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET19` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset19W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET20` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset20W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET21` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset21W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET22` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset22W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET23` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset23W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET24` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset24W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET25` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset25W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET26` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset26W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET27` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset27W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET28` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset28W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET29` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset29W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET30` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset30W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPSET31` writer - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
pub type Epset31W<'a, REG> = crate::BitWriter<'a, REG>;
impl W {
    #[doc = "Bit 0 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset0(&mut self) -> Epset0W<'_, EpintsetSpec> {
        Epset0W::new(self, 0)
    }
    #[doc = "Bit 1 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset1(&mut self) -> Epset1W<'_, EpintsetSpec> {
        Epset1W::new(self, 1)
    }
    #[doc = "Bit 2 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset2(&mut self) -> Epset2W<'_, EpintsetSpec> {
        Epset2W::new(self, 2)
    }
    #[doc = "Bit 3 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset3(&mut self) -> Epset3W<'_, EpintsetSpec> {
        Epset3W::new(self, 3)
    }
    #[doc = "Bit 4 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset4(&mut self) -> Epset4W<'_, EpintsetSpec> {
        Epset4W::new(self, 4)
    }
    #[doc = "Bit 5 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset5(&mut self) -> Epset5W<'_, EpintsetSpec> {
        Epset5W::new(self, 5)
    }
    #[doc = "Bit 6 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset6(&mut self) -> Epset6W<'_, EpintsetSpec> {
        Epset6W::new(self, 6)
    }
    #[doc = "Bit 7 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset7(&mut self) -> Epset7W<'_, EpintsetSpec> {
        Epset7W::new(self, 7)
    }
    #[doc = "Bit 8 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset8(&mut self) -> Epset8W<'_, EpintsetSpec> {
        Epset8W::new(self, 8)
    }
    #[doc = "Bit 9 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset9(&mut self) -> Epset9W<'_, EpintsetSpec> {
        Epset9W::new(self, 9)
    }
    #[doc = "Bit 10 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset10(&mut self) -> Epset10W<'_, EpintsetSpec> {
        Epset10W::new(self, 10)
    }
    #[doc = "Bit 11 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset11(&mut self) -> Epset11W<'_, EpintsetSpec> {
        Epset11W::new(self, 11)
    }
    #[doc = "Bit 12 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset12(&mut self) -> Epset12W<'_, EpintsetSpec> {
        Epset12W::new(self, 12)
    }
    #[doc = "Bit 13 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset13(&mut self) -> Epset13W<'_, EpintsetSpec> {
        Epset13W::new(self, 13)
    }
    #[doc = "Bit 14 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset14(&mut self) -> Epset14W<'_, EpintsetSpec> {
        Epset14W::new(self, 14)
    }
    #[doc = "Bit 15 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset15(&mut self) -> Epset15W<'_, EpintsetSpec> {
        Epset15W::new(self, 15)
    }
    #[doc = "Bit 16 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset16(&mut self) -> Epset16W<'_, EpintsetSpec> {
        Epset16W::new(self, 16)
    }
    #[doc = "Bit 17 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset17(&mut self) -> Epset17W<'_, EpintsetSpec> {
        Epset17W::new(self, 17)
    }
    #[doc = "Bit 18 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset18(&mut self) -> Epset18W<'_, EpintsetSpec> {
        Epset18W::new(self, 18)
    }
    #[doc = "Bit 19 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset19(&mut self) -> Epset19W<'_, EpintsetSpec> {
        Epset19W::new(self, 19)
    }
    #[doc = "Bit 20 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset20(&mut self) -> Epset20W<'_, EpintsetSpec> {
        Epset20W::new(self, 20)
    }
    #[doc = "Bit 21 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset21(&mut self) -> Epset21W<'_, EpintsetSpec> {
        Epset21W::new(self, 21)
    }
    #[doc = "Bit 22 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset22(&mut self) -> Epset22W<'_, EpintsetSpec> {
        Epset22W::new(self, 22)
    }
    #[doc = "Bit 23 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset23(&mut self) -> Epset23W<'_, EpintsetSpec> {
        Epset23W::new(self, 23)
    }
    #[doc = "Bit 24 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset24(&mut self) -> Epset24W<'_, EpintsetSpec> {
        Epset24W::new(self, 24)
    }
    #[doc = "Bit 25 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset25(&mut self) -> Epset25W<'_, EpintsetSpec> {
        Epset25W::new(self, 25)
    }
    #[doc = "Bit 26 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset26(&mut self) -> Epset26W<'_, EpintsetSpec> {
        Epset26W::new(self, 26)
    }
    #[doc = "Bit 27 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset27(&mut self) -> Epset27W<'_, EpintsetSpec> {
        Epset27W::new(self, 27)
    }
    #[doc = "Bit 28 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset28(&mut self) -> Epset28W<'_, EpintsetSpec> {
        Epset28W::new(self, 28)
    }
    #[doc = "Bit 29 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset29(&mut self) -> Epset29W<'_, EpintsetSpec> {
        Epset29W::new(self, 29)
    }
    #[doc = "Bit 30 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset30(&mut self) -> Epset30W<'_, EpintsetSpec> {
        Epset30W::new(self, 30)
    }
    #[doc = "Bit 31 - 0 = No effect. 1 = Sets the corresponding bit in USBEpIntSt."]
    #[inline(always)]
    pub fn epset31(&mut self) -> Epset31W<'_, EpintsetSpec> {
        Epset31W::new(self, 31)
    }
}
#[doc = "USB Endpoint Interrupt Set\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`epintset::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct EpintsetSpec;
impl crate::RegisterSpec for EpintsetSpec {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`epintset::W`](W) writer structure"]
impl crate::Writable for EpintsetSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets EPINTSET to value 0"]
impl crate::Resettable for EpintsetSpec {}
