#[doc = "Register `SYSERRINTCLR` writer"]
pub type W = crate::W<SyserrintclrSpec>;
#[doc = "Field `EPERRINTCLR0` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr0W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR1` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr1W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR2` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr2W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR3` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr3W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR4` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr4W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR5` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr5W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR6` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr6W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR7` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr7W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR8` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr8W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR9` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr9W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR10` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr10W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR11` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr11W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR12` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr12W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR13` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr13W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR14` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr14W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR15` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr15W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR16` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr16W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR17` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr17W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR18` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr18W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR19` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr19W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR20` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr20W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR21` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr21W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR22` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr22W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR23` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr23W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR24` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr24W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR25` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr25W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR26` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr26W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR27` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr27W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR28` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr28W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR29` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr29W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR30` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr30W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPERRINTCLR31` writer - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
pub type Eperrintclr31W<'a, REG> = crate::BitWriter<'a, REG>;
impl W {
    #[doc = "Bit 0 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr0(&mut self) -> Eperrintclr0W<'_, SyserrintclrSpec> {
        Eperrintclr0W::new(self, 0)
    }
    #[doc = "Bit 1 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr1(&mut self) -> Eperrintclr1W<'_, SyserrintclrSpec> {
        Eperrintclr1W::new(self, 1)
    }
    #[doc = "Bit 2 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr2(&mut self) -> Eperrintclr2W<'_, SyserrintclrSpec> {
        Eperrintclr2W::new(self, 2)
    }
    #[doc = "Bit 3 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr3(&mut self) -> Eperrintclr3W<'_, SyserrintclrSpec> {
        Eperrintclr3W::new(self, 3)
    }
    #[doc = "Bit 4 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr4(&mut self) -> Eperrintclr4W<'_, SyserrintclrSpec> {
        Eperrintclr4W::new(self, 4)
    }
    #[doc = "Bit 5 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr5(&mut self) -> Eperrintclr5W<'_, SyserrintclrSpec> {
        Eperrintclr5W::new(self, 5)
    }
    #[doc = "Bit 6 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr6(&mut self) -> Eperrintclr6W<'_, SyserrintclrSpec> {
        Eperrintclr6W::new(self, 6)
    }
    #[doc = "Bit 7 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr7(&mut self) -> Eperrintclr7W<'_, SyserrintclrSpec> {
        Eperrintclr7W::new(self, 7)
    }
    #[doc = "Bit 8 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr8(&mut self) -> Eperrintclr8W<'_, SyserrintclrSpec> {
        Eperrintclr8W::new(self, 8)
    }
    #[doc = "Bit 9 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr9(&mut self) -> Eperrintclr9W<'_, SyserrintclrSpec> {
        Eperrintclr9W::new(self, 9)
    }
    #[doc = "Bit 10 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr10(&mut self) -> Eperrintclr10W<'_, SyserrintclrSpec> {
        Eperrintclr10W::new(self, 10)
    }
    #[doc = "Bit 11 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr11(&mut self) -> Eperrintclr11W<'_, SyserrintclrSpec> {
        Eperrintclr11W::new(self, 11)
    }
    #[doc = "Bit 12 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr12(&mut self) -> Eperrintclr12W<'_, SyserrintclrSpec> {
        Eperrintclr12W::new(self, 12)
    }
    #[doc = "Bit 13 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr13(&mut self) -> Eperrintclr13W<'_, SyserrintclrSpec> {
        Eperrintclr13W::new(self, 13)
    }
    #[doc = "Bit 14 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr14(&mut self) -> Eperrintclr14W<'_, SyserrintclrSpec> {
        Eperrintclr14W::new(self, 14)
    }
    #[doc = "Bit 15 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr15(&mut self) -> Eperrintclr15W<'_, SyserrintclrSpec> {
        Eperrintclr15W::new(self, 15)
    }
    #[doc = "Bit 16 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr16(&mut self) -> Eperrintclr16W<'_, SyserrintclrSpec> {
        Eperrintclr16W::new(self, 16)
    }
    #[doc = "Bit 17 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr17(&mut self) -> Eperrintclr17W<'_, SyserrintclrSpec> {
        Eperrintclr17W::new(self, 17)
    }
    #[doc = "Bit 18 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr18(&mut self) -> Eperrintclr18W<'_, SyserrintclrSpec> {
        Eperrintclr18W::new(self, 18)
    }
    #[doc = "Bit 19 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr19(&mut self) -> Eperrintclr19W<'_, SyserrintclrSpec> {
        Eperrintclr19W::new(self, 19)
    }
    #[doc = "Bit 20 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr20(&mut self) -> Eperrintclr20W<'_, SyserrintclrSpec> {
        Eperrintclr20W::new(self, 20)
    }
    #[doc = "Bit 21 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr21(&mut self) -> Eperrintclr21W<'_, SyserrintclrSpec> {
        Eperrintclr21W::new(self, 21)
    }
    #[doc = "Bit 22 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr22(&mut self) -> Eperrintclr22W<'_, SyserrintclrSpec> {
        Eperrintclr22W::new(self, 22)
    }
    #[doc = "Bit 23 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr23(&mut self) -> Eperrintclr23W<'_, SyserrintclrSpec> {
        Eperrintclr23W::new(self, 23)
    }
    #[doc = "Bit 24 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr24(&mut self) -> Eperrintclr24W<'_, SyserrintclrSpec> {
        Eperrintclr24W::new(self, 24)
    }
    #[doc = "Bit 25 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr25(&mut self) -> Eperrintclr25W<'_, SyserrintclrSpec> {
        Eperrintclr25W::new(self, 25)
    }
    #[doc = "Bit 26 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr26(&mut self) -> Eperrintclr26W<'_, SyserrintclrSpec> {
        Eperrintclr26W::new(self, 26)
    }
    #[doc = "Bit 27 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr27(&mut self) -> Eperrintclr27W<'_, SyserrintclrSpec> {
        Eperrintclr27W::new(self, 27)
    }
    #[doc = "Bit 28 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr28(&mut self) -> Eperrintclr28W<'_, SyserrintclrSpec> {
        Eperrintclr28W::new(self, 28)
    }
    #[doc = "Bit 29 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr29(&mut self) -> Eperrintclr29W<'_, SyserrintclrSpec> {
        Eperrintclr29W::new(self, 29)
    }
    #[doc = "Bit 30 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr30(&mut self) -> Eperrintclr30W<'_, SyserrintclrSpec> {
        Eperrintclr30W::new(self, 30)
    }
    #[doc = "Bit 31 - Clear endpoint xx (2 <= xx <= 31) System Error Interrupt request. 0 = No effect. 1 = Clear the EPxx System Error Interrupt request in the USBSysErrIntSt register."]
    #[inline(always)]
    pub fn eperrintclr31(&mut self) -> Eperrintclr31W<'_, SyserrintclrSpec> {
        Eperrintclr31W::new(self, 31)
    }
}
#[doc = "USB System Error Interrupt Clear\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`syserrintclr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct SyserrintclrSpec;
impl crate::RegisterSpec for SyserrintclrSpec {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`syserrintclr::W`](W) writer structure"]
impl crate::Writable for SyserrintclrSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets SYSERRINTCLR to value 0"]
impl crate::Resettable for SyserrintclrSpec {}
