pub enum POLARITY_A {
ACTIVE_HIGH = 1,
ACTIVE_LOW = 0,
}
Expand description
RS-485 pin polarity of Driver Enable (DE) pin
Value on reset: 1
Variants§
ACTIVE_HIGH = 1
1: Driver Enable (DE) pin is active high
ACTIVE_LOW = 0
0: Driver Enable (DE) pin is active low
Trait Implementations§
Source§impl Clone for POLARITY_A
impl Clone for POLARITY_A
Source§fn clone(&self) -> POLARITY_A
fn clone(&self) -> POLARITY_A
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 POLARITY_A
impl Debug for POLARITY_A
Source§impl From<POLARITY_A> for bool
impl From<POLARITY_A> for bool
Source§fn from(variant: POLARITY_A) -> Self
fn from(variant: POLARITY_A) -> Self
Converts to this type from the input type.
Source§impl PartialEq for POLARITY_A
impl PartialEq for POLARITY_A
impl Copy for POLARITY_A
impl Eq for POLARITY_A
impl StructuralPartialEq for POLARITY_A
Auto Trait Implementations§
impl Freeze for POLARITY_A
impl RefUnwindSafe for POLARITY_A
impl Send for POLARITY_A
impl Sync for POLARITY_A
impl Unpin for POLARITY_A
impl UnwindSafe for POLARITY_A
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