pub enum HalfDuplexConfig {
PushPull,
OpenDrainExternal,
OpenDrainInternal,
}
Expand description
Half duplex IO mode
Variants§
PushPull
Push pull allows for faster baudrates, may require series resistor
OpenDrainExternal
Open drain output using external pull up resistor
OpenDrainInternal
Open drain output using internal pull up resistor
Trait Implementations§
Source§impl Clone for HalfDuplexConfig
impl Clone for HalfDuplexConfig
Source§fn clone(&self) -> HalfDuplexConfig
fn clone(&self) -> HalfDuplexConfig
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for HalfDuplexConfig
impl Debug for HalfDuplexConfig
Source§impl Format for HalfDuplexConfig
impl Format for HalfDuplexConfig
Source§impl PartialEq for HalfDuplexConfig
impl PartialEq for HalfDuplexConfig
impl Copy for HalfDuplexConfig
impl Eq for HalfDuplexConfig
impl StructuralPartialEq for HalfDuplexConfig
Auto Trait Implementations§
impl Freeze for HalfDuplexConfig
impl RefUnwindSafe for HalfDuplexConfig
impl Send for HalfDuplexConfig
impl Sync for HalfDuplexConfig
impl Unpin for HalfDuplexConfig
impl UnwindSafe for HalfDuplexConfig
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