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.
1 parent e362074 commit ed9049dCopy full SHA for ed9049d
src/generate/register.rs
@@ -541,6 +541,7 @@ pub fn fields(
541
pub struct #name_pc_r(crate::FieldReader<#fty, #name_pc_a>);
542
543
impl #name_pc_r {
544
+ #[inline(always)]
545
pub(crate) fn new(bits: #fty) -> Self {
546
#name_pc_r(crate::FieldReader::new(bits))
547
}
@@ -563,6 +564,7 @@ pub fn fields(
563
564
pub struct #name_pc_r(crate::FieldReader<#fty, #fty>);
565
566
567
568
569
570
0 commit comments