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
#[doc = "Register `SYNCBUSY` reader"]
pub struct R(crate::R<SYNCBUSY_SPEC>);
impl core::ops::Deref for R {
    type Target = crate::R<SYNCBUSY_SPEC>;
    #[inline(always)]
    fn deref(&self) -> &Self::Target {
        &self.0
    }
}
impl From<crate::R<SYNCBUSY_SPEC>> for R {
    #[inline(always)]
    fn from(reader: crate::R<SYNCBUSY_SPEC>) -> Self {
        R(reader)
    }
}
#[doc = "Field `CTRL` reader - CTRL Register Busy"]
pub type CTRL_R = crate::BitReader<bool>;
#[doc = "Field `BACTRL` reader - BACTRL Register Busy"]
pub type BACTRL_R = crate::BitReader<bool>;
#[doc = "Field `AREGA` reader - AREGA Register Busy"]
pub type AREGA_R = crate::BitReader<bool>;
#[doc = "Field `AREGB` reader - AREGB Register Busy"]
pub type AREGB_R = crate::BitReader<bool>;
#[doc = "Field `SEGD0L` reader - SEGD0L Register Busy"]
pub type SEGD0L_R = crate::BitReader<bool>;
#[doc = "Field `SEGD1L` reader - SEGD1L Register Busy"]
pub type SEGD1L_R = crate::BitReader<bool>;
#[doc = "Field `SEGD2L` reader - SEGD2L Register Busy"]
pub type SEGD2L_R = crate::BitReader<bool>;
#[doc = "Field `SEGD3L` reader - SEGD3L Register Busy"]
pub type SEGD3L_R = crate::BitReader<bool>;
#[doc = "Field `SEGD0H` reader - SEGD0H Register Busy"]
pub type SEGD0H_R = crate::BitReader<bool>;
#[doc = "Field `SEGD1H` reader - SEGD1H Register Busy"]
pub type SEGD1H_R = crate::BitReader<bool>;
#[doc = "Field `SEGD2H` reader - SEGD2H Register Busy"]
pub type SEGD2H_R = crate::BitReader<bool>;
#[doc = "Field `SEGD3H` reader - SEGD3H Register Busy"]
pub type SEGD3H_R = crate::BitReader<bool>;
#[doc = "Field `SEGD4L` reader - SEGD4L Register Busy"]
pub type SEGD4L_R = crate::BitReader<bool>;
#[doc = "Field `SEGD5L` reader - SEGD5L Register Busy"]
pub type SEGD5L_R = crate::BitReader<bool>;
#[doc = "Field `SEGD6L` reader - SEGD6L Register Busy"]
pub type SEGD6L_R = crate::BitReader<bool>;
#[doc = "Field `SEGD7L` reader - SEGD7L Register Busy"]
pub type SEGD7L_R = crate::BitReader<bool>;
#[doc = "Field `SEGD4H` reader - SEGD4H Register Busy"]
pub type SEGD4H_R = crate::BitReader<bool>;
#[doc = "Field `SEGD5H` reader - SEGD5H Register Busy"]
pub type SEGD5H_R = crate::BitReader<bool>;
#[doc = "Field `SEGD6H` reader - SEGD6H Register Busy"]
pub type SEGD6H_R = crate::BitReader<bool>;
#[doc = "Field `SEGD7H` reader - SEGD7H Register Busy"]
pub type SEGD7H_R = crate::BitReader<bool>;
impl R {
    #[doc = "Bit 0 - CTRL Register Busy"]
    #[inline(always)]
    pub fn ctrl(&self) -> CTRL_R {
        CTRL_R::new((self.bits & 1) != 0)
    }
    #[doc = "Bit 1 - BACTRL Register Busy"]
    #[inline(always)]
    pub fn bactrl(&self) -> BACTRL_R {
        BACTRL_R::new(((self.bits >> 1) & 1) != 0)
    }
    #[doc = "Bit 2 - AREGA Register Busy"]
    #[inline(always)]
    pub fn arega(&self) -> AREGA_R {
        AREGA_R::new(((self.bits >> 2) & 1) != 0)
    }
    #[doc = "Bit 3 - AREGB Register Busy"]
    #[inline(always)]
    pub fn aregb(&self) -> AREGB_R {
        AREGB_R::new(((self.bits >> 3) & 1) != 0)
    }
    #[doc = "Bit 4 - SEGD0L Register Busy"]
    #[inline(always)]
    pub fn segd0l(&self) -> SEGD0L_R {
        SEGD0L_R::new(((self.bits >> 4) & 1) != 0)
    }
    #[doc = "Bit 5 - SEGD1L Register Busy"]
    #[inline(always)]
    pub fn segd1l(&self) -> SEGD1L_R {
        SEGD1L_R::new(((self.bits >> 5) & 1) != 0)
    }
    #[doc = "Bit 6 - SEGD2L Register Busy"]
    #[inline(always)]
    pub fn segd2l(&self) -> SEGD2L_R {
        SEGD2L_R::new(((self.bits >> 6) & 1) != 0)
    }
    #[doc = "Bit 7 - SEGD3L Register Busy"]
    #[inline(always)]
    pub fn segd3l(&self) -> SEGD3L_R {
        SEGD3L_R::new(((self.bits >> 7) & 1) != 0)
    }
    #[doc = "Bit 8 - SEGD0H Register Busy"]
    #[inline(always)]
    pub fn segd0h(&self) -> SEGD0H_R {
        SEGD0H_R::new(((self.bits >> 8) & 1) != 0)
    }
    #[doc = "Bit 9 - SEGD1H Register Busy"]
    #[inline(always)]
    pub fn segd1h(&self) -> SEGD1H_R {
        SEGD1H_R::new(((self.bits >> 9) & 1) != 0)
    }
    #[doc = "Bit 10 - SEGD2H Register Busy"]
    #[inline(always)]
    pub fn segd2h(&self) -> SEGD2H_R {
        SEGD2H_R::new(((self.bits >> 10) & 1) != 0)
    }
    #[doc = "Bit 11 - SEGD3H Register Busy"]
    #[inline(always)]
    pub fn segd3h(&self) -> SEGD3H_R {
        SEGD3H_R::new(((self.bits >> 11) & 1) != 0)
    }
    #[doc = "Bit 12 - SEGD4L Register Busy"]
    #[inline(always)]
    pub fn segd4l(&self) -> SEGD4L_R {
        SEGD4L_R::new(((self.bits >> 12) & 1) != 0)
    }
    #[doc = "Bit 13 - SEGD5L Register Busy"]
    #[inline(always)]
    pub fn segd5l(&self) -> SEGD5L_R {
        SEGD5L_R::new(((self.bits >> 13) & 1) != 0)
    }
    #[doc = "Bit 14 - SEGD6L Register Busy"]
    #[inline(always)]
    pub fn segd6l(&self) -> SEGD6L_R {
        SEGD6L_R::new(((self.bits >> 14) & 1) != 0)
    }
    #[doc = "Bit 15 - SEGD7L Register Busy"]
    #[inline(always)]
    pub fn segd7l(&self) -> SEGD7L_R {
        SEGD7L_R::new(((self.bits >> 15) & 1) != 0)
    }
    #[doc = "Bit 16 - SEGD4H Register Busy"]
    #[inline(always)]
    pub fn segd4h(&self) -> SEGD4H_R {
        SEGD4H_R::new(((self.bits >> 16) & 1) != 0)
    }
    #[doc = "Bit 17 - SEGD5H Register Busy"]
    #[inline(always)]
    pub fn segd5h(&self) -> SEGD5H_R {
        SEGD5H_R::new(((self.bits >> 17) & 1) != 0)
    }
    #[doc = "Bit 18 - SEGD6H Register Busy"]
    #[inline(always)]
    pub fn segd6h(&self) -> SEGD6H_R {
        SEGD6H_R::new(((self.bits >> 18) & 1) != 0)
    }
    #[doc = "Bit 19 - SEGD7H Register Busy"]
    #[inline(always)]
    pub fn segd7h(&self) -> SEGD7H_R {
        SEGD7H_R::new(((self.bits >> 19) & 1) != 0)
    }
}
#[doc = "Synchronization Busy Register\n\nThis register you can [`read`](crate::generic::Reg::read). See [API](https://docs.rs/svd2rust/#read--modify--write-api).\n\nFor information about available fields see [syncbusy](index.html) module"]
pub struct SYNCBUSY_SPEC;
impl crate::RegisterSpec for SYNCBUSY_SPEC {
    type Ux = u32;
}
#[doc = "`read()` method returns [syncbusy::R](R) reader structure"]
impl crate::Readable for SYNCBUSY_SPEC {
    type Reader = R;
}
#[doc = "`reset()` method sets SYNCBUSY to value 0"]
impl crate::Resettable for SYNCBUSY_SPEC {
    const RESET_VALUE: Self::Ux = 0;
}