Regenerate PAC with patched svd2rust version

PAC was now generated using svd2rust patched with https://github.com/rust-embedded/svd2rust/pull/558 . This fixes some clippy issues
This commit is contained in:
2021-12-10 17:58:54 +01:00
parent 43c2ad8184
commit 45b1680254
89 changed files with 243 additions and 106 deletions

View File

@ -57,7 +57,7 @@ impl<'a> CURTBUFAPTR_W<'a> {
#[doc = r"Writes raw bits to the field"]
#[inline(always)]
pub unsafe fn bits(self, value: u32) -> &'a mut W {
self.w.bits = (self.w.bits & !0xffff_ffff) | (value as u32 & 0xffff_ffff);
self.w.bits = value as u32;
self.w
}
}
@ -65,7 +65,7 @@ impl R {
#[doc = "Bits 0:31 - Cleared on Reset. Pointer updated by the DMA during operation."]
#[inline(always)]
pub fn curtbufaptr(&self) -> CURTBUFAPTR_R {
CURTBUFAPTR_R::new((self.bits & 0xffff_ffff) as u32)
CURTBUFAPTR_R::new(self.bits as u32)
}
}
impl W {