Struct stm32_metapac::spi::regs::Sr
#[repr(transparent)]pub struct Sr(pub u32);
Expand description
Status Register
Tuple Fields§
§0: u32
Implementations§
§impl Sr
impl Sr
pub fn set_rxplvl(&mut self, val: Rxplvl)
pub fn set_rxplvl(&mut self, val: Rxplvl)
RxFIFO Packing LeVeL
pub fn set_ctsize(&mut self, val: u16)
pub fn set_ctsize(&mut self, val: u16)
Number of data frames remaining in current TSIZE session
Trait Implementations§
impl Copy for Sr
impl Eq for Sr
impl StructuralEq for Sr
impl StructuralPartialEq for Sr
Auto Trait Implementations§
impl RefUnwindSafe for Sr
impl Send for Sr
impl Sync for Sr
impl Unpin for Sr
impl UnwindSafe for Sr
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