1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
#[doc = "Register `GCSC` writer"]
pub type W = crate::W<GCSC_SPEC>;
#[doc = "Field `S0SC` writer - Slice 0 shadow transfer request clear"]
pub type S0SC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S0DSC` writer - Slice 0 Dither shadow transfer clear"]
pub type S0DSC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S0PSC` writer - Slice 0 Prescaler shadow transfer clear"]
pub type S0PSC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S1SC` writer - Slice 1 shadow transfer clear"]
pub type S1SC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S1DSC` writer - Slice 1 Dither shadow transfer clear"]
pub type S1DSC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S1PSC` writer - Slice 1 Prescaler shadow transfer clear"]
pub type S1PSC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S2SC` writer - Slice 2 shadow transfer clear"]
pub type S2SC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S2DSC` writer - Slice 2 Dither shadow transfer clear"]
pub type S2DSC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S2PSC` writer - Slice 2 Prescaler shadow transfer clear"]
pub type S2PSC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S3SC` writer - Slice 3 shadow transfer clear"]
pub type S3SC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S3DSC` writer - Slice 3 Dither shadow transfer clear"]
pub type S3DSC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S3PSC` writer - Slice 3 Prescaler shadow transfer clear"]
pub type S3PSC_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S0ST1C` writer - Slice 0 status bit 1 clear"]
pub type S0ST1C_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S1ST1C` writer - Slice 1 status bit 1 clear"]
pub type S1ST1C_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S2ST1C` writer - Slice 2 status bit 1 clear"]
pub type S2ST1C_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S3ST1C` writer - Slice 3 status bit 1 clear"]
pub type S3ST1C_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S0ST2C` writer - Slice 0 status bit 2 clear"]
pub type S0ST2C_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S1ST2C` writer - Slice 1 status bit 2 clear"]
pub type S1ST2C_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S2ST2C` writer - Slice 2 status bit 2 clear"]
pub type S2ST2C_W<'a, REG> = crate::BitWriter<'a, REG>;
#[doc = "Field `S3ST2C` writer - Slice 3 status bit 2 clear"]
pub type S3ST2C_W<'a, REG> = crate::BitWriter<'a, REG>;
impl W {
    #[doc = "Bit 0 - Slice 0 shadow transfer request clear"]
    #[inline(always)]
    #[must_use]
    pub fn s0sc(&mut self) -> S0SC_W<GCSC_SPEC> {
        S0SC_W::new(self, 0)
    }
    #[doc = "Bit 1 - Slice 0 Dither shadow transfer clear"]
    #[inline(always)]
    #[must_use]
    pub fn s0dsc(&mut self) -> S0DSC_W<GCSC_SPEC> {
        S0DSC_W::new(self, 1)
    }
    #[doc = "Bit 2 - Slice 0 Prescaler shadow transfer clear"]
    #[inline(always)]
    #[must_use]
    pub fn s0psc(&mut self) -> S0PSC_W<GCSC_SPEC> {
        S0PSC_W::new(self, 2)
    }
    #[doc = "Bit 4 - Slice 1 shadow transfer clear"]
    #[inline(always)]
    #[must_use]
    pub fn s1sc(&mut self) -> S1SC_W<GCSC_SPEC> {
        S1SC_W::new(self, 4)
    }
    #[doc = "Bit 5 - Slice 1 Dither shadow transfer clear"]
    #[inline(always)]
    #[must_use]
    pub fn s1dsc(&mut self) -> S1DSC_W<GCSC_SPEC> {
        S1DSC_W::new(self, 5)
    }
    #[doc = "Bit 6 - Slice 1 Prescaler shadow transfer clear"]
    #[inline(always)]
    #[must_use]
    pub fn s1psc(&mut self) -> S1PSC_W<GCSC_SPEC> {
        S1PSC_W::new(self, 6)
    }
    #[doc = "Bit 8 - Slice 2 shadow transfer clear"]
    #[inline(always)]
    #[must_use]
    pub fn s2sc(&mut self) -> S2SC_W<GCSC_SPEC> {
        S2SC_W::new(self, 8)
    }
    #[doc = "Bit 9 - Slice 2 Dither shadow transfer clear"]
    #[inline(always)]
    #[must_use]
    pub fn s2dsc(&mut self) -> S2DSC_W<GCSC_SPEC> {
        S2DSC_W::new(self, 9)
    }
    #[doc = "Bit 10 - Slice 2 Prescaler shadow transfer clear"]
    #[inline(always)]
    #[must_use]
    pub fn s2psc(&mut self) -> S2PSC_W<GCSC_SPEC> {
        S2PSC_W::new(self, 10)
    }
    #[doc = "Bit 12 - Slice 3 shadow transfer clear"]
    #[inline(always)]
    #[must_use]
    pub fn s3sc(&mut self) -> S3SC_W<GCSC_SPEC> {
        S3SC_W::new(self, 12)
    }
    #[doc = "Bit 13 - Slice 3 Dither shadow transfer clear"]
    #[inline(always)]
    #[must_use]
    pub fn s3dsc(&mut self) -> S3DSC_W<GCSC_SPEC> {
        S3DSC_W::new(self, 13)
    }
    #[doc = "Bit 14 - Slice 3 Prescaler shadow transfer clear"]
    #[inline(always)]
    #[must_use]
    pub fn s3psc(&mut self) -> S3PSC_W<GCSC_SPEC> {
        S3PSC_W::new(self, 14)
    }
    #[doc = "Bit 16 - Slice 0 status bit 1 clear"]
    #[inline(always)]
    #[must_use]
    pub fn s0st1c(&mut self) -> S0ST1C_W<GCSC_SPEC> {
        S0ST1C_W::new(self, 16)
    }
    #[doc = "Bit 17 - Slice 1 status bit 1 clear"]
    #[inline(always)]
    #[must_use]
    pub fn s1st1c(&mut self) -> S1ST1C_W<GCSC_SPEC> {
        S1ST1C_W::new(self, 17)
    }
    #[doc = "Bit 18 - Slice 2 status bit 1 clear"]
    #[inline(always)]
    #[must_use]
    pub fn s2st1c(&mut self) -> S2ST1C_W<GCSC_SPEC> {
        S2ST1C_W::new(self, 18)
    }
    #[doc = "Bit 19 - Slice 3 status bit 1 clear"]
    #[inline(always)]
    #[must_use]
    pub fn s3st1c(&mut self) -> S3ST1C_W<GCSC_SPEC> {
        S3ST1C_W::new(self, 19)
    }
    #[doc = "Bit 20 - Slice 0 status bit 2 clear"]
    #[inline(always)]
    #[must_use]
    pub fn s0st2c(&mut self) -> S0ST2C_W<GCSC_SPEC> {
        S0ST2C_W::new(self, 20)
    }
    #[doc = "Bit 21 - Slice 1 status bit 2 clear"]
    #[inline(always)]
    #[must_use]
    pub fn s1st2c(&mut self) -> S1ST2C_W<GCSC_SPEC> {
        S1ST2C_W::new(self, 21)
    }
    #[doc = "Bit 22 - Slice 2 status bit 2 clear"]
    #[inline(always)]
    #[must_use]
    pub fn s2st2c(&mut self) -> S2ST2C_W<GCSC_SPEC> {
        S2ST2C_W::new(self, 22)
    }
    #[doc = "Bit 23 - Slice 3 status bit 2 clear"]
    #[inline(always)]
    #[must_use]
    pub fn s3st2c(&mut self) -> S3ST2C_W<GCSC_SPEC> {
        S3ST2C_W::new(self, 23)
    }
}
#[doc = "Global Channel Clear\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 [`gcsc::W`](W). See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
pub struct GCSC_SPEC;
impl crate::RegisterSpec for GCSC_SPEC {
    type Ux = u32;
}
#[doc = "`write(|w| ..)` method takes [`gcsc::W`](W) writer structure"]
impl crate::Writable for GCSC_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 GCSC to value 0"]
impl crate::Resettable for GCSC_SPEC {
    const RESET_VALUE: u32 = 0;
}