Struct Psmkr
#[repr(transparent)]pub struct Psmkr(pub u32);Expand description
HSPI polling status mask register.
Tuple Fields§
§0: u32Implementations§
§impl Psmkr
impl Psmkr
pub const fn mask(&self) -> u32
pub const fn mask(&self) -> u32
Status mask. Mask to be applied to the status bytes received in automatic status-polling mode. For bit n: 0 = bit n of the data received is masked and its value is not considered in the matching logic, 1 = bit n is unmasked and its value is compared with the value of bit n of PSMAR.
pub const fn set_mask(&mut self, val: u32)
pub const fn set_mask(&mut self, val: u32)
Status mask. Mask to be applied to the status bytes received in automatic status-polling mode. For bit n: 0 = bit n of the data received is masked and its value is not considered in the matching logic, 1 = bit n is unmasked and its value is compared with the value of bit n of PSMAR.
Trait Implementations§
impl Copy for Psmkr
impl Eq for Psmkr
impl StructuralPartialEq for Psmkr
Auto Trait Implementations§
impl Freeze for Psmkr
impl RefUnwindSafe for Psmkr
impl Send for Psmkr
impl Sync for Psmkr
impl Unpin for Psmkr
impl UnsafeUnpin for Psmkr
impl UnwindSafe for Psmkr
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more