#[doc = "Register `NDDRINTSET` writer"]
pub type W = crate::W<NddrintsetSpec>;
#[doc = "Field `EPNDDINTSET0` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset0W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET1` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset1W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET2` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset2W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET3` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset3W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET4` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset4W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET5` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset5W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET6` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset6W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET7` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset7W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET8` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset8W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET9` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset9W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET10` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset10W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET11` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset11W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET12` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset12W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET13` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset13W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET14` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset14W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET15` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset15W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET16` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset16W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET17` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset17W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET18` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset18W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET19` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset19W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET20` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset20W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET21` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset21W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET22` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset22W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET23` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset23W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET24` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset24W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET25` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset25W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET26` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset26W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET27` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset27W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET28` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset28W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET29` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset29W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET30` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset30W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPNDDINTSET31` writer - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
pub type Epnddintset31W<'a, REG> = crate::BitWriter<'a, REG>;
impl W {
    #[doc = "Bit 0 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset0(&mut self) -> Epnddintset0W<'_, NddrintsetSpec> {
        Epnddintset0W::new(self, 0)
    }
    #[doc = "Bit 1 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset1(&mut self) -> Epnddintset1W<'_, NddrintsetSpec> {
        Epnddintset1W::new(self, 1)
    }
    #[doc = "Bit 2 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset2(&mut self) -> Epnddintset2W<'_, NddrintsetSpec> {
        Epnddintset2W::new(self, 2)
    }
    #[doc = "Bit 3 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset3(&mut self) -> Epnddintset3W<'_, NddrintsetSpec> {
        Epnddintset3W::new(self, 3)
    }
    #[doc = "Bit 4 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset4(&mut self) -> Epnddintset4W<'_, NddrintsetSpec> {
        Epnddintset4W::new(self, 4)
    }
    #[doc = "Bit 5 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset5(&mut self) -> Epnddintset5W<'_, NddrintsetSpec> {
        Epnddintset5W::new(self, 5)
    }
    #[doc = "Bit 6 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset6(&mut self) -> Epnddintset6W<'_, NddrintsetSpec> {
        Epnddintset6W::new(self, 6)
    }
    #[doc = "Bit 7 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset7(&mut self) -> Epnddintset7W<'_, NddrintsetSpec> {
        Epnddintset7W::new(self, 7)
    }
    #[doc = "Bit 8 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset8(&mut self) -> Epnddintset8W<'_, NddrintsetSpec> {
        Epnddintset8W::new(self, 8)
    }
    #[doc = "Bit 9 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset9(&mut self) -> Epnddintset9W<'_, NddrintsetSpec> {
        Epnddintset9W::new(self, 9)
    }
    #[doc = "Bit 10 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset10(&mut self) -> Epnddintset10W<'_, NddrintsetSpec> {
        Epnddintset10W::new(self, 10)
    }
    #[doc = "Bit 11 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset11(&mut self) -> Epnddintset11W<'_, NddrintsetSpec> {
        Epnddintset11W::new(self, 11)
    }
    #[doc = "Bit 12 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset12(&mut self) -> Epnddintset12W<'_, NddrintsetSpec> {
        Epnddintset12W::new(self, 12)
    }
    #[doc = "Bit 13 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset13(&mut self) -> Epnddintset13W<'_, NddrintsetSpec> {
        Epnddintset13W::new(self, 13)
    }
    #[doc = "Bit 14 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset14(&mut self) -> Epnddintset14W<'_, NddrintsetSpec> {
        Epnddintset14W::new(self, 14)
    }
    #[doc = "Bit 15 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset15(&mut self) -> Epnddintset15W<'_, NddrintsetSpec> {
        Epnddintset15W::new(self, 15)
    }
    #[doc = "Bit 16 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset16(&mut self) -> Epnddintset16W<'_, NddrintsetSpec> {
        Epnddintset16W::new(self, 16)
    }
    #[doc = "Bit 17 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset17(&mut self) -> Epnddintset17W<'_, NddrintsetSpec> {
        Epnddintset17W::new(self, 17)
    }
    #[doc = "Bit 18 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset18(&mut self) -> Epnddintset18W<'_, NddrintsetSpec> {
        Epnddintset18W::new(self, 18)
    }
    #[doc = "Bit 19 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset19(&mut self) -> Epnddintset19W<'_, NddrintsetSpec> {
        Epnddintset19W::new(self, 19)
    }
    #[doc = "Bit 20 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset20(&mut self) -> Epnddintset20W<'_, NddrintsetSpec> {
        Epnddintset20W::new(self, 20)
    }
    #[doc = "Bit 21 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset21(&mut self) -> Epnddintset21W<'_, NddrintsetSpec> {
        Epnddintset21W::new(self, 21)
    }
    #[doc = "Bit 22 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset22(&mut self) -> Epnddintset22W<'_, NddrintsetSpec> {
        Epnddintset22W::new(self, 22)
    }
    #[doc = "Bit 23 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset23(&mut self) -> Epnddintset23W<'_, NddrintsetSpec> {
        Epnddintset23W::new(self, 23)
    }
    #[doc = "Bit 24 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset24(&mut self) -> Epnddintset24W<'_, NddrintsetSpec> {
        Epnddintset24W::new(self, 24)
    }
    #[doc = "Bit 25 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset25(&mut self) -> Epnddintset25W<'_, NddrintsetSpec> {
        Epnddintset25W::new(self, 25)
    }
    #[doc = "Bit 26 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset26(&mut self) -> Epnddintset26W<'_, NddrintsetSpec> {
        Epnddintset26W::new(self, 26)
    }
    #[doc = "Bit 27 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset27(&mut self) -> Epnddintset27W<'_, NddrintsetSpec> {
        Epnddintset27W::new(self, 27)
    }
    #[doc = "Bit 28 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset28(&mut self) -> Epnddintset28W<'_, NddrintsetSpec> {
        Epnddintset28W::new(self, 28)
    }
    #[doc = "Bit 29 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset29(&mut self) -> Epnddintset29W<'_, NddrintsetSpec> {
        Epnddintset29W::new(self, 29)
    }
    #[doc = "Bit 30 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset30(&mut self) -> Epnddintset30W<'_, NddrintsetSpec> {
        Epnddintset30W::new(self, 30)
    }
    #[doc = "Bit 31 - Set endpoint xx (2 <= xx <= 31) new DD interrupt request. 0 = No effect. 1 = Set the EPxx new DD interrupt request in the USBNDDRIntSt register."]
    #[inline(always)]
    pub fn epnddintset31(&mut self) -> Epnddintset31W<'_, NddrintsetSpec> {
        Epnddintset31W::new(self, 31)
    }
}
#[doc = "USB New DD Request Interrupt Set\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`nddrintset::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct NddrintsetSpec;
impl crate::RegisterSpec for NddrintsetSpec {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`nddrintset::W`](W) writer structure"]
impl crate::Writable for NddrintsetSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets NDDRINTSET to value 0"]
impl crate::Resettable for NddrintsetSpec {}
