pub enum OD_A {
NORMAL,
OPEN_DRAIN,
}
Expand description
Controls open-drain mode.
Value on reset: 0
Variants
NORMAL
0: Normal. Normal push-pull output
OPEN_DRAIN
1: Open-drain. Simulated open-drain output (high drive disabled).
Trait Implementations
impl Copy for OD_A
impl StructuralPartialEq for OD_A
Auto Trait Implementations
impl RefUnwindSafe for OD_A
impl Send for OD_A
impl Sync for OD_A
impl Unpin for OD_A
impl UnwindSafe for OD_A
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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