Important fix: Use bitmask everywhere now
This PAC was generated using a patched version of svd2rust with commit hash 43be074d21132c3a76780816010df592a3603874 It includes bugfix https://github.com/rust-embedded/svd2rust/pull/549
This commit is contained in:
@ -77,7 +77,7 @@ impl R {
|
||||
#[doc = "Bit 0 - RAM Single Bit Interrupt"]
|
||||
#[inline(always)]
|
||||
pub fn ramsbe(&self) -> RAMSBE_R {
|
||||
RAMSBE_R::new(self.bits != 0)
|
||||
RAMSBE_R::new((self.bits & 0x01) != 0)
|
||||
}
|
||||
#[doc = "Bit 1 - RAM Multi Bit Interrupt"]
|
||||
#[inline(always)]
|
||||
|
Reference in New Issue
Block a user