We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
#[inline(always)]
1 parent 3767036 commit 702a130Copy full SHA for 702a130
src/generate/register.rs
@@ -70,6 +70,7 @@ pub fn render(
70
}
71
72
impl From<crate::R<#name_uc_spec>> for R {
73
+ #[inline(always)]
74
fn from(reader: crate::R<#name_uc_spec>) -> Self {
75
R(reader)
76
@@ -101,6 +102,7 @@ pub fn render(
101
102
103
104
impl From<crate::W<#name_uc_spec>> for W {
105
106
fn from(writer: crate::W<#name_uc_spec>) -> Self {
107
W(writer)
108
@@ -161,6 +163,7 @@ pub fn render(
161
163
162
164
mod_items.extend(quote! {
165
#[doc = "Writes raw bits to the register."]
166
167
pub unsafe fn bits(&mut self, bits: #rty) -> &mut Self {
168
self.0.bits(bits);
169
self
0 commit comments