#[doc = "Register `EPINTEN` reader"]
pub type R = crate::R<EpintenSpec>;
#[doc = "Register `EPINTEN` writer"]
pub type W = crate::W<EpintenSpec>;
#[doc = "Field `EPEN0` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen0R = crate::BitReader;
#[doc = "Field `EPEN0` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen0W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN1` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen1R = crate::BitReader;
#[doc = "Field `EPEN1` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen1W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN2` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen2R = crate::BitReader;
#[doc = "Field `EPEN2` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen2W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN3` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen3R = crate::BitReader;
#[doc = "Field `EPEN3` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen3W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN4` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen4R = crate::BitReader;
#[doc = "Field `EPEN4` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen4W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN5` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen5R = crate::BitReader;
#[doc = "Field `EPEN5` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen5W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN6` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen6R = crate::BitReader;
#[doc = "Field `EPEN6` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen6W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN7` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen7R = crate::BitReader;
#[doc = "Field `EPEN7` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen7W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN8` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen8R = crate::BitReader;
#[doc = "Field `EPEN8` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen8W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN9` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen9R = crate::BitReader;
#[doc = "Field `EPEN9` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen9W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN10` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen10R = crate::BitReader;
#[doc = "Field `EPEN10` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen10W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN11` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen11R = crate::BitReader;
#[doc = "Field `EPEN11` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen11W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN12` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen12R = crate::BitReader;
#[doc = "Field `EPEN12` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen12W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN13` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen13R = crate::BitReader;
#[doc = "Field `EPEN13` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen13W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN14` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen14R = crate::BitReader;
#[doc = "Field `EPEN14` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen14W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN15` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen15R = crate::BitReader;
#[doc = "Field `EPEN15` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen15W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN16` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen16R = crate::BitReader;
#[doc = "Field `EPEN16` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen16W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN17` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen17R = crate::BitReader;
#[doc = "Field `EPEN17` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen17W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN18` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen18R = crate::BitReader;
#[doc = "Field `EPEN18` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen18W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN19` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen19R = crate::BitReader;
#[doc = "Field `EPEN19` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen19W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN20` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen20R = crate::BitReader;
#[doc = "Field `EPEN20` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen20W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN21` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen21R = crate::BitReader;
#[doc = "Field `EPEN21` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen21W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN22` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen22R = crate::BitReader;
#[doc = "Field `EPEN22` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen22W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN23` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen23R = crate::BitReader;
#[doc = "Field `EPEN23` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen23W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN24` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen24R = crate::BitReader;
#[doc = "Field `EPEN24` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen24W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN25` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen25R = crate::BitReader;
#[doc = "Field `EPEN25` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen25W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN26` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen26R = crate::BitReader;
#[doc = "Field `EPEN26` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen26W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN27` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen27R = crate::BitReader;
#[doc = "Field `EPEN27` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen27W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN28` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen28R = crate::BitReader;
#[doc = "Field `EPEN28` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen28W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN29` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen29R = crate::BitReader;
#[doc = "Field `EPEN29` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen29W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN30` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen30R = crate::BitReader;
#[doc = "Field `EPEN30` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen30W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `EPEN31` reader - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen31R = crate::BitReader;
#[doc = "Field `EPEN31` writer - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
pub type Epen31W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
    #[doc = "Bit 0 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen0(&self) -> Epen0R {
        Epen0R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen1(&self) -> Epen1R {
        Epen1R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen2(&self) -> Epen2R {
        Epen2R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen3(&self) -> Epen3R {
        Epen3R::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen4(&self) -> Epen4R {
        Epen4R::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen5(&self) -> Epen5R {
        Epen5R::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen6(&self) -> Epen6R {
        Epen6R::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 7 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen7(&self) -> Epen7R {
        Epen7R::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bit 8 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen8(&self) -> Epen8R {
        Epen8R::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 9 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen9(&self) -> Epen9R {
        Epen9R::new(((self.bits >> 9) & 1) != 0)
    }
    #[doc = "Bit 10 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen10(&self) -> Epen10R {
        Epen10R::new(((self.bits >> 10) & 1) != 0)
    }
    #[doc = "Bit 11 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen11(&self) -> Epen11R {
        Epen11R::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 12 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen12(&self) -> Epen12R {
        Epen12R::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 13 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen13(&self) -> Epen13R {
        Epen13R::new(((self.bits >> 13) & 1) != 0)
    }
    #[doc = "Bit 14 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen14(&self) -> Epen14R {
        Epen14R::new(((self.bits >> 14) & 1) != 0)
    }
    #[doc = "Bit 15 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen15(&self) -> Epen15R {
        Epen15R::new(((self.bits >> 15) & 1) != 0)
    }
    #[doc = "Bit 16 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen16(&self) -> Epen16R {
        Epen16R::new(((self.bits >> 16) & 1) != 0)
    }
    #[doc = "Bit 17 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen17(&self) -> Epen17R {
        Epen17R::new(((self.bits >> 17) & 1) != 0)
    }
    #[doc = "Bit 18 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen18(&self) -> Epen18R {
        Epen18R::new(((self.bits >> 18) & 1) != 0)
    }
    #[doc = "Bit 19 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen19(&self) -> Epen19R {
        Epen19R::new(((self.bits >> 19) & 1) != 0)
    }
    #[doc = "Bit 20 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen20(&self) -> Epen20R {
        Epen20R::new(((self.bits >> 20) & 1) != 0)
    }
    #[doc = "Bit 21 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen21(&self) -> Epen21R {
        Epen21R::new(((self.bits >> 21) & 1) != 0)
    }
    #[doc = "Bit 22 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen22(&self) -> Epen22R {
        Epen22R::new(((self.bits >> 22) & 1) != 0)
    }
    #[doc = "Bit 23 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen23(&self) -> Epen23R {
        Epen23R::new(((self.bits >> 23) & 1) != 0)
    }
    #[doc = "Bit 24 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen24(&self) -> Epen24R {
        Epen24R::new(((self.bits >> 24) & 1) != 0)
    }
    #[doc = "Bit 25 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen25(&self) -> Epen25R {
        Epen25R::new(((self.bits >> 25) & 1) != 0)
    }
    #[doc = "Bit 26 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen26(&self) -> Epen26R {
        Epen26R::new(((self.bits >> 26) & 1) != 0)
    }
    #[doc = "Bit 27 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen27(&self) -> Epen27R {
        Epen27R::new(((self.bits >> 27) & 1) != 0)
    }
    #[doc = "Bit 28 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen28(&self) -> Epen28R {
        Epen28R::new(((self.bits >> 28) & 1) != 0)
    }
    #[doc = "Bit 29 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen29(&self) -> Epen29R {
        Epen29R::new(((self.bits >> 29) & 1) != 0)
    }
    #[doc = "Bit 30 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen30(&self) -> Epen30R {
        Epen30R::new(((self.bits >> 30) & 1) != 0)
    }
    #[doc = "Bit 31 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen31(&self) -> Epen31R {
        Epen31R::new(((self.bits >> 31) & 1) != 0)
    }
}
impl W {
    #[doc = "Bit 0 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen0(&mut self) -> Epen0W<'_, EpintenSpec> {
        Epen0W::new(self, 0)
    }
    #[doc = "Bit 1 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen1(&mut self) -> Epen1W<'_, EpintenSpec> {
        Epen1W::new(self, 1)
    }
    #[doc = "Bit 2 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen2(&mut self) -> Epen2W<'_, EpintenSpec> {
        Epen2W::new(self, 2)
    }
    #[doc = "Bit 3 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen3(&mut self) -> Epen3W<'_, EpintenSpec> {
        Epen3W::new(self, 3)
    }
    #[doc = "Bit 4 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen4(&mut self) -> Epen4W<'_, EpintenSpec> {
        Epen4W::new(self, 4)
    }
    #[doc = "Bit 5 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen5(&mut self) -> Epen5W<'_, EpintenSpec> {
        Epen5W::new(self, 5)
    }
    #[doc = "Bit 6 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen6(&mut self) -> Epen6W<'_, EpintenSpec> {
        Epen6W::new(self, 6)
    }
    #[doc = "Bit 7 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen7(&mut self) -> Epen7W<'_, EpintenSpec> {
        Epen7W::new(self, 7)
    }
    #[doc = "Bit 8 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen8(&mut self) -> Epen8W<'_, EpintenSpec> {
        Epen8W::new(self, 8)
    }
    #[doc = "Bit 9 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen9(&mut self) -> Epen9W<'_, EpintenSpec> {
        Epen9W::new(self, 9)
    }
    #[doc = "Bit 10 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen10(&mut self) -> Epen10W<'_, EpintenSpec> {
        Epen10W::new(self, 10)
    }
    #[doc = "Bit 11 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen11(&mut self) -> Epen11W<'_, EpintenSpec> {
        Epen11W::new(self, 11)
    }
    #[doc = "Bit 12 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen12(&mut self) -> Epen12W<'_, EpintenSpec> {
        Epen12W::new(self, 12)
    }
    #[doc = "Bit 13 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen13(&mut self) -> Epen13W<'_, EpintenSpec> {
        Epen13W::new(self, 13)
    }
    #[doc = "Bit 14 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen14(&mut self) -> Epen14W<'_, EpintenSpec> {
        Epen14W::new(self, 14)
    }
    #[doc = "Bit 15 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen15(&mut self) -> Epen15W<'_, EpintenSpec> {
        Epen15W::new(self, 15)
    }
    #[doc = "Bit 16 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen16(&mut self) -> Epen16W<'_, EpintenSpec> {
        Epen16W::new(self, 16)
    }
    #[doc = "Bit 17 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen17(&mut self) -> Epen17W<'_, EpintenSpec> {
        Epen17W::new(self, 17)
    }
    #[doc = "Bit 18 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen18(&mut self) -> Epen18W<'_, EpintenSpec> {
        Epen18W::new(self, 18)
    }
    #[doc = "Bit 19 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen19(&mut self) -> Epen19W<'_, EpintenSpec> {
        Epen19W::new(self, 19)
    }
    #[doc = "Bit 20 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen20(&mut self) -> Epen20W<'_, EpintenSpec> {
        Epen20W::new(self, 20)
    }
    #[doc = "Bit 21 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen21(&mut self) -> Epen21W<'_, EpintenSpec> {
        Epen21W::new(self, 21)
    }
    #[doc = "Bit 22 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen22(&mut self) -> Epen22W<'_, EpintenSpec> {
        Epen22W::new(self, 22)
    }
    #[doc = "Bit 23 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen23(&mut self) -> Epen23W<'_, EpintenSpec> {
        Epen23W::new(self, 23)
    }
    #[doc = "Bit 24 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen24(&mut self) -> Epen24W<'_, EpintenSpec> {
        Epen24W::new(self, 24)
    }
    #[doc = "Bit 25 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen25(&mut self) -> Epen25W<'_, EpintenSpec> {
        Epen25W::new(self, 25)
    }
    #[doc = "Bit 26 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen26(&mut self) -> Epen26W<'_, EpintenSpec> {
        Epen26W::new(self, 26)
    }
    #[doc = "Bit 27 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen27(&mut self) -> Epen27W<'_, EpintenSpec> {
        Epen27W::new(self, 27)
    }
    #[doc = "Bit 28 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen28(&mut self) -> Epen28W<'_, EpintenSpec> {
        Epen28W::new(self, 28)
    }
    #[doc = "Bit 29 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen29(&mut self) -> Epen29W<'_, EpintenSpec> {
        Epen29W::new(self, 29)
    }
    #[doc = "Bit 30 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen30(&mut self) -> Epen30W<'_, EpintenSpec> {
        Epen30W::new(self, 30)
    }
    #[doc = "Bit 31 - 0= The corresponding bit in USBDMARSt is set when an interrupt occurs for this endpoint. 1 = The corresponding bit in USBEpIntSt is set when an interrupt occurs for this endpoint. Implies Slave mode for this endpoint."]
    #[inline(always)]
    pub fn epen31(&mut self) -> Epen31W<'_, EpintenSpec> {
        Epen31W::new(self, 31)
    }
}
#[doc = "USB Endpoint Interrupt Enable\n\nYou can [`read`](crate::Reg::read) this register and get [`epinten::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`epinten::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct EpintenSpec;
impl crate::RegisterSpec for EpintenSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`epinten::R`](R) reader structure"]
impl crate::Readable for EpintenSpec {}
#[doc = "`write(|w| ..)` method takes [`epinten::W`](W) writer structure"]
impl crate::Writable for EpintenSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets EPINTEN to value 0"]
impl crate::Resettable for EpintenSpec {}
