#[doc = "Register `SOFTLBREQ` reader"]
pub type R = crate::R<SoftlbreqSpec>;
#[doc = "Register `SOFTLBREQ` writer"]
pub type W = crate::W<SoftlbreqSpec>;
#[doc = "Field `SOFTLBREQ0` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq0R = crate::BitReader;
#[doc = "Field `SOFTLBREQ0` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq0W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ1` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq1R = crate::BitReader;
#[doc = "Field `SOFTLBREQ1` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq1W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ2` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq2R = crate::BitReader;
#[doc = "Field `SOFTLBREQ2` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq2W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ3` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq3R = crate::BitReader;
#[doc = "Field `SOFTLBREQ3` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq3W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ4` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq4R = crate::BitReader;
#[doc = "Field `SOFTLBREQ4` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq4W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ5` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq5R = crate::BitReader;
#[doc = "Field `SOFTLBREQ5` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq5W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ6` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq6R = crate::BitReader;
#[doc = "Field `SOFTLBREQ6` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq6W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ7` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq7R = crate::BitReader;
#[doc = "Field `SOFTLBREQ7` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq7W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ8` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq8R = crate::BitReader;
#[doc = "Field `SOFTLBREQ8` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq8W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ9` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq9R = crate::BitReader;
#[doc = "Field `SOFTLBREQ9` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq9W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ10` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq10R = crate::BitReader;
#[doc = "Field `SOFTLBREQ10` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq10W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ11` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq11R = crate::BitReader;
#[doc = "Field `SOFTLBREQ11` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq11W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ12` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq12R = crate::BitReader;
#[doc = "Field `SOFTLBREQ12` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq12W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ13` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq13R = crate::BitReader;
#[doc = "Field `SOFTLBREQ13` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq13W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ14` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq14R = crate::BitReader;
#[doc = "Field `SOFTLBREQ14` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq14W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTLBREQ15` reader - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq15R = crate::BitReader;
#[doc = "Field `SOFTLBREQ15` writer - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
pub type Softlbreq15W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
    #[doc = "Bit 0 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq0(&self) -> Softlbreq0R {
        Softlbreq0R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq1(&self) -> Softlbreq1R {
        Softlbreq1R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq2(&self) -> Softlbreq2R {
        Softlbreq2R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq3(&self) -> Softlbreq3R {
        Softlbreq3R::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq4(&self) -> Softlbreq4R {
        Softlbreq4R::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq5(&self) -> Softlbreq5R {
        Softlbreq5R::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq6(&self) -> Softlbreq6R {
        Softlbreq6R::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 7 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq7(&self) -> Softlbreq7R {
        Softlbreq7R::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bit 8 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq8(&self) -> Softlbreq8R {
        Softlbreq8R::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 9 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq9(&self) -> Softlbreq9R {
        Softlbreq9R::new(((self.bits >> 9) & 1) != 0)
    }
    #[doc = "Bit 10 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq10(&self) -> Softlbreq10R {
        Softlbreq10R::new(((self.bits >> 10) & 1) != 0)
    }
    #[doc = "Bit 11 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq11(&self) -> Softlbreq11R {
        Softlbreq11R::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 12 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq12(&self) -> Softlbreq12R {
        Softlbreq12R::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 13 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq13(&self) -> Softlbreq13R {
        Softlbreq13R::new(((self.bits >> 13) & 1) != 0)
    }
    #[doc = "Bit 14 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq14(&self) -> Softlbreq14R {
        Softlbreq14R::new(((self.bits >> 14) & 1) != 0)
    }
    #[doc = "Bit 15 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq15(&self) -> Softlbreq15R {
        Softlbreq15R::new(((self.bits >> 15) & 1) != 0)
    }
}
impl W {
    #[doc = "Bit 0 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq0(&mut self) -> Softlbreq0W<'_, SoftlbreqSpec> {
        Softlbreq0W::new(self, 0)
    }
    #[doc = "Bit 1 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq1(&mut self) -> Softlbreq1W<'_, SoftlbreqSpec> {
        Softlbreq1W::new(self, 1)
    }
    #[doc = "Bit 2 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq2(&mut self) -> Softlbreq2W<'_, SoftlbreqSpec> {
        Softlbreq2W::new(self, 2)
    }
    #[doc = "Bit 3 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq3(&mut self) -> Softlbreq3W<'_, SoftlbreqSpec> {
        Softlbreq3W::new(self, 3)
    }
    #[doc = "Bit 4 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq4(&mut self) -> Softlbreq4W<'_, SoftlbreqSpec> {
        Softlbreq4W::new(self, 4)
    }
    #[doc = "Bit 5 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq5(&mut self) -> Softlbreq5W<'_, SoftlbreqSpec> {
        Softlbreq5W::new(self, 5)
    }
    #[doc = "Bit 6 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq6(&mut self) -> Softlbreq6W<'_, SoftlbreqSpec> {
        Softlbreq6W::new(self, 6)
    }
    #[doc = "Bit 7 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq7(&mut self) -> Softlbreq7W<'_, SoftlbreqSpec> {
        Softlbreq7W::new(self, 7)
    }
    #[doc = "Bit 8 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq8(&mut self) -> Softlbreq8W<'_, SoftlbreqSpec> {
        Softlbreq8W::new(self, 8)
    }
    #[doc = "Bit 9 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq9(&mut self) -> Softlbreq9W<'_, SoftlbreqSpec> {
        Softlbreq9W::new(self, 9)
    }
    #[doc = "Bit 10 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq10(&mut self) -> Softlbreq10W<'_, SoftlbreqSpec> {
        Softlbreq10W::new(self, 10)
    }
    #[doc = "Bit 11 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq11(&mut self) -> Softlbreq11W<'_, SoftlbreqSpec> {
        Softlbreq11W::new(self, 11)
    }
    #[doc = "Bit 12 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq12(&mut self) -> Softlbreq12W<'_, SoftlbreqSpec> {
        Softlbreq12W::new(self, 12)
    }
    #[doc = "Bit 13 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq13(&mut self) -> Softlbreq13W<'_, SoftlbreqSpec> {
        Softlbreq13W::new(self, 13)
    }
    #[doc = "Bit 14 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq14(&mut self) -> Softlbreq14W<'_, SoftlbreqSpec> {
        Softlbreq14W::new(self, 14)
    }
    #[doc = "Bit 15 - Software last burst request flags for each of 16 possible sources. Each bit represents one DMA request line or peripheral function: 0 - writing 0 has no effect. 1 - writing 1 generates a DMA last burst request for the corresponding request line."]
    #[inline(always)]
    pub fn softlbreq15(&mut self) -> Softlbreq15W<'_, SoftlbreqSpec> {
        Softlbreq15W::new(self, 15)
    }
}
#[doc = "DMA Software Last Burst Request Register\n\nYou can [`read`](crate::Reg::read) this register and get [`softlbreq::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`softlbreq::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct SoftlbreqSpec;
impl crate::RegisterSpec for SoftlbreqSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`softlbreq::R`](R) reader structure"]
impl crate::Readable for SoftlbreqSpec {}
#[doc = "`write(|w| ..)` method takes [`softlbreq::W`](W) writer structure"]
impl crate::Writable for SoftlbreqSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets SOFTLBREQ to value 0"]
impl crate::Resettable for SoftlbreqSpec {}
