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
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
#[doc = "Reader of register MCAN_TXBTO"]
pub type R = crate::R<u32, super::MCAN_TXBTO>;
#[doc = "Reader of field `TO0`"]
pub type TO0_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO1`"]
pub type TO1_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO2`"]
pub type TO2_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO3`"]
pub type TO3_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO4`"]
pub type TO4_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO5`"]
pub type TO5_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO6`"]
pub type TO6_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO7`"]
pub type TO7_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO8`"]
pub type TO8_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO9`"]
pub type TO9_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO10`"]
pub type TO10_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO11`"]
pub type TO11_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO12`"]
pub type TO12_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO13`"]
pub type TO13_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO14`"]
pub type TO14_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO15`"]
pub type TO15_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO16`"]
pub type TO16_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO17`"]
pub type TO17_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO18`"]
pub type TO18_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO19`"]
pub type TO19_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO20`"]
pub type TO20_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO21`"]
pub type TO21_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO22`"]
pub type TO22_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO23`"]
pub type TO23_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO24`"]
pub type TO24_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO25`"]
pub type TO25_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO26`"]
pub type TO26_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO27`"]
pub type TO27_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO28`"]
pub type TO28_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO29`"]
pub type TO29_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO30`"]
pub type TO30_R = crate::R<bool, bool>;
#[doc = "Reader of field `TO31`"]
pub type TO31_R = crate::R<bool, bool>;
impl R {
    #[doc = "Bit 0 - Transmission Occurred for Buffer 0"]
    #[inline(always)]
    pub fn to0(&self) -> TO0_R {
        TO0_R::new((self.bits & 0x01) != 0)
    }
    #[doc = "Bit 1 - Transmission Occurred for Buffer 1"]
    #[inline(always)]
    pub fn to1(&self) -> TO1_R {
        TO1_R::new(((self.bits >> 1) & 0x01) != 0)
    }
    #[doc = "Bit 2 - Transmission Occurred for Buffer 2"]
    #[inline(always)]
    pub fn to2(&self) -> TO2_R {
        TO2_R::new(((self.bits >> 2) & 0x01) != 0)
    }
    #[doc = "Bit 3 - Transmission Occurred for Buffer 3"]
    #[inline(always)]
    pub fn to3(&self) -> TO3_R {
        TO3_R::new(((self.bits >> 3) & 0x01) != 0)
    }
    #[doc = "Bit 4 - Transmission Occurred for Buffer 4"]
    #[inline(always)]
    pub fn to4(&self) -> TO4_R {
        TO4_R::new(((self.bits >> 4) & 0x01) != 0)
    }
    #[doc = "Bit 5 - Transmission Occurred for Buffer 5"]
    #[inline(always)]
    pub fn to5(&self) -> TO5_R {
        TO5_R::new(((self.bits >> 5) & 0x01) != 0)
    }
    #[doc = "Bit 6 - Transmission Occurred for Buffer 6"]
    #[inline(always)]
    pub fn to6(&self) -> TO6_R {
        TO6_R::new(((self.bits >> 6) & 0x01) != 0)
    }
    #[doc = "Bit 7 - Transmission Occurred for Buffer 7"]
    #[inline(always)]
    pub fn to7(&self) -> TO7_R {
        TO7_R::new(((self.bits >> 7) & 0x01) != 0)
    }
    #[doc = "Bit 8 - Transmission Occurred for Buffer 8"]
    #[inline(always)]
    pub fn to8(&self) -> TO8_R {
        TO8_R::new(((self.bits >> 8) & 0x01) != 0)
    }
    #[doc = "Bit 9 - Transmission Occurred for Buffer 9"]
    #[inline(always)]
    pub fn to9(&self) -> TO9_R {
        TO9_R::new(((self.bits >> 9) & 0x01) != 0)
    }
    #[doc = "Bit 10 - Transmission Occurred for Buffer 10"]
    #[inline(always)]
    pub fn to10(&self) -> TO10_R {
        TO10_R::new(((self.bits >> 10) & 0x01) != 0)
    }
    #[doc = "Bit 11 - Transmission Occurred for Buffer 11"]
    #[inline(always)]
    pub fn to11(&self) -> TO11_R {
        TO11_R::new(((self.bits >> 11) & 0x01) != 0)
    }
    #[doc = "Bit 12 - Transmission Occurred for Buffer 12"]
    #[inline(always)]
    pub fn to12(&self) -> TO12_R {
        TO12_R::new(((self.bits >> 12) & 0x01) != 0)
    }
    #[doc = "Bit 13 - Transmission Occurred for Buffer 13"]
    #[inline(always)]
    pub fn to13(&self) -> TO13_R {
        TO13_R::new(((self.bits >> 13) & 0x01) != 0)
    }
    #[doc = "Bit 14 - Transmission Occurred for Buffer 14"]
    #[inline(always)]
    pub fn to14(&self) -> TO14_R {
        TO14_R::new(((self.bits >> 14) & 0x01) != 0)
    }
    #[doc = "Bit 15 - Transmission Occurred for Buffer 15"]
    #[inline(always)]
    pub fn to15(&self) -> TO15_R {
        TO15_R::new(((self.bits >> 15) & 0x01) != 0)
    }
    #[doc = "Bit 16 - Transmission Occurred for Buffer 16"]
    #[inline(always)]
    pub fn to16(&self) -> TO16_R {
        TO16_R::new(((self.bits >> 16) & 0x01) != 0)
    }
    #[doc = "Bit 17 - Transmission Occurred for Buffer 17"]
    #[inline(always)]
    pub fn to17(&self) -> TO17_R {
        TO17_R::new(((self.bits >> 17) & 0x01) != 0)
    }
    #[doc = "Bit 18 - Transmission Occurred for Buffer 18"]
    #[inline(always)]
    pub fn to18(&self) -> TO18_R {
        TO18_R::new(((self.bits >> 18) & 0x01) != 0)
    }
    #[doc = "Bit 19 - Transmission Occurred for Buffer 19"]
    #[inline(always)]
    pub fn to19(&self) -> TO19_R {
        TO19_R::new(((self.bits >> 19) & 0x01) != 0)
    }
    #[doc = "Bit 20 - Transmission Occurred for Buffer 20"]
    #[inline(always)]
    pub fn to20(&self) -> TO20_R {
        TO20_R::new(((self.bits >> 20) & 0x01) != 0)
    }
    #[doc = "Bit 21 - Transmission Occurred for Buffer 21"]
    #[inline(always)]
    pub fn to21(&self) -> TO21_R {
        TO21_R::new(((self.bits >> 21) & 0x01) != 0)
    }
    #[doc = "Bit 22 - Transmission Occurred for Buffer 22"]
    #[inline(always)]
    pub fn to22(&self) -> TO22_R {
        TO22_R::new(((self.bits >> 22) & 0x01) != 0)
    }
    #[doc = "Bit 23 - Transmission Occurred for Buffer 23"]
    #[inline(always)]
    pub fn to23(&self) -> TO23_R {
        TO23_R::new(((self.bits >> 23) & 0x01) != 0)
    }
    #[doc = "Bit 24 - Transmission Occurred for Buffer 24"]
    #[inline(always)]
    pub fn to24(&self) -> TO24_R {
        TO24_R::new(((self.bits >> 24) & 0x01) != 0)
    }
    #[doc = "Bit 25 - Transmission Occurred for Buffer 25"]
    #[inline(always)]
    pub fn to25(&self) -> TO25_R {
        TO25_R::new(((self.bits >> 25) & 0x01) != 0)
    }
    #[doc = "Bit 26 - Transmission Occurred for Buffer 26"]
    #[inline(always)]
    pub fn to26(&self) -> TO26_R {
        TO26_R::new(((self.bits >> 26) & 0x01) != 0)
    }
    #[doc = "Bit 27 - Transmission Occurred for Buffer 27"]
    #[inline(always)]
    pub fn to27(&self) -> TO27_R {
        TO27_R::new(((self.bits >> 27) & 0x01) != 0)
    }
    #[doc = "Bit 28 - Transmission Occurred for Buffer 28"]
    #[inline(always)]
    pub fn to28(&self) -> TO28_R {
        TO28_R::new(((self.bits >> 28) & 0x01) != 0)
    }
    #[doc = "Bit 29 - Transmission Occurred for Buffer 29"]
    #[inline(always)]
    pub fn to29(&self) -> TO29_R {
        TO29_R::new(((self.bits >> 29) & 0x01) != 0)
    }
    #[doc = "Bit 30 - Transmission Occurred for Buffer 30"]
    #[inline(always)]
    pub fn to30(&self) -> TO30_R {
        TO30_R::new(((self.bits >> 30) & 0x01) != 0)
    }
    #[doc = "Bit 31 - Transmission Occurred for Buffer 31"]
    #[inline(always)]
    pub fn to31(&self) -> TO31_R {
        TO31_R::new(((self.bits >> 31) & 0x01) != 0)
    }
}