nrf52810_pac/radio/
shorts.rs

1#[doc = "Register `SHORTS` reader"]
2pub struct R(crate::R<SHORTS_SPEC>);
3impl core::ops::Deref for R {
4    type Target = crate::R<SHORTS_SPEC>;
5    #[inline(always)]
6    fn deref(&self) -> &Self::Target {
7        &self.0
8    }
9}
10impl From<crate::R<SHORTS_SPEC>> for R {
11    #[inline(always)]
12    fn from(reader: crate::R<SHORTS_SPEC>) -> Self {
13        R(reader)
14    }
15}
16#[doc = "Register `SHORTS` writer"]
17pub struct W(crate::W<SHORTS_SPEC>);
18impl core::ops::Deref for W {
19    type Target = crate::W<SHORTS_SPEC>;
20    #[inline(always)]
21    fn deref(&self) -> &Self::Target {
22        &self.0
23    }
24}
25impl core::ops::DerefMut for W {
26    #[inline(always)]
27    fn deref_mut(&mut self) -> &mut Self::Target {
28        &mut self.0
29    }
30}
31impl From<crate::W<SHORTS_SPEC>> for W {
32    #[inline(always)]
33    fn from(writer: crate::W<SHORTS_SPEC>) -> Self {
34        W(writer)
35    }
36}
37#[doc = "Field `READY_START` reader - Shortcut between event READY and task START"]
38pub type READY_START_R = crate::BitReader<READY_START_A>;
39#[doc = "Shortcut between event READY and task START\n\nValue on reset: 0"]
40#[derive(Clone, Copy, Debug, PartialEq)]
41pub enum READY_START_A {
42    #[doc = "0: Disable shortcut"]
43    DISABLED = 0,
44    #[doc = "1: Enable shortcut"]
45    ENABLED = 1,
46}
47impl From<READY_START_A> for bool {
48    #[inline(always)]
49    fn from(variant: READY_START_A) -> Self {
50        variant as u8 != 0
51    }
52}
53impl READY_START_R {
54    #[doc = "Get enumerated values variant"]
55    #[inline(always)]
56    pub fn variant(&self) -> READY_START_A {
57        match self.bits {
58            false => READY_START_A::DISABLED,
59            true => READY_START_A::ENABLED,
60        }
61    }
62    #[doc = "Checks if the value of the field is `DISABLED`"]
63    #[inline(always)]
64    pub fn is_disabled(&self) -> bool {
65        *self == READY_START_A::DISABLED
66    }
67    #[doc = "Checks if the value of the field is `ENABLED`"]
68    #[inline(always)]
69    pub fn is_enabled(&self) -> bool {
70        *self == READY_START_A::ENABLED
71    }
72}
73#[doc = "Field `READY_START` writer - Shortcut between event READY and task START"]
74pub type READY_START_W<'a, const O: u8> = crate::BitWriter<'a, u32, SHORTS_SPEC, READY_START_A, O>;
75impl<'a, const O: u8> READY_START_W<'a, O> {
76    #[doc = "Disable shortcut"]
77    #[inline(always)]
78    pub fn disabled(self) -> &'a mut W {
79        self.variant(READY_START_A::DISABLED)
80    }
81    #[doc = "Enable shortcut"]
82    #[inline(always)]
83    pub fn enabled(self) -> &'a mut W {
84        self.variant(READY_START_A::ENABLED)
85    }
86}
87#[doc = "Field `END_DISABLE` reader - Shortcut between event END and task DISABLE"]
88pub type END_DISABLE_R = crate::BitReader<END_DISABLE_A>;
89#[doc = "Shortcut between event END and task DISABLE\n\nValue on reset: 0"]
90#[derive(Clone, Copy, Debug, PartialEq)]
91pub enum END_DISABLE_A {
92    #[doc = "0: Disable shortcut"]
93    DISABLED = 0,
94    #[doc = "1: Enable shortcut"]
95    ENABLED = 1,
96}
97impl From<END_DISABLE_A> for bool {
98    #[inline(always)]
99    fn from(variant: END_DISABLE_A) -> Self {
100        variant as u8 != 0
101    }
102}
103impl END_DISABLE_R {
104    #[doc = "Get enumerated values variant"]
105    #[inline(always)]
106    pub fn variant(&self) -> END_DISABLE_A {
107        match self.bits {
108            false => END_DISABLE_A::DISABLED,
109            true => END_DISABLE_A::ENABLED,
110        }
111    }
112    #[doc = "Checks if the value of the field is `DISABLED`"]
113    #[inline(always)]
114    pub fn is_disabled(&self) -> bool {
115        *self == END_DISABLE_A::DISABLED
116    }
117    #[doc = "Checks if the value of the field is `ENABLED`"]
118    #[inline(always)]
119    pub fn is_enabled(&self) -> bool {
120        *self == END_DISABLE_A::ENABLED
121    }
122}
123#[doc = "Field `END_DISABLE` writer - Shortcut between event END and task DISABLE"]
124pub type END_DISABLE_W<'a, const O: u8> = crate::BitWriter<'a, u32, SHORTS_SPEC, END_DISABLE_A, O>;
125impl<'a, const O: u8> END_DISABLE_W<'a, O> {
126    #[doc = "Disable shortcut"]
127    #[inline(always)]
128    pub fn disabled(self) -> &'a mut W {
129        self.variant(END_DISABLE_A::DISABLED)
130    }
131    #[doc = "Enable shortcut"]
132    #[inline(always)]
133    pub fn enabled(self) -> &'a mut W {
134        self.variant(END_DISABLE_A::ENABLED)
135    }
136}
137#[doc = "Field `DISABLED_TXEN` reader - Shortcut between event DISABLED and task TXEN"]
138pub type DISABLED_TXEN_R = crate::BitReader<DISABLED_TXEN_A>;
139#[doc = "Shortcut between event DISABLED and task TXEN\n\nValue on reset: 0"]
140#[derive(Clone, Copy, Debug, PartialEq)]
141pub enum DISABLED_TXEN_A {
142    #[doc = "0: Disable shortcut"]
143    DISABLED = 0,
144    #[doc = "1: Enable shortcut"]
145    ENABLED = 1,
146}
147impl From<DISABLED_TXEN_A> for bool {
148    #[inline(always)]
149    fn from(variant: DISABLED_TXEN_A) -> Self {
150        variant as u8 != 0
151    }
152}
153impl DISABLED_TXEN_R {
154    #[doc = "Get enumerated values variant"]
155    #[inline(always)]
156    pub fn variant(&self) -> DISABLED_TXEN_A {
157        match self.bits {
158            false => DISABLED_TXEN_A::DISABLED,
159            true => DISABLED_TXEN_A::ENABLED,
160        }
161    }
162    #[doc = "Checks if the value of the field is `DISABLED`"]
163    #[inline(always)]
164    pub fn is_disabled(&self) -> bool {
165        *self == DISABLED_TXEN_A::DISABLED
166    }
167    #[doc = "Checks if the value of the field is `ENABLED`"]
168    #[inline(always)]
169    pub fn is_enabled(&self) -> bool {
170        *self == DISABLED_TXEN_A::ENABLED
171    }
172}
173#[doc = "Field `DISABLED_TXEN` writer - Shortcut between event DISABLED and task TXEN"]
174pub type DISABLED_TXEN_W<'a, const O: u8> =
175    crate::BitWriter<'a, u32, SHORTS_SPEC, DISABLED_TXEN_A, O>;
176impl<'a, const O: u8> DISABLED_TXEN_W<'a, O> {
177    #[doc = "Disable shortcut"]
178    #[inline(always)]
179    pub fn disabled(self) -> &'a mut W {
180        self.variant(DISABLED_TXEN_A::DISABLED)
181    }
182    #[doc = "Enable shortcut"]
183    #[inline(always)]
184    pub fn enabled(self) -> &'a mut W {
185        self.variant(DISABLED_TXEN_A::ENABLED)
186    }
187}
188#[doc = "Field `DISABLED_RXEN` reader - Shortcut between event DISABLED and task RXEN"]
189pub type DISABLED_RXEN_R = crate::BitReader<DISABLED_RXEN_A>;
190#[doc = "Shortcut between event DISABLED and task RXEN\n\nValue on reset: 0"]
191#[derive(Clone, Copy, Debug, PartialEq)]
192pub enum DISABLED_RXEN_A {
193    #[doc = "0: Disable shortcut"]
194    DISABLED = 0,
195    #[doc = "1: Enable shortcut"]
196    ENABLED = 1,
197}
198impl From<DISABLED_RXEN_A> for bool {
199    #[inline(always)]
200    fn from(variant: DISABLED_RXEN_A) -> Self {
201        variant as u8 != 0
202    }
203}
204impl DISABLED_RXEN_R {
205    #[doc = "Get enumerated values variant"]
206    #[inline(always)]
207    pub fn variant(&self) -> DISABLED_RXEN_A {
208        match self.bits {
209            false => DISABLED_RXEN_A::DISABLED,
210            true => DISABLED_RXEN_A::ENABLED,
211        }
212    }
213    #[doc = "Checks if the value of the field is `DISABLED`"]
214    #[inline(always)]
215    pub fn is_disabled(&self) -> bool {
216        *self == DISABLED_RXEN_A::DISABLED
217    }
218    #[doc = "Checks if the value of the field is `ENABLED`"]
219    #[inline(always)]
220    pub fn is_enabled(&self) -> bool {
221        *self == DISABLED_RXEN_A::ENABLED
222    }
223}
224#[doc = "Field `DISABLED_RXEN` writer - Shortcut between event DISABLED and task RXEN"]
225pub type DISABLED_RXEN_W<'a, const O: u8> =
226    crate::BitWriter<'a, u32, SHORTS_SPEC, DISABLED_RXEN_A, O>;
227impl<'a, const O: u8> DISABLED_RXEN_W<'a, O> {
228    #[doc = "Disable shortcut"]
229    #[inline(always)]
230    pub fn disabled(self) -> &'a mut W {
231        self.variant(DISABLED_RXEN_A::DISABLED)
232    }
233    #[doc = "Enable shortcut"]
234    #[inline(always)]
235    pub fn enabled(self) -> &'a mut W {
236        self.variant(DISABLED_RXEN_A::ENABLED)
237    }
238}
239#[doc = "Field `ADDRESS_RSSISTART` reader - Shortcut between event ADDRESS and task RSSISTART"]
240pub type ADDRESS_RSSISTART_R = crate::BitReader<ADDRESS_RSSISTART_A>;
241#[doc = "Shortcut between event ADDRESS and task RSSISTART\n\nValue on reset: 0"]
242#[derive(Clone, Copy, Debug, PartialEq)]
243pub enum ADDRESS_RSSISTART_A {
244    #[doc = "0: Disable shortcut"]
245    DISABLED = 0,
246    #[doc = "1: Enable shortcut"]
247    ENABLED = 1,
248}
249impl From<ADDRESS_RSSISTART_A> for bool {
250    #[inline(always)]
251    fn from(variant: ADDRESS_RSSISTART_A) -> Self {
252        variant as u8 != 0
253    }
254}
255impl ADDRESS_RSSISTART_R {
256    #[doc = "Get enumerated values variant"]
257    #[inline(always)]
258    pub fn variant(&self) -> ADDRESS_RSSISTART_A {
259        match self.bits {
260            false => ADDRESS_RSSISTART_A::DISABLED,
261            true => ADDRESS_RSSISTART_A::ENABLED,
262        }
263    }
264    #[doc = "Checks if the value of the field is `DISABLED`"]
265    #[inline(always)]
266    pub fn is_disabled(&self) -> bool {
267        *self == ADDRESS_RSSISTART_A::DISABLED
268    }
269    #[doc = "Checks if the value of the field is `ENABLED`"]
270    #[inline(always)]
271    pub fn is_enabled(&self) -> bool {
272        *self == ADDRESS_RSSISTART_A::ENABLED
273    }
274}
275#[doc = "Field `ADDRESS_RSSISTART` writer - Shortcut between event ADDRESS and task RSSISTART"]
276pub type ADDRESS_RSSISTART_W<'a, const O: u8> =
277    crate::BitWriter<'a, u32, SHORTS_SPEC, ADDRESS_RSSISTART_A, O>;
278impl<'a, const O: u8> ADDRESS_RSSISTART_W<'a, O> {
279    #[doc = "Disable shortcut"]
280    #[inline(always)]
281    pub fn disabled(self) -> &'a mut W {
282        self.variant(ADDRESS_RSSISTART_A::DISABLED)
283    }
284    #[doc = "Enable shortcut"]
285    #[inline(always)]
286    pub fn enabled(self) -> &'a mut W {
287        self.variant(ADDRESS_RSSISTART_A::ENABLED)
288    }
289}
290#[doc = "Field `END_START` reader - Shortcut between event END and task START"]
291pub type END_START_R = crate::BitReader<END_START_A>;
292#[doc = "Shortcut between event END and task START\n\nValue on reset: 0"]
293#[derive(Clone, Copy, Debug, PartialEq)]
294pub enum END_START_A {
295    #[doc = "0: Disable shortcut"]
296    DISABLED = 0,
297    #[doc = "1: Enable shortcut"]
298    ENABLED = 1,
299}
300impl From<END_START_A> for bool {
301    #[inline(always)]
302    fn from(variant: END_START_A) -> Self {
303        variant as u8 != 0
304    }
305}
306impl END_START_R {
307    #[doc = "Get enumerated values variant"]
308    #[inline(always)]
309    pub fn variant(&self) -> END_START_A {
310        match self.bits {
311            false => END_START_A::DISABLED,
312            true => END_START_A::ENABLED,
313        }
314    }
315    #[doc = "Checks if the value of the field is `DISABLED`"]
316    #[inline(always)]
317    pub fn is_disabled(&self) -> bool {
318        *self == END_START_A::DISABLED
319    }
320    #[doc = "Checks if the value of the field is `ENABLED`"]
321    #[inline(always)]
322    pub fn is_enabled(&self) -> bool {
323        *self == END_START_A::ENABLED
324    }
325}
326#[doc = "Field `END_START` writer - Shortcut between event END and task START"]
327pub type END_START_W<'a, const O: u8> = crate::BitWriter<'a, u32, SHORTS_SPEC, END_START_A, O>;
328impl<'a, const O: u8> END_START_W<'a, O> {
329    #[doc = "Disable shortcut"]
330    #[inline(always)]
331    pub fn disabled(self) -> &'a mut W {
332        self.variant(END_START_A::DISABLED)
333    }
334    #[doc = "Enable shortcut"]
335    #[inline(always)]
336    pub fn enabled(self) -> &'a mut W {
337        self.variant(END_START_A::ENABLED)
338    }
339}
340#[doc = "Field `ADDRESS_BCSTART` reader - Shortcut between event ADDRESS and task BCSTART"]
341pub type ADDRESS_BCSTART_R = crate::BitReader<ADDRESS_BCSTART_A>;
342#[doc = "Shortcut between event ADDRESS and task BCSTART\n\nValue on reset: 0"]
343#[derive(Clone, Copy, Debug, PartialEq)]
344pub enum ADDRESS_BCSTART_A {
345    #[doc = "0: Disable shortcut"]
346    DISABLED = 0,
347    #[doc = "1: Enable shortcut"]
348    ENABLED = 1,
349}
350impl From<ADDRESS_BCSTART_A> for bool {
351    #[inline(always)]
352    fn from(variant: ADDRESS_BCSTART_A) -> Self {
353        variant as u8 != 0
354    }
355}
356impl ADDRESS_BCSTART_R {
357    #[doc = "Get enumerated values variant"]
358    #[inline(always)]
359    pub fn variant(&self) -> ADDRESS_BCSTART_A {
360        match self.bits {
361            false => ADDRESS_BCSTART_A::DISABLED,
362            true => ADDRESS_BCSTART_A::ENABLED,
363        }
364    }
365    #[doc = "Checks if the value of the field is `DISABLED`"]
366    #[inline(always)]
367    pub fn is_disabled(&self) -> bool {
368        *self == ADDRESS_BCSTART_A::DISABLED
369    }
370    #[doc = "Checks if the value of the field is `ENABLED`"]
371    #[inline(always)]
372    pub fn is_enabled(&self) -> bool {
373        *self == ADDRESS_BCSTART_A::ENABLED
374    }
375}
376#[doc = "Field `ADDRESS_BCSTART` writer - Shortcut between event ADDRESS and task BCSTART"]
377pub type ADDRESS_BCSTART_W<'a, const O: u8> =
378    crate::BitWriter<'a, u32, SHORTS_SPEC, ADDRESS_BCSTART_A, O>;
379impl<'a, const O: u8> ADDRESS_BCSTART_W<'a, O> {
380    #[doc = "Disable shortcut"]
381    #[inline(always)]
382    pub fn disabled(self) -> &'a mut W {
383        self.variant(ADDRESS_BCSTART_A::DISABLED)
384    }
385    #[doc = "Enable shortcut"]
386    #[inline(always)]
387    pub fn enabled(self) -> &'a mut W {
388        self.variant(ADDRESS_BCSTART_A::ENABLED)
389    }
390}
391#[doc = "Field `DISABLED_RSSISTOP` reader - Shortcut between event DISABLED and task RSSISTOP"]
392pub type DISABLED_RSSISTOP_R = crate::BitReader<DISABLED_RSSISTOP_A>;
393#[doc = "Shortcut between event DISABLED and task RSSISTOP\n\nValue on reset: 0"]
394#[derive(Clone, Copy, Debug, PartialEq)]
395pub enum DISABLED_RSSISTOP_A {
396    #[doc = "0: Disable shortcut"]
397    DISABLED = 0,
398    #[doc = "1: Enable shortcut"]
399    ENABLED = 1,
400}
401impl From<DISABLED_RSSISTOP_A> for bool {
402    #[inline(always)]
403    fn from(variant: DISABLED_RSSISTOP_A) -> Self {
404        variant as u8 != 0
405    }
406}
407impl DISABLED_RSSISTOP_R {
408    #[doc = "Get enumerated values variant"]
409    #[inline(always)]
410    pub fn variant(&self) -> DISABLED_RSSISTOP_A {
411        match self.bits {
412            false => DISABLED_RSSISTOP_A::DISABLED,
413            true => DISABLED_RSSISTOP_A::ENABLED,
414        }
415    }
416    #[doc = "Checks if the value of the field is `DISABLED`"]
417    #[inline(always)]
418    pub fn is_disabled(&self) -> bool {
419        *self == DISABLED_RSSISTOP_A::DISABLED
420    }
421    #[doc = "Checks if the value of the field is `ENABLED`"]
422    #[inline(always)]
423    pub fn is_enabled(&self) -> bool {
424        *self == DISABLED_RSSISTOP_A::ENABLED
425    }
426}
427#[doc = "Field `DISABLED_RSSISTOP` writer - Shortcut between event DISABLED and task RSSISTOP"]
428pub type DISABLED_RSSISTOP_W<'a, const O: u8> =
429    crate::BitWriter<'a, u32, SHORTS_SPEC, DISABLED_RSSISTOP_A, O>;
430impl<'a, const O: u8> DISABLED_RSSISTOP_W<'a, O> {
431    #[doc = "Disable shortcut"]
432    #[inline(always)]
433    pub fn disabled(self) -> &'a mut W {
434        self.variant(DISABLED_RSSISTOP_A::DISABLED)
435    }
436    #[doc = "Enable shortcut"]
437    #[inline(always)]
438    pub fn enabled(self) -> &'a mut W {
439        self.variant(DISABLED_RSSISTOP_A::ENABLED)
440    }
441}
442impl R {
443    #[doc = "Bit 0 - Shortcut between event READY and task START"]
444    #[inline(always)]
445    pub fn ready_start(&self) -> READY_START_R {
446        READY_START_R::new((self.bits & 1) != 0)
447    }
448    #[doc = "Bit 1 - Shortcut between event END and task DISABLE"]
449    #[inline(always)]
450    pub fn end_disable(&self) -> END_DISABLE_R {
451        END_DISABLE_R::new(((self.bits >> 1) & 1) != 0)
452    }
453    #[doc = "Bit 2 - Shortcut between event DISABLED and task TXEN"]
454    #[inline(always)]
455    pub fn disabled_txen(&self) -> DISABLED_TXEN_R {
456        DISABLED_TXEN_R::new(((self.bits >> 2) & 1) != 0)
457    }
458    #[doc = "Bit 3 - Shortcut between event DISABLED and task RXEN"]
459    #[inline(always)]
460    pub fn disabled_rxen(&self) -> DISABLED_RXEN_R {
461        DISABLED_RXEN_R::new(((self.bits >> 3) & 1) != 0)
462    }
463    #[doc = "Bit 4 - Shortcut between event ADDRESS and task RSSISTART"]
464    #[inline(always)]
465    pub fn address_rssistart(&self) -> ADDRESS_RSSISTART_R {
466        ADDRESS_RSSISTART_R::new(((self.bits >> 4) & 1) != 0)
467    }
468    #[doc = "Bit 5 - Shortcut between event END and task START"]
469    #[inline(always)]
470    pub fn end_start(&self) -> END_START_R {
471        END_START_R::new(((self.bits >> 5) & 1) != 0)
472    }
473    #[doc = "Bit 6 - Shortcut between event ADDRESS and task BCSTART"]
474    #[inline(always)]
475    pub fn address_bcstart(&self) -> ADDRESS_BCSTART_R {
476        ADDRESS_BCSTART_R::new(((self.bits >> 6) & 1) != 0)
477    }
478    #[doc = "Bit 8 - Shortcut between event DISABLED and task RSSISTOP"]
479    #[inline(always)]
480    pub fn disabled_rssistop(&self) -> DISABLED_RSSISTOP_R {
481        DISABLED_RSSISTOP_R::new(((self.bits >> 8) & 1) != 0)
482    }
483}
484impl W {
485    #[doc = "Bit 0 - Shortcut between event READY and task START"]
486    #[inline(always)]
487    pub fn ready_start(&mut self) -> READY_START_W<0> {
488        READY_START_W::new(self)
489    }
490    #[doc = "Bit 1 - Shortcut between event END and task DISABLE"]
491    #[inline(always)]
492    pub fn end_disable(&mut self) -> END_DISABLE_W<1> {
493        END_DISABLE_W::new(self)
494    }
495    #[doc = "Bit 2 - Shortcut between event DISABLED and task TXEN"]
496    #[inline(always)]
497    pub fn disabled_txen(&mut self) -> DISABLED_TXEN_W<2> {
498        DISABLED_TXEN_W::new(self)
499    }
500    #[doc = "Bit 3 - Shortcut between event DISABLED and task RXEN"]
501    #[inline(always)]
502    pub fn disabled_rxen(&mut self) -> DISABLED_RXEN_W<3> {
503        DISABLED_RXEN_W::new(self)
504    }
505    #[doc = "Bit 4 - Shortcut between event ADDRESS and task RSSISTART"]
506    #[inline(always)]
507    pub fn address_rssistart(&mut self) -> ADDRESS_RSSISTART_W<4> {
508        ADDRESS_RSSISTART_W::new(self)
509    }
510    #[doc = "Bit 5 - Shortcut between event END and task START"]
511    #[inline(always)]
512    pub fn end_start(&mut self) -> END_START_W<5> {
513        END_START_W::new(self)
514    }
515    #[doc = "Bit 6 - Shortcut between event ADDRESS and task BCSTART"]
516    #[inline(always)]
517    pub fn address_bcstart(&mut self) -> ADDRESS_BCSTART_W<6> {
518        ADDRESS_BCSTART_W::new(self)
519    }
520    #[doc = "Bit 8 - Shortcut between event DISABLED and task RSSISTOP"]
521    #[inline(always)]
522    pub fn disabled_rssistop(&mut self) -> DISABLED_RSSISTOP_W<8> {
523        DISABLED_RSSISTOP_W::new(self)
524    }
525    #[doc = "Writes raw bits to the register."]
526    #[inline(always)]
527    pub unsafe fn bits(&mut self, bits: u32) -> &mut Self {
528        self.0.bits(bits);
529        self
530    }
531}
532#[doc = "Shortcuts between local events and tasks\n\nThis register you can [`read`](crate::generic::Reg::read), [`write_with_zero`](crate::generic::Reg::write_with_zero), [`reset`](crate::generic::Reg::reset), [`write`](crate::generic::Reg::write), [`modify`](crate::generic::Reg::modify). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [shorts](index.html) module"]
533pub struct SHORTS_SPEC;
534impl crate::RegisterSpec for SHORTS_SPEC {
535    type Ux = u32;
536}
537#[doc = "`read()` method returns [shorts::R](R) reader structure"]
538impl crate::Readable for SHORTS_SPEC {
539    type Reader = R;
540}
541#[doc = "`write(|w| ..)` method takes [shorts::W](W) writer structure"]
542impl crate::Writable for SHORTS_SPEC {
543    type Writer = W;
544}
545#[doc = "`reset()` method sets SHORTS to value 0"]
546impl crate::Resettable for SHORTS_SPEC {
547    #[inline(always)]
548    fn reset_value() -> Self::Ux {
549        0
550    }
551}