pub enum IOLOCK {
Unlocked = 0,
Locked = 1,
}Expand description
locking the AF configuration of associated IOs This bit is set by software and cleared by hardware whenever the SPE bit is changed from 1 to 0. When this bit is set, SPI_CFG2 register content cannot be modified. This bit can be set when SPI is disabled only else it is write protected. It is cleared and cannot be set when MODF bit is set.
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for IOLOCK
impl Eq for IOLOCK
impl StructuralPartialEq for IOLOCK
Auto Trait Implementations§
impl Freeze for IOLOCK
impl RefUnwindSafe for IOLOCK
impl Send for IOLOCK
impl Sync for IOLOCK
impl Unpin for IOLOCK
impl UnwindSafe for IOLOCK
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