We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3f8fb8a commit af67221Copy full SHA for af67221
src/generate/generic.rs
@@ -177,6 +177,7 @@ pub mod raw {
177
}
178
179
impl<REG: RegisterSpec> FromBits<REG::Ux> for R<REG> {
180
+ #[inline(always)]
181
unsafe fn from_bits(bits: REG::Ux) -> Self {
182
Self {
183
bits,
@@ -192,6 +193,7 @@ pub mod raw {
192
193
194
195
impl<REG: RegisterSpec> FromBits<REG::Ux> for W<REG> {
196
197
198
199
@@ -201,6 +203,7 @@ pub mod raw {
201
203
202
204
205
impl<REG: RegisterSpec> ToBits<REG::Ux> for W<REG> {
206
207
fn to_bits(&self) -> REG::Ux {
208
self.bits
209
0 commit comments