pub enum CSUSPW {
NotRequested = 0,
Requested = 1,
}Expand description
master SUSPend request This bit reads as zero. In Master mode, when this bit is set by software, the CSTART bit is reset at the end of the current frame and communication is suspended. The user has to check SUSP flag to check end of the frame transaction. The Master mode communication must be suspended (using this bit or keeping TXDR empty) before going to Low-power mode. Can be used in SPI or I2S mode. After software suspension, SUSP flag has to be cleared and SPI disabled and re-enabled before the next transaction starts.
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for CSUSPW
impl Eq for CSUSPW
impl StructuralPartialEq for CSUSPW
Auto Trait Implementations§
impl Freeze for CSUSPW
impl RefUnwindSafe for CSUSPW
impl Send for CSUSPW
impl Sync for CSUSPW
impl Unpin for CSUSPW
impl UnwindSafe for CSUSPW
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