#[doc = "Register `NDDRINTCLR` writer"]
pub type W = crate::W<NddrintclrSpec>;
#[doc = "Field `EPNDDINTCLR0` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr0W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR1` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr1W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR2` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr2W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR3` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr3W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR4` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr4W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR5` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr5W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR6` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr6W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR7` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr7W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR8` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr8W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR9` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr9W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR10` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr10W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR11` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr11W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR12` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr12W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR13` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr13W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR14` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr14W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR15` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr15W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR16` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr16W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR17` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr17W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR18` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr18W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR19` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr19W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR20` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr20W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR21` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr21W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR22` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr22W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR23` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr23W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR24` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr24W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR25` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr25W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR26` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr26W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR27` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr27W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR28` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr28W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR29` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr29W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR30` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr30W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTCLR31` writer - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintclr31W<'a, REG> = crate::BitWriter<'a, REG>;
impl W {
    #[doc = "Bit 0 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr0(&mut self) -> Epnddintclr0W<'_, NddrintclrSpec> {
        Epnddintclr0W::new(self, 0)
    }
    #[doc = "Bit 1 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr1(&mut self) -> Epnddintclr1W<'_, NddrintclrSpec> {
        Epnddintclr1W::new(self, 1)
    }
    #[doc = "Bit 2 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr2(&mut self) -> Epnddintclr2W<'_, NddrintclrSpec> {
        Epnddintclr2W::new(self, 2)
    }
    #[doc = "Bit 3 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr3(&mut self) -> Epnddintclr3W<'_, NddrintclrSpec> {
        Epnddintclr3W::new(self, 3)
    }
    #[doc = "Bit 4 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr4(&mut self) -> Epnddintclr4W<'_, NddrintclrSpec> {
        Epnddintclr4W::new(self, 4)
    }
    #[doc = "Bit 5 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr5(&mut self) -> Epnddintclr5W<'_, NddrintclrSpec> {
        Epnddintclr5W::new(self, 5)
    }
    #[doc = "Bit 6 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr6(&mut self) -> Epnddintclr6W<'_, NddrintclrSpec> {
        Epnddintclr6W::new(self, 6)
    }
    #[doc = "Bit 7 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr7(&mut self) -> Epnddintclr7W<'_, NddrintclrSpec> {
        Epnddintclr7W::new(self, 7)
    }
    #[doc = "Bit 8 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr8(&mut self) -> Epnddintclr8W<'_, NddrintclrSpec> {
        Epnddintclr8W::new(self, 8)
    }
    #[doc = "Bit 9 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr9(&mut self) -> Epnddintclr9W<'_, NddrintclrSpec> {
        Epnddintclr9W::new(self, 9)
    }
    #[doc = "Bit 10 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr10(&mut self) -> Epnddintclr10W<'_, NddrintclrSpec> {
        Epnddintclr10W::new(self, 10)
    }
    #[doc = "Bit 11 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr11(&mut self) -> Epnddintclr11W<'_, NddrintclrSpec> {
        Epnddintclr11W::new(self, 11)
    }
    #[doc = "Bit 12 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr12(&mut self) -> Epnddintclr12W<'_, NddrintclrSpec> {
        Epnddintclr12W::new(self, 12)
    }
    #[doc = "Bit 13 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr13(&mut self) -> Epnddintclr13W<'_, NddrintclrSpec> {
        Epnddintclr13W::new(self, 13)
    }
    #[doc = "Bit 14 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr14(&mut self) -> Epnddintclr14W<'_, NddrintclrSpec> {
        Epnddintclr14W::new(self, 14)
    }
    #[doc = "Bit 15 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr15(&mut self) -> Epnddintclr15W<'_, NddrintclrSpec> {
        Epnddintclr15W::new(self, 15)
    }
    #[doc = "Bit 16 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr16(&mut self) -> Epnddintclr16W<'_, NddrintclrSpec> {
        Epnddintclr16W::new(self, 16)
    }
    #[doc = "Bit 17 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr17(&mut self) -> Epnddintclr17W<'_, NddrintclrSpec> {
        Epnddintclr17W::new(self, 17)
    }
    #[doc = "Bit 18 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr18(&mut self) -> Epnddintclr18W<'_, NddrintclrSpec> {
        Epnddintclr18W::new(self, 18)
    }
    #[doc = "Bit 19 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr19(&mut self) -> Epnddintclr19W<'_, NddrintclrSpec> {
        Epnddintclr19W::new(self, 19)
    }
    #[doc = "Bit 20 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr20(&mut self) -> Epnddintclr20W<'_, NddrintclrSpec> {
        Epnddintclr20W::new(self, 20)
    }
    #[doc = "Bit 21 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr21(&mut self) -> Epnddintclr21W<'_, NddrintclrSpec> {
        Epnddintclr21W::new(self, 21)
    }
    #[doc = "Bit 22 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr22(&mut self) -> Epnddintclr22W<'_, NddrintclrSpec> {
        Epnddintclr22W::new(self, 22)
    }
    #[doc = "Bit 23 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr23(&mut self) -> Epnddintclr23W<'_, NddrintclrSpec> {
        Epnddintclr23W::new(self, 23)
    }
    #[doc = "Bit 24 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr24(&mut self) -> Epnddintclr24W<'_, NddrintclrSpec> {
        Epnddintclr24W::new(self, 24)
    }
    #[doc = "Bit 25 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr25(&mut self) -> Epnddintclr25W<'_, NddrintclrSpec> {
        Epnddintclr25W::new(self, 25)
    }
    #[doc = "Bit 26 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr26(&mut self) -> Epnddintclr26W<'_, NddrintclrSpec> {
        Epnddintclr26W::new(self, 26)
    }
    #[doc = "Bit 27 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr27(&mut self) -> Epnddintclr27W<'_, NddrintclrSpec> {
        Epnddintclr27W::new(self, 27)
    }
    #[doc = "Bit 28 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr28(&mut self) -> Epnddintclr28W<'_, NddrintclrSpec> {
        Epnddintclr28W::new(self, 28)
    }
    #[doc = "Bit 29 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr29(&mut self) -> Epnddintclr29W<'_, NddrintclrSpec> {
        Epnddintclr29W::new(self, 29)
    }
    #[doc = "Bit 30 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr30(&mut self) -> Epnddintclr30W<'_, NddrintclrSpec> {
        Epnddintclr30W::new(self, 30)
    }
    #[doc = "Bit 31 - Clear endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Clear the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintclr31(&mut self) -> Epnddintclr31W<'_, NddrintclrSpec> {
        Epnddintclr31W::new(self, 31)
    }
}
#[doc = "USB New DD Request Interrupt Clear\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`nddrintclr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct NddrintclrSpec;
impl crate::RegisterSpec for NddrintclrSpec {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`nddrintclr::W`](W) writer structure"]
impl crate::Writable for NddrintclrSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets NDDRINTCLR to value 0"]
impl crate::Resettable for NddrintclrSpec {}
