#[doc = "Register `GCSS` writer"]
pub type W = crate::W<GCSS_SPEC>;
#[doc = "Field `S0SE` writer - Slice 0 shadow transfer set enable"]
pub type S0SE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S0DSE` writer - Slice 0 Dither shadow transfer set enable"]
pub type S0DSE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S0PSE` writer - Slice 0 Prescaler shadow transfer set enable"]
pub type S0PSE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S1SE` writer - Slice 1 shadow transfer set enable"]
pub type S1SE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S1DSE` writer - Slice 1 Dither shadow transfer set enable"]
pub type S1DSE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S1PSE` writer - Slice 1 Prescaler shadow transfer set enable"]
pub type S1PSE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S2SE` writer - Slice 2 shadow transfer set enable"]
pub type S2SE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S2DSE` writer - Slice 2 Dither shadow transfer set enable"]
pub type S2DSE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S2PSE` writer - Slice 2 Prescaler shadow transfer set enable"]
pub type S2PSE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S3SE` writer - Slice 3 shadow transfer set enable"]
pub type S3SE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S3DSE` writer - Slice 3 Dither shadow transfer set enable"]
pub type S3DSE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S3PSE` writer - Slice 3 Prescaler shadow transfer set enable"]
pub type S3PSE_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S0ST1S` writer - Slice 0 status bit 1 set"]
pub type S0ST1S_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S1ST1S` writer - Slice 1 status bit 1 set"]
pub type S1ST1S_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S2ST1S` writer - Slice 2 status bit 1 set"]
pub type S2ST1S_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S3ST1S` writer - Slice 3 status bit 1 set"]
pub type S3ST1S_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S0ST2S` writer - Slice 0 status bit 2 set"]
pub type S0ST2S_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S1ST2S` writer - Slice 1 status bit 2 set"]
pub type S1ST2S_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S2ST2S` writer - Slice 2 status bit 2 set"]
pub type S2ST2S_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S3ST2S` writer - Slice 3 status bit 2 set"]
pub type S3ST2S_W<'a, REG> = crate::BitWriter<'a, REG>;
impl W {
#[doc = "Bit 0 - Slice 0 shadow transfer set enable"]
#[inline(always)]
#[must_use]
pub fn s0se(&mut self) -> S0SE_W<GCSS_SPEC> {
S0SE_W::new(self, 0)
}
#[doc = "Bit 1 - Slice 0 Dither shadow transfer set enable"]
#[inline(always)]
#[must_use]
pub fn s0dse(&mut self) -> S0DSE_W<GCSS_SPEC> {
S0DSE_W::new(self, 1)
}
#[doc = "Bit 2 - Slice 0 Prescaler shadow transfer set enable"]
#[inline(always)]
#[must_use]
pub fn s0pse(&mut self) -> S0PSE_W<GCSS_SPEC> {
S0PSE_W::new(self, 2)
}
#[doc = "Bit 4 - Slice 1 shadow transfer set enable"]
#[inline(always)]
#[must_use]
pub fn s1se(&mut self) -> S1SE_W<GCSS_SPEC> {
S1SE_W::new(self, 4)
}
#[doc = "Bit 5 - Slice 1 Dither shadow transfer set enable"]
#[inline(always)]
#[must_use]
pub fn s1dse(&mut self) -> S1DSE_W<GCSS_SPEC> {
S1DSE_W::new(self, 5)
}
#[doc = "Bit 6 - Slice 1 Prescaler shadow transfer set enable"]
#[inline(always)]
#[must_use]
pub fn s1pse(&mut self) -> S1PSE_W<GCSS_SPEC> {
S1PSE_W::new(self, 6)
}
#[doc = "Bit 8 - Slice 2 shadow transfer set enable"]
#[inline(always)]
#[must_use]
pub fn s2se(&mut self) -> S2SE_W<GCSS_SPEC> {
S2SE_W::new(self, 8)
}
#[doc = "Bit 9 - Slice 2 Dither shadow transfer set enable"]
#[inline(always)]
#[must_use]
pub fn s2dse(&mut self) -> S2DSE_W<GCSS_SPEC> {
S2DSE_W::new(self, 9)
}
#[doc = "Bit 10 - Slice 2 Prescaler shadow transfer set enable"]
#[inline(always)]
#[must_use]
pub fn s2pse(&mut self) -> S2PSE_W<GCSS_SPEC> {
S2PSE_W::new(self, 10)
}
#[doc = "Bit 12 - Slice 3 shadow transfer set enable"]
#[inline(always)]
#[must_use]
pub fn s3se(&mut self) -> S3SE_W<GCSS_SPEC> {
S3SE_W::new(self, 12)
}
#[doc = "Bit 13 - Slice 3 Dither shadow transfer set enable"]
#[inline(always)]
#[must_use]
pub fn s3dse(&mut self) -> S3DSE_W<GCSS_SPEC> {
S3DSE_W::new(self, 13)
}
#[doc = "Bit 14 - Slice 3 Prescaler shadow transfer set enable"]
#[inline(always)]
#[must_use]
pub fn s3pse(&mut self) -> S3PSE_W<GCSS_SPEC> {
S3PSE_W::new(self, 14)
}
#[doc = "Bit 16 - Slice 0 status bit 1 set"]
#[inline(always)]
#[must_use]
pub fn s0st1s(&mut self) -> S0ST1S_W<GCSS_SPEC> {
S0ST1S_W::new(self, 16)
}
#[doc = "Bit 17 - Slice 1 status bit 1 set"]
#[inline(always)]
#[must_use]
pub fn s1st1s(&mut self) -> S1ST1S_W<GCSS_SPEC> {
S1ST1S_W::new(self, 17)
}
#[doc = "Bit 18 - Slice 2 status bit 1 set"]
#[inline(always)]
#[must_use]
pub fn s2st1s(&mut self) -> S2ST1S_W<GCSS_SPEC> {
S2ST1S_W::new(self, 18)
}
#[doc = "Bit 19 - Slice 3 status bit 1 set"]
#[inline(always)]
#[must_use]
pub fn s3st1s(&mut self) -> S3ST1S_W<GCSS_SPEC> {
S3ST1S_W::new(self, 19)
}
#[doc = "Bit 20 - Slice 0 status bit 2 set"]
#[inline(always)]
#[must_use]
pub fn s0st2s(&mut self) -> S0ST2S_W<GCSS_SPEC> {
S0ST2S_W::new(self, 20)
}
#[doc = "Bit 21 - Slice 1 status bit 2 set"]
#[inline(always)]
#[must_use]
pub fn s1st2s(&mut self) -> S1ST2S_W<GCSS_SPEC> {
S1ST2S_W::new(self, 21)
}
#[doc = "Bit 22 - Slice 2 status bit 2 set"]
#[inline(always)]
#[must_use]
pub fn s2st2s(&mut self) -> S2ST2S_W<GCSS_SPEC> {
S2ST2S_W::new(self, 22)
}
#[doc = "Bit 23 - Slice 3 status bit 2 set"]
#[inline(always)]
#[must_use]
pub fn s3st2s(&mut self) -> S3ST2S_W<GCSS_SPEC> {
S3ST2S_W::new(self, 23)
}
}
#[doc = "Global Channel Set\n\nYou can [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`write_with_zero`](crate::generic::Reg::write_with_zero) this register using [`gcss::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct GCSS_SPEC;
impl crate::RegisterSpec for GCSS_SPEC {
type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`gcss::W`](W) writer structure"]
impl crate::Writable for GCSS_SPEC {
type Safety = crate::Unsafe;
const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
}
#[doc = "`reset()` method sets GCSS to value 0"]
impl crate::Resettable for GCSS_SPEC {
const RESET_VALUE: u32 = 0;
}