pub enum PE_A {
Disabled,
Enabled,
}
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
Disabled
0: Peripheral disabled
Enabled
1: Peripheral enabled
Trait Implementations
impl Copy for PE_A
impl StructuralPartialEq for PE_A
Auto Trait Implementations
impl RefUnwindSafe for PE_A
impl Send for PE_A
impl Sync for PE_A
impl Unpin for PE_A
impl UnwindSafe for PE_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more