#[doc = "Register `SYSERRINTSET` writer"]
pub type W = crate::W<SyserrintsetSpec>;
#[doc = "Field `EPERRINTSET0` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset0W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET1` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset1W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET2` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset2W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET3` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset3W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET4` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset4W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET5` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset5W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET6` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset6W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET7` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset7W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET8` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset8W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET9` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset9W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET10` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset10W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET11` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset11W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET12` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset12W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET13` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset13W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET14` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset14W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET15` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset15W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET16` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset16W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET17` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset17W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET18` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset18W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET19` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset19W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET20` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset20W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET21` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset21W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET22` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset22W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET23` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset23W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET24` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset24W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET25` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset25W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET26` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset26W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET27` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset27W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET28` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset28W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET29` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset29W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET30` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset30W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTSET31` writer - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintset31W<'a, REG> = crate::BitWriter<'a, REG>;
impl W {
    #[doc = "Bit 0 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset0(&mut self) -> Eperrintset0W<'_, SyserrintsetSpec> {
        Eperrintset0W::new(self, 0)
    }
    #[doc = "Bit 1 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset1(&mut self) -> Eperrintset1W<'_, SyserrintsetSpec> {
        Eperrintset1W::new(self, 1)
    }
    #[doc = "Bit 2 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset2(&mut self) -> Eperrintset2W<'_, SyserrintsetSpec> {
        Eperrintset2W::new(self, 2)
    }
    #[doc = "Bit 3 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset3(&mut self) -> Eperrintset3W<'_, SyserrintsetSpec> {
        Eperrintset3W::new(self, 3)
    }
    #[doc = "Bit 4 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset4(&mut self) -> Eperrintset4W<'_, SyserrintsetSpec> {
        Eperrintset4W::new(self, 4)
    }
    #[doc = "Bit 5 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset5(&mut self) -> Eperrintset5W<'_, SyserrintsetSpec> {
        Eperrintset5W::new(self, 5)
    }
    #[doc = "Bit 6 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset6(&mut self) -> Eperrintset6W<'_, SyserrintsetSpec> {
        Eperrintset6W::new(self, 6)
    }
    #[doc = "Bit 7 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset7(&mut self) -> Eperrintset7W<'_, SyserrintsetSpec> {
        Eperrintset7W::new(self, 7)
    }
    #[doc = "Bit 8 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset8(&mut self) -> Eperrintset8W<'_, SyserrintsetSpec> {
        Eperrintset8W::new(self, 8)
    }
    #[doc = "Bit 9 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset9(&mut self) -> Eperrintset9W<'_, SyserrintsetSpec> {
        Eperrintset9W::new(self, 9)
    }
    #[doc = "Bit 10 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset10(&mut self) -> Eperrintset10W<'_, SyserrintsetSpec> {
        Eperrintset10W::new(self, 10)
    }
    #[doc = "Bit 11 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset11(&mut self) -> Eperrintset11W<'_, SyserrintsetSpec> {
        Eperrintset11W::new(self, 11)
    }
    #[doc = "Bit 12 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset12(&mut self) -> Eperrintset12W<'_, SyserrintsetSpec> {
        Eperrintset12W::new(self, 12)
    }
    #[doc = "Bit 13 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset13(&mut self) -> Eperrintset13W<'_, SyserrintsetSpec> {
        Eperrintset13W::new(self, 13)
    }
    #[doc = "Bit 14 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset14(&mut self) -> Eperrintset14W<'_, SyserrintsetSpec> {
        Eperrintset14W::new(self, 14)
    }
    #[doc = "Bit 15 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset15(&mut self) -> Eperrintset15W<'_, SyserrintsetSpec> {
        Eperrintset15W::new(self, 15)
    }
    #[doc = "Bit 16 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset16(&mut self) -> Eperrintset16W<'_, SyserrintsetSpec> {
        Eperrintset16W::new(self, 16)
    }
    #[doc = "Bit 17 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset17(&mut self) -> Eperrintset17W<'_, SyserrintsetSpec> {
        Eperrintset17W::new(self, 17)
    }
    #[doc = "Bit 18 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset18(&mut self) -> Eperrintset18W<'_, SyserrintsetSpec> {
        Eperrintset18W::new(self, 18)
    }
    #[doc = "Bit 19 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset19(&mut self) -> Eperrintset19W<'_, SyserrintsetSpec> {
        Eperrintset19W::new(self, 19)
    }
    #[doc = "Bit 20 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset20(&mut self) -> Eperrintset20W<'_, SyserrintsetSpec> {
        Eperrintset20W::new(self, 20)
    }
    #[doc = "Bit 21 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset21(&mut self) -> Eperrintset21W<'_, SyserrintsetSpec> {
        Eperrintset21W::new(self, 21)
    }
    #[doc = "Bit 22 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset22(&mut self) -> Eperrintset22W<'_, SyserrintsetSpec> {
        Eperrintset22W::new(self, 22)
    }
    #[doc = "Bit 23 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset23(&mut self) -> Eperrintset23W<'_, SyserrintsetSpec> {
        Eperrintset23W::new(self, 23)
    }
    #[doc = "Bit 24 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset24(&mut self) -> Eperrintset24W<'_, SyserrintsetSpec> {
        Eperrintset24W::new(self, 24)
    }
    #[doc = "Bit 25 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset25(&mut self) -> Eperrintset25W<'_, SyserrintsetSpec> {
        Eperrintset25W::new(self, 25)
    }
    #[doc = "Bit 26 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset26(&mut self) -> Eperrintset26W<'_, SyserrintsetSpec> {
        Eperrintset26W::new(self, 26)
    }
    #[doc = "Bit 27 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset27(&mut self) -> Eperrintset27W<'_, SyserrintsetSpec> {
        Eperrintset27W::new(self, 27)
    }
    #[doc = "Bit 28 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset28(&mut self) -> Eperrintset28W<'_, SyserrintsetSpec> {
        Eperrintset28W::new(self, 28)
    }
    #[doc = "Bit 29 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset29(&mut self) -> Eperrintset29W<'_, SyserrintsetSpec> {
        Eperrintset29W::new(self, 29)
    }
    #[doc = "Bit 30 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset30(&mut self) -> Eperrintset30W<'_, SyserrintsetSpec> {
        Eperrintset30W::new(self, 30)
    }
    #[doc = "Bit 31 - Set endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Set the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintset31(&mut self) -> Eperrintset31W<'_, SyserrintsetSpec> {
        Eperrintset31W::new(self, 31)
    }
}
#[doc = "USB System Error Interrupt Set\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`syserrintset::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct SyserrintsetSpec;
impl crate::RegisterSpec for SyserrintsetSpec {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`syserrintset::W`](W) writer structure"]
impl crate::Writable for SyserrintsetSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets SYSERRINTSET to value 0"]
impl crate::Resettable for SyserrintsetSpec {}
