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
#[doc = "Reader of register CHSTATUS"]
pub type R = crate::R<u32, super::CHSTATUS>;
#[doc = "Reader of field `USRRDY0`"]
pub type USRRDY0_R = crate::R<bool, bool>;
#[doc = "Reader of field `USRRDY1`"]
pub type USRRDY1_R = crate::R<bool, bool>;
#[doc = "Reader of field `USRRDY2`"]
pub type USRRDY2_R = crate::R<bool, bool>;
#[doc = "Reader of field `USRRDY3`"]
pub type USRRDY3_R = crate::R<bool, bool>;
#[doc = "Reader of field `USRRDY4`"]
pub type USRRDY4_R = crate::R<bool, bool>;
#[doc = "Reader of field `USRRDY5`"]
pub type USRRDY5_R = crate::R<bool, bool>;
#[doc = "Reader of field `USRRDY6`"]
pub type USRRDY6_R = crate::R<bool, bool>;
#[doc = "Reader of field `USRRDY7`"]
pub type USRRDY7_R = crate::R<bool, bool>;
#[doc = "Reader of field `CHBUSY0`"]
pub type CHBUSY0_R = crate::R<bool, bool>;
#[doc = "Reader of field `CHBUSY1`"]
pub type CHBUSY1_R = crate::R<bool, bool>;
#[doc = "Reader of field `CHBUSY2`"]
pub type CHBUSY2_R = crate::R<bool, bool>;
#[doc = "Reader of field `CHBUSY3`"]
pub type CHBUSY3_R = crate::R<bool, bool>;
#[doc = "Reader of field `CHBUSY4`"]
pub type CHBUSY4_R = crate::R<bool, bool>;
#[doc = "Reader of field `CHBUSY5`"]
pub type CHBUSY5_R = crate::R<bool, bool>;
#[doc = "Reader of field `CHBUSY6`"]
pub type CHBUSY6_R = crate::R<bool, bool>;
#[doc = "Reader of field `CHBUSY7`"]
pub type CHBUSY7_R = crate::R<bool, bool>;
#[doc = "Reader of field `USRRDY8`"]
pub type USRRDY8_R = crate::R<bool, bool>;
#[doc = "Reader of field `USRRDY9`"]
pub type USRRDY9_R = crate::R<bool, bool>;
#[doc = "Reader of field `USRRDY10`"]
pub type USRRDY10_R = crate::R<bool, bool>;
#[doc = "Reader of field `USRRDY11`"]
pub type USRRDY11_R = crate::R<bool, bool>;
#[doc = "Reader of field `CHBUSY8`"]
pub type CHBUSY8_R = crate::R<bool, bool>;
#[doc = "Reader of field `CHBUSY9`"]
pub type CHBUSY9_R = crate::R<bool, bool>;
#[doc = "Reader of field `CHBUSY10`"]
pub type CHBUSY10_R = crate::R<bool, bool>;
#[doc = "Reader of field `CHBUSY11`"]
pub type CHBUSY11_R = crate::R<bool, bool>;
impl R {
    #[doc = "Bit 0 - Channel 0 User Ready"]
    #[inline(always)]
    pub fn usrrdy0(&self) -> USRRDY0_R {
        USRRDY0_R::new((self.bits & 0x01) != 0)
    }
    #[doc = "Bit 1 - Channel 1 User Ready"]
    #[inline(always)]
    pub fn usrrdy1(&self) -> USRRDY1_R {
        USRRDY1_R::new(((self.bits >> 1) & 0x01) != 0)
    }
    #[doc = "Bit 2 - Channel 2 User Ready"]
    #[inline(always)]
    pub fn usrrdy2(&self) -> USRRDY2_R {
        USRRDY2_R::new(((self.bits >> 2) & 0x01) != 0)
    }
    #[doc = "Bit 3 - Channel 3 User Ready"]
    #[inline(always)]
    pub fn usrrdy3(&self) -> USRRDY3_R {
        USRRDY3_R::new(((self.bits >> 3) & 0x01) != 0)
    }
    #[doc = "Bit 4 - Channel 4 User Ready"]
    #[inline(always)]
    pub fn usrrdy4(&self) -> USRRDY4_R {
        USRRDY4_R::new(((self.bits >> 4) & 0x01) != 0)
    }
    #[doc = "Bit 5 - Channel 5 User Ready"]
    #[inline(always)]
    pub fn usrrdy5(&self) -> USRRDY5_R {
        USRRDY5_R::new(((self.bits >> 5) & 0x01) != 0)
    }
    #[doc = "Bit 6 - Channel 6 User Ready"]
    #[inline(always)]
    pub fn usrrdy6(&self) -> USRRDY6_R {
        USRRDY6_R::new(((self.bits >> 6) & 0x01) != 0)
    }
    #[doc = "Bit 7 - Channel 7 User Ready"]
    #[inline(always)]
    pub fn usrrdy7(&self) -> USRRDY7_R {
        USRRDY7_R::new(((self.bits >> 7) & 0x01) != 0)
    }
    #[doc = "Bit 8 - Channel 0 Busy"]
    #[inline(always)]
    pub fn chbusy0(&self) -> CHBUSY0_R {
        CHBUSY0_R::new(((self.bits >> 8) & 0x01) != 0)
    }
    #[doc = "Bit 9 - Channel 1 Busy"]
    #[inline(always)]
    pub fn chbusy1(&self) -> CHBUSY1_R {
        CHBUSY1_R::new(((self.bits >> 9) & 0x01) != 0)
    }
    #[doc = "Bit 10 - Channel 2 Busy"]
    #[inline(always)]
    pub fn chbusy2(&self) -> CHBUSY2_R {
        CHBUSY2_R::new(((self.bits >> 10) & 0x01) != 0)
    }
    #[doc = "Bit 11 - Channel 3 Busy"]
    #[inline(always)]
    pub fn chbusy3(&self) -> CHBUSY3_R {
        CHBUSY3_R::new(((self.bits >> 11) & 0x01) != 0)
    }
    #[doc = "Bit 12 - Channel 4 Busy"]
    #[inline(always)]
    pub fn chbusy4(&self) -> CHBUSY4_R {
        CHBUSY4_R::new(((self.bits >> 12) & 0x01) != 0)
    }
    #[doc = "Bit 13 - Channel 5 Busy"]
    #[inline(always)]
    pub fn chbusy5(&self) -> CHBUSY5_R {
        CHBUSY5_R::new(((self.bits >> 13) & 0x01) != 0)
    }
    #[doc = "Bit 14 - Channel 6 Busy"]
    #[inline(always)]
    pub fn chbusy6(&self) -> CHBUSY6_R {
        CHBUSY6_R::new(((self.bits >> 14) & 0x01) != 0)
    }
    #[doc = "Bit 15 - Channel 7 Busy"]
    #[inline(always)]
    pub fn chbusy7(&self) -> CHBUSY7_R {
        CHBUSY7_R::new(((self.bits >> 15) & 0x01) != 0)
    }
    #[doc = "Bit 16 - Channel 8 User Ready"]
    #[inline(always)]
    pub fn usrrdy8(&self) -> USRRDY8_R {
        USRRDY8_R::new(((self.bits >> 16) & 0x01) != 0)
    }
    #[doc = "Bit 17 - Channel 9 User Ready"]
    #[inline(always)]
    pub fn usrrdy9(&self) -> USRRDY9_R {
        USRRDY9_R::new(((self.bits >> 17) & 0x01) != 0)
    }
    #[doc = "Bit 18 - Channel 10 User Ready"]
    #[inline(always)]
    pub fn usrrdy10(&self) -> USRRDY10_R {
        USRRDY10_R::new(((self.bits >> 18) & 0x01) != 0)
    }
    #[doc = "Bit 19 - Channel 11 User Ready"]
    #[inline(always)]
    pub fn usrrdy11(&self) -> USRRDY11_R {
        USRRDY11_R::new(((self.bits >> 19) & 0x01) != 0)
    }
    #[doc = "Bit 24 - Channel 8 Busy"]
    #[inline(always)]
    pub fn chbusy8(&self) -> CHBUSY8_R {
        CHBUSY8_R::new(((self.bits >> 24) & 0x01) != 0)
    }
    #[doc = "Bit 25 - Channel 9 Busy"]
    #[inline(always)]
    pub fn chbusy9(&self) -> CHBUSY9_R {
        CHBUSY9_R::new(((self.bits >> 25) & 0x01) != 0)
    }
    #[doc = "Bit 26 - Channel 10 Busy"]
    #[inline(always)]
    pub fn chbusy10(&self) -> CHBUSY10_R {
        CHBUSY10_R::new(((self.bits >> 26) & 0x01) != 0)
    }
    #[doc = "Bit 27 - Channel 11 Busy"]
    #[inline(always)]
    pub fn chbusy11(&self) -> CHBUSY11_R {
        CHBUSY11_R::new(((self.bits >> 27) & 0x01) != 0)
    }
}