#[doc = "Register `EPINTCLR` writer"]
pub type W = crate::W<EpintclrSpec>;
#[doc = "Field `EPCLR0` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr0W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR1` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr1W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR2` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr2W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR3` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr3W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR4` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr4W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR5` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr5W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR6` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr6W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR7` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr7W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR8` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr8W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR9` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr9W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR10` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr10W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR11` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr11W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR12` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr12W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR13` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr13W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR14` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr14W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR15` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr15W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR16` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr16W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR17` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr17W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR18` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr18W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR19` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr19W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR20` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr20W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR21` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr21W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR22` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr22W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR23` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr23W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR24` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr24W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR25` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr25W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR26` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr26W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR27` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr27W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR28` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr28W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR29` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr29W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR30` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr30W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPCLR31` writer - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
pub type Epclr31W<'a, REG> = crate::BitWriter<'a, REG>;
impl W {
    #[doc = "Bit 0 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr0(&mut self) -> Epclr0W<'_, EpintclrSpec> {
        Epclr0W::new(self, 0)
    }
    #[doc = "Bit 1 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr1(&mut self) -> Epclr1W<'_, EpintclrSpec> {
        Epclr1W::new(self, 1)
    }
    #[doc = "Bit 2 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr2(&mut self) -> Epclr2W<'_, EpintclrSpec> {
        Epclr2W::new(self, 2)
    }
    #[doc = "Bit 3 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr3(&mut self) -> Epclr3W<'_, EpintclrSpec> {
        Epclr3W::new(self, 3)
    }
    #[doc = "Bit 4 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr4(&mut self) -> Epclr4W<'_, EpintclrSpec> {
        Epclr4W::new(self, 4)
    }
    #[doc = "Bit 5 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr5(&mut self) -> Epclr5W<'_, EpintclrSpec> {
        Epclr5W::new(self, 5)
    }
    #[doc = "Bit 6 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr6(&mut self) -> Epclr6W<'_, EpintclrSpec> {
        Epclr6W::new(self, 6)
    }
    #[doc = "Bit 7 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr7(&mut self) -> Epclr7W<'_, EpintclrSpec> {
        Epclr7W::new(self, 7)
    }
    #[doc = "Bit 8 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr8(&mut self) -> Epclr8W<'_, EpintclrSpec> {
        Epclr8W::new(self, 8)
    }
    #[doc = "Bit 9 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr9(&mut self) -> Epclr9W<'_, EpintclrSpec> {
        Epclr9W::new(self, 9)
    }
    #[doc = "Bit 10 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr10(&mut self) -> Epclr10W<'_, EpintclrSpec> {
        Epclr10W::new(self, 10)
    }
    #[doc = "Bit 11 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr11(&mut self) -> Epclr11W<'_, EpintclrSpec> {
        Epclr11W::new(self, 11)
    }
    #[doc = "Bit 12 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr12(&mut self) -> Epclr12W<'_, EpintclrSpec> {
        Epclr12W::new(self, 12)
    }
    #[doc = "Bit 13 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr13(&mut self) -> Epclr13W<'_, EpintclrSpec> {
        Epclr13W::new(self, 13)
    }
    #[doc = "Bit 14 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr14(&mut self) -> Epclr14W<'_, EpintclrSpec> {
        Epclr14W::new(self, 14)
    }
    #[doc = "Bit 15 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr15(&mut self) -> Epclr15W<'_, EpintclrSpec> {
        Epclr15W::new(self, 15)
    }
    #[doc = "Bit 16 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr16(&mut self) -> Epclr16W<'_, EpintclrSpec> {
        Epclr16W::new(self, 16)
    }
    #[doc = "Bit 17 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr17(&mut self) -> Epclr17W<'_, EpintclrSpec> {
        Epclr17W::new(self, 17)
    }
    #[doc = "Bit 18 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr18(&mut self) -> Epclr18W<'_, EpintclrSpec> {
        Epclr18W::new(self, 18)
    }
    #[doc = "Bit 19 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr19(&mut self) -> Epclr19W<'_, EpintclrSpec> {
        Epclr19W::new(self, 19)
    }
    #[doc = "Bit 20 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr20(&mut self) -> Epclr20W<'_, EpintclrSpec> {
        Epclr20W::new(self, 20)
    }
    #[doc = "Bit 21 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr21(&mut self) -> Epclr21W<'_, EpintclrSpec> {
        Epclr21W::new(self, 21)
    }
    #[doc = "Bit 22 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr22(&mut self) -> Epclr22W<'_, EpintclrSpec> {
        Epclr22W::new(self, 22)
    }
    #[doc = "Bit 23 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr23(&mut self) -> Epclr23W<'_, EpintclrSpec> {
        Epclr23W::new(self, 23)
    }
    #[doc = "Bit 24 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr24(&mut self) -> Epclr24W<'_, EpintclrSpec> {
        Epclr24W::new(self, 24)
    }
    #[doc = "Bit 25 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr25(&mut self) -> Epclr25W<'_, EpintclrSpec> {
        Epclr25W::new(self, 25)
    }
    #[doc = "Bit 26 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr26(&mut self) -> Epclr26W<'_, EpintclrSpec> {
        Epclr26W::new(self, 26)
    }
    #[doc = "Bit 27 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr27(&mut self) -> Epclr27W<'_, EpintclrSpec> {
        Epclr27W::new(self, 27)
    }
    #[doc = "Bit 28 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr28(&mut self) -> Epclr28W<'_, EpintclrSpec> {
        Epclr28W::new(self, 28)
    }
    #[doc = "Bit 29 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr29(&mut self) -> Epclr29W<'_, EpintclrSpec> {
        Epclr29W::new(self, 29)
    }
    #[doc = "Bit 30 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr30(&mut self) -> Epclr30W<'_, EpintclrSpec> {
        Epclr30W::new(self, 30)
    }
    #[doc = "Bit 31 - 0 = No effect. 1 = Clears the corresponding bit in USBEpIntSt, by executing the SIE Select Endpoint/Clear Interrupt command for this endpoint."]
    #[inline(always)]
    pub fn epclr31(&mut self) -> Epclr31W<'_, EpintclrSpec> {
        Epclr31W::new(self, 31)
    }
}
#[doc = "USB Endpoint Interrupt Clear\n\nYou can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`epintclr::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct EpintclrSpec;
impl crate::RegisterSpec for EpintclrSpec {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`epintclr::W`](W) writer structure"]
impl crate::Writable for EpintclrSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets EPINTCLR to value 0"]
impl crate::Resettable for EpintclrSpec {}
