awr2544_pac/mss_ctrl/
mss_tpcc_a_erragg_status.rs

1#[doc = "Register `MSS_TPCC_A_ERRAGG_STATUS` reader"]
2pub type R = crate::R<MssTpccAErraggStatusSpec>;
3#[doc = "Register `MSS_TPCC_A_ERRAGG_STATUS` writer"]
4pub type W = crate::W<MssTpccAErraggStatusSpec>;
5#[doc = "Field `tpcc_a_errint` reader - 0:0\\]
6Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
7pub type TpccAErrintR = crate::BitReader;
8#[doc = "Field `tpcc_a_errint` writer - 0:0\\]
9Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
10pub type TpccAErrintW<'a, REG> = crate::BitWriter<'a, REG>;
11#[doc = "Field `tpcc_a_mpint` reader - 1:1\\]
12Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
13pub type TpccAMpintR = crate::BitReader;
14#[doc = "Field `tpcc_a_mpint` writer - 1:1\\]
15Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
16pub type TpccAMpintW<'a, REG> = crate::BitWriter<'a, REG>;
17#[doc = "Field `tptc_a0_err` reader - 2:2\\]
18Status of Error from MSS_TPTC_A0. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
19pub type TptcA0ErrR = crate::BitReader;
20#[doc = "Field `tptc_a0_err` writer - 2:2\\]
21Status of Error from MSS_TPTC_A0. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
22pub type TptcA0ErrW<'a, REG> = crate::BitWriter<'a, REG>;
23#[doc = "Field `tptc_a1_err` reader - 3:3\\]
24Status of Error from MSS_TPTC_A1. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
25pub type TptcA1ErrR = crate::BitReader;
26#[doc = "Field `tptc_a1_err` writer - 3:3\\]
27Status of Error from MSS_TPTC_A1. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
28pub type TptcA1ErrW<'a, REG> = crate::BitWriter<'a, REG>;
29#[doc = "Field `tpcc_a_par_err` reader - 4:4\\]
30Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
31pub type TpccAParErrR = crate::BitReader;
32#[doc = "Field `tpcc_a_par_err` writer - 4:4\\]
33Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
34pub type TpccAParErrW<'a, REG> = crate::BitWriter<'a, REG>;
35#[doc = "Field `tpcc_a_write_access_error` reader - 16:16\\]
36Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
37pub type TpccAWriteAccessErrorR = crate::BitReader;
38#[doc = "Field `tpcc_a_write_access_error` writer - 16:16\\]
39Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
40pub type TpccAWriteAccessErrorW<'a, REG> = crate::BitWriter<'a, REG>;
41#[doc = "Field `tptc_a0_write_access_error` reader - 17:17\\]
42Status of Error from MSS_TPTC_A0. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
43pub type TptcA0WriteAccessErrorR = crate::BitReader;
44#[doc = "Field `tptc_a0_write_access_error` writer - 17:17\\]
45Status of Error from MSS_TPTC_A0. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
46pub type TptcA0WriteAccessErrorW<'a, REG> = crate::BitWriter<'a, REG>;
47#[doc = "Field `tptc_a1_write_access_error` reader - 18:18\\]
48Status of Error from MSS_TPTC_A1. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
49pub type TptcA1WriteAccessErrorR = crate::BitReader;
50#[doc = "Field `tptc_a1_write_access_error` writer - 18:18\\]
51Status of Error from MSS_TPTC_A1. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
52pub type TptcA1WriteAccessErrorW<'a, REG> = crate::BitWriter<'a, REG>;
53#[doc = "Field `tpcc_a_read_access_error` reader - 24:24\\]
54Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
55pub type TpccAReadAccessErrorR = crate::BitReader;
56#[doc = "Field `tpcc_a_read_access_error` writer - 24:24\\]
57Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
58pub type TpccAReadAccessErrorW<'a, REG> = crate::BitWriter<'a, REG>;
59#[doc = "Field `tptc_a0_read_access_error` reader - 25:25\\]
60Status of Error from MSS_TPTC_A0. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
61pub type TptcA0ReadAccessErrorR = crate::BitReader;
62#[doc = "Field `tptc_a0_read_access_error` writer - 25:25\\]
63Status of Error from MSS_TPTC_A0. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
64pub type TptcA0ReadAccessErrorW<'a, REG> = crate::BitWriter<'a, REG>;
65#[doc = "Field `tptc_a1_read_access_error` reader - 26:26\\]
66Status of Error from MSS_TPTC_A1. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
67pub type TptcA1ReadAccessErrorR = crate::BitReader;
68#[doc = "Field `tptc_a1_read_access_error` writer - 26:26\\]
69Status of Error from MSS_TPTC_A1. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
70pub type TptcA1ReadAccessErrorW<'a, REG> = crate::BitWriter<'a, REG>;
71impl R {
72    #[doc = "Bit 0 - 0:0\\]
73Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
74    #[inline(always)]
75    pub fn tpcc_a_errint(&self) -> TpccAErrintR {
76        TpccAErrintR::new((self.bits & 1) != 0)
77    }
78    #[doc = "Bit 1 - 1:1\\]
79Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
80    #[inline(always)]
81    pub fn tpcc_a_mpint(&self) -> TpccAMpintR {
82        TpccAMpintR::new(((self.bits >> 1) & 1) != 0)
83    }
84    #[doc = "Bit 2 - 2:2\\]
85Status of Error from MSS_TPTC_A0. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
86    #[inline(always)]
87    pub fn tptc_a0_err(&self) -> TptcA0ErrR {
88        TptcA0ErrR::new(((self.bits >> 2) & 1) != 0)
89    }
90    #[doc = "Bit 3 - 3:3\\]
91Status of Error from MSS_TPTC_A1. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
92    #[inline(always)]
93    pub fn tptc_a1_err(&self) -> TptcA1ErrR {
94        TptcA1ErrR::new(((self.bits >> 3) & 1) != 0)
95    }
96    #[doc = "Bit 4 - 4:4\\]
97Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
98    #[inline(always)]
99    pub fn tpcc_a_par_err(&self) -> TpccAParErrR {
100        TpccAParErrR::new(((self.bits >> 4) & 1) != 0)
101    }
102    #[doc = "Bit 16 - 16:16\\]
103Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
104    #[inline(always)]
105    pub fn tpcc_a_write_access_error(&self) -> TpccAWriteAccessErrorR {
106        TpccAWriteAccessErrorR::new(((self.bits >> 16) & 1) != 0)
107    }
108    #[doc = "Bit 17 - 17:17\\]
109Status of Error from MSS_TPTC_A0. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
110    #[inline(always)]
111    pub fn tptc_a0_write_access_error(&self) -> TptcA0WriteAccessErrorR {
112        TptcA0WriteAccessErrorR::new(((self.bits >> 17) & 1) != 0)
113    }
114    #[doc = "Bit 18 - 18:18\\]
115Status of Error from MSS_TPTC_A1. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
116    #[inline(always)]
117    pub fn tptc_a1_write_access_error(&self) -> TptcA1WriteAccessErrorR {
118        TptcA1WriteAccessErrorR::new(((self.bits >> 18) & 1) != 0)
119    }
120    #[doc = "Bit 24 - 24:24\\]
121Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
122    #[inline(always)]
123    pub fn tpcc_a_read_access_error(&self) -> TpccAReadAccessErrorR {
124        TpccAReadAccessErrorR::new(((self.bits >> 24) & 1) != 0)
125    }
126    #[doc = "Bit 25 - 25:25\\]
127Status of Error from MSS_TPTC_A0. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
128    #[inline(always)]
129    pub fn tptc_a0_read_access_error(&self) -> TptcA0ReadAccessErrorR {
130        TptcA0ReadAccessErrorR::new(((self.bits >> 25) & 1) != 0)
131    }
132    #[doc = "Bit 26 - 26:26\\]
133Status of Error from MSS_TPTC_A1. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
134    #[inline(always)]
135    pub fn tptc_a1_read_access_error(&self) -> TptcA1ReadAccessErrorR {
136        TptcA1ReadAccessErrorR::new(((self.bits >> 26) & 1) != 0)
137    }
138}
139impl W {
140    #[doc = "Bit 0 - 0:0\\]
141Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
142    #[inline(always)]
143    #[must_use]
144    pub fn tpcc_a_errint(&mut self) -> TpccAErrintW<MssTpccAErraggStatusSpec> {
145        TpccAErrintW::new(self, 0)
146    }
147    #[doc = "Bit 1 - 1:1\\]
148Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
149    #[inline(always)]
150    #[must_use]
151    pub fn tpcc_a_mpint(&mut self) -> TpccAMpintW<MssTpccAErraggStatusSpec> {
152        TpccAMpintW::new(self, 1)
153    }
154    #[doc = "Bit 2 - 2:2\\]
155Status of Error from MSS_TPTC_A0. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
156    #[inline(always)]
157    #[must_use]
158    pub fn tptc_a0_err(&mut self) -> TptcA0ErrW<MssTpccAErraggStatusSpec> {
159        TptcA0ErrW::new(self, 2)
160    }
161    #[doc = "Bit 3 - 3:3\\]
162Status of Error from MSS_TPTC_A1. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
163    #[inline(always)]
164    #[must_use]
165    pub fn tptc_a1_err(&mut self) -> TptcA1ErrW<MssTpccAErraggStatusSpec> {
166        TptcA1ErrW::new(self, 3)
167    }
168    #[doc = "Bit 4 - 4:4\\]
169Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
170    #[inline(always)]
171    #[must_use]
172    pub fn tpcc_a_par_err(&mut self) -> TpccAParErrW<MssTpccAErraggStatusSpec> {
173        TpccAParErrW::new(self, 4)
174    }
175    #[doc = "Bit 16 - 16:16\\]
176Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
177    #[inline(always)]
178    #[must_use]
179    pub fn tpcc_a_write_access_error(
180        &mut self,
181    ) -> TpccAWriteAccessErrorW<MssTpccAErraggStatusSpec> {
182        TpccAWriteAccessErrorW::new(self, 16)
183    }
184    #[doc = "Bit 17 - 17:17\\]
185Status of Error from MSS_TPTC_A0. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
186    #[inline(always)]
187    #[must_use]
188    pub fn tptc_a0_write_access_error(
189        &mut self,
190    ) -> TptcA0WriteAccessErrorW<MssTpccAErraggStatusSpec> {
191        TptcA0WriteAccessErrorW::new(self, 17)
192    }
193    #[doc = "Bit 18 - 18:18\\]
194Status of Error from MSS_TPTC_A1. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
195    #[inline(always)]
196    #[must_use]
197    pub fn tptc_a1_write_access_error(
198        &mut self,
199    ) -> TptcA1WriteAccessErrorW<MssTpccAErraggStatusSpec> {
200        TptcA1WriteAccessErrorW::new(self, 18)
201    }
202    #[doc = "Bit 24 - 24:24\\]
203Status of Error from MSS_TPCC_A. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
204    #[inline(always)]
205    #[must_use]
206    pub fn tpcc_a_read_access_error(&mut self) -> TpccAReadAccessErrorW<MssTpccAErraggStatusSpec> {
207        TpccAReadAccessErrorW::new(self, 24)
208    }
209    #[doc = "Bit 25 - 25:25\\]
210Status of Error from MSS_TPTC_A0. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
211    #[inline(always)]
212    #[must_use]
213    pub fn tptc_a0_read_access_error(
214        &mut self,
215    ) -> TptcA0ReadAccessErrorW<MssTpccAErraggStatusSpec> {
216        TptcA0ReadAccessErrorW::new(self, 25)
217    }
218    #[doc = "Bit 26 - 26:26\\]
219Status of Error from MSS_TPTC_A1. Set only if Interupt is unmasked in MSS_TPCC_A_ERRAGG_MASK Wrie 0x1 to clear this Error."]
220    #[inline(always)]
221    #[must_use]
222    pub fn tptc_a1_read_access_error(
223        &mut self,
224    ) -> TptcA1ReadAccessErrorW<MssTpccAErraggStatusSpec> {
225        TptcA1ReadAccessErrorW::new(self, 26)
226    }
227}
228#[doc = "MSS_TPCC_A_ERRAGG_STATUS\n\nYou can [`read`](crate::Reg::read) this register and get [`mss_tpcc_a_erragg_status::R`](R). You can [`reset`](crate::Reg::reset), [`write`](crate::Reg::write), [`write_with_zero`](crate::Reg::write_with_zero) this register using [`mss_tpcc_a_erragg_status::W`](W). You can also [`modify`](crate::Reg::modify) this register. See [API](https://docs.rs/svd2rust/#read--modify--write-api)."]
229pub struct MssTpccAErraggStatusSpec;
230impl crate::RegisterSpec for MssTpccAErraggStatusSpec {
231    type Ux = u32;
232}
233#[doc = "`read()` method returns [`mss_tpcc_a_erragg_status::R`](R) reader structure"]
234impl crate::Readable for MssTpccAErraggStatusSpec {}
235#[doc = "`write(|w| ..)` method takes [`mss_tpcc_a_erragg_status::W`](W) writer structure"]
236impl crate::Writable for MssTpccAErraggStatusSpec {
237    type Safety = crate::Unsafe;
238    const ZERO_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
239    const ONE_TO_MODIFY_FIELDS_BITMAP: u32 = 0;
240}
241#[doc = "`reset()` method sets MSS_TPCC_A_ERRAGG_STATUS to value 0"]
242impl crate::Resettable for MssTpccAErraggStatusSpec {
243    const RESET_VALUE: u32 = 0;
244}