#[doc = "Register `SOFTSREQ` reader"]
pub type R = crate::R<SoftsreqSpec>;
#[doc = "Register `SOFTSREQ` writer"]
pub type W = crate::W<SoftsreqSpec>;
#[doc = "Field `SOFTSREQ0` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq0R = crate::BitReader;
#[doc = "Field `SOFTSREQ0` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq0W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ1` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq1R = crate::BitReader;
#[doc = "Field `SOFTSREQ1` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq1W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ2` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq2R = crate::BitReader;
#[doc = "Field `SOFTSREQ2` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq2W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ3` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq3R = crate::BitReader;
#[doc = "Field `SOFTSREQ3` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq3W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ4` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq4R = crate::BitReader;
#[doc = "Field `SOFTSREQ4` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq4W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ5` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq5R = crate::BitReader;
#[doc = "Field `SOFTSREQ5` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq5W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ6` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq6R = crate::BitReader;
#[doc = "Field `SOFTSREQ6` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq6W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ7` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq7R = crate::BitReader;
#[doc = "Field `SOFTSREQ7` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq7W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ8` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq8R = crate::BitReader;
#[doc = "Field `SOFTSREQ8` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq8W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ9` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq9R = crate::BitReader;
#[doc = "Field `SOFTSREQ9` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq9W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ10` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq10R = crate::BitReader;
#[doc = "Field `SOFTSREQ10` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq10W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ11` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq11R = crate::BitReader;
#[doc = "Field `SOFTSREQ11` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq11W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ12` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq12R = crate::BitReader;
#[doc = "Field `SOFTSREQ12` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq12W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ13` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq13R = crate::BitReader;
#[doc = "Field `SOFTSREQ13` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq13W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ14` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq14R = crate::BitReader;
#[doc = "Field `SOFTSREQ14` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq14W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `SOFTSREQ15` reader - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq15R = crate::BitReader;
#[doc = "Field `SOFTSREQ15` writer - Software single transfer 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 single transfer request for the corresponding request line."]
pub type Softsreq15W<'a, REG> = crate::BitWriter<'a, REG>;
impl R {
    #[doc = "Bit 0 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq0(&self) -> Softsreq0R {
        Softsreq0R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq1(&self) -> Softsreq1R {
        Softsreq1R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq2(&self) -> Softsreq2R {
        Softsreq2R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq3(&self) -> Softsreq3R {
        Softsreq3R::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq4(&self) -> Softsreq4R {
        Softsreq4R::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq5(&self) -> Softsreq5R {
        Softsreq5R::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq6(&self) -> Softsreq6R {
        Softsreq6R::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 7 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq7(&self) -> Softsreq7R {
        Softsreq7R::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bit 8 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq8(&self) -> Softsreq8R {
        Softsreq8R::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 9 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq9(&self) -> Softsreq9R {
        Softsreq9R::new(((self.bits >> 9) & 1) != 0)
    }
    #[doc = "Bit 10 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq10(&self) -> Softsreq10R {
        Softsreq10R::new(((self.bits >> 10) & 1) != 0)
    }
    #[doc = "Bit 11 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq11(&self) -> Softsreq11R {
        Softsreq11R::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 12 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq12(&self) -> Softsreq12R {
        Softsreq12R::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 13 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq13(&self) -> Softsreq13R {
        Softsreq13R::new(((self.bits >> 13) & 1) != 0)
    }
    #[doc = "Bit 14 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq14(&self) -> Softsreq14R {
        Softsreq14R::new(((self.bits >> 14) & 1) != 0)
    }
    #[doc = "Bit 15 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq15(&self) -> Softsreq15R {
        Softsreq15R::new(((self.bits >> 15) & 1) != 0)
    }
}
impl W {
    #[doc = "Bit 0 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq0(&mut self) -> Softsreq0W<'_, SoftsreqSpec> {
        Softsreq0W::new(self, 0)
    }
    #[doc = "Bit 1 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq1(&mut self) -> Softsreq1W<'_, SoftsreqSpec> {
        Softsreq1W::new(self, 1)
    }
    #[doc = "Bit 2 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq2(&mut self) -> Softsreq2W<'_, SoftsreqSpec> {
        Softsreq2W::new(self, 2)
    }
    #[doc = "Bit 3 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq3(&mut self) -> Softsreq3W<'_, SoftsreqSpec> {
        Softsreq3W::new(self, 3)
    }
    #[doc = "Bit 4 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq4(&mut self) -> Softsreq4W<'_, SoftsreqSpec> {
        Softsreq4W::new(self, 4)
    }
    #[doc = "Bit 5 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq5(&mut self) -> Softsreq5W<'_, SoftsreqSpec> {
        Softsreq5W::new(self, 5)
    }
    #[doc = "Bit 6 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq6(&mut self) -> Softsreq6W<'_, SoftsreqSpec> {
        Softsreq6W::new(self, 6)
    }
    #[doc = "Bit 7 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq7(&mut self) -> Softsreq7W<'_, SoftsreqSpec> {
        Softsreq7W::new(self, 7)
    }
    #[doc = "Bit 8 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq8(&mut self) -> Softsreq8W<'_, SoftsreqSpec> {
        Softsreq8W::new(self, 8)
    }
    #[doc = "Bit 9 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq9(&mut self) -> Softsreq9W<'_, SoftsreqSpec> {
        Softsreq9W::new(self, 9)
    }
    #[doc = "Bit 10 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq10(&mut self) -> Softsreq10W<'_, SoftsreqSpec> {
        Softsreq10W::new(self, 10)
    }
    #[doc = "Bit 11 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq11(&mut self) -> Softsreq11W<'_, SoftsreqSpec> {
        Softsreq11W::new(self, 11)
    }
    #[doc = "Bit 12 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq12(&mut self) -> Softsreq12W<'_, SoftsreqSpec> {
        Softsreq12W::new(self, 12)
    }
    #[doc = "Bit 13 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq13(&mut self) -> Softsreq13W<'_, SoftsreqSpec> {
        Softsreq13W::new(self, 13)
    }
    #[doc = "Bit 14 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq14(&mut self) -> Softsreq14W<'_, SoftsreqSpec> {
        Softsreq14W::new(self, 14)
    }
    #[doc = "Bit 15 - Software single transfer 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 single transfer request for the corresponding request line."]
    #[inline(always)]
    pub fn softsreq15(&mut self) -> Softsreq15W<'_, SoftsreqSpec> {
        Softsreq15W::new(self, 15)
    }
}
#[doc = "DMA Software Single Request Register\n\nYou can [`read`](crate::Reg::read) this register and get [`softsreq::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`softsreq::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct SoftsreqSpec;
impl crate::RegisterSpec for SoftsreqSpec {
    type Ux = u32;
}
#[doc = "`read()` method returns [`softsreq::R`](R) reader structure"]
impl crate::Readable for SoftsreqSpec {}
#[doc = "`write(|w| ..)` method takes [`softsreq::W`](W) writer structure"]
impl crate::Writable for SoftsreqSpec {
    type Safety = crate::Unsafe;
}
#[doc = "`reset()` method sets SOFTSREQ to value 0"]
impl crate::Resettable for SoftsreqSpec {}
