pub enum PE {
Disabled = 0,
Enabled = 1,
}
Expand description
Peripheral enable Note: When PE=0, the I2C SCL and SDA lines are released. Internal state machines and status bits are put back to their reset value. When cleared, PE must be kept low for at least 3 APB clock cycles.
Value on reset: 0
Variants§
Trait Implementations§
impl Copy for PE
impl Eq for PE
impl StructuralPartialEq for PE
Auto Trait Implementations§
impl Freeze for PE
impl RefUnwindSafe for PE
impl Send for PE
impl Sync for PE
impl Unpin for PE
impl UnwindSafe for PE
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