pub enum HalfDuplexConfig {
PushPull,
OpenDrainExternal,
}
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
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)