Enum embassy_stm32::usart::HalfDuplexConfig
source ยท 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
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
)