#[repr(u8)]pub enum Sm2octrlPwmbfs {
LOGIC_0 = 0,
LOGIC_1 = 1,
TRISTATED_2 = 2,
TRISTATED_3 = 3,
}Variants§
LOGIC_0 = 0
Output is forced to logic 0 state prior to consideration of output polarity control.
LOGIC_1 = 1
Output is forced to logic 1 state prior to consideration of output polarity control.
TRISTATED_2 = 2
Output is put in a high-impedance state.
TRISTATED_3 = 3
Output is put in a high-impedance state.
Implementations§
Trait Implementations§
Source§impl Clone for Sm2octrlPwmbfs
impl Clone for Sm2octrlPwmbfs
Source§fn clone(&self) -> Sm2octrlPwmbfs
fn clone(&self) -> Sm2octrlPwmbfs
Returns a duplicate 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 Sm2octrlPwmbfs
impl Debug for Sm2octrlPwmbfs
Source§impl From<Sm2octrlPwmbfs> for u8
impl From<Sm2octrlPwmbfs> for u8
Source§fn from(val: Sm2octrlPwmbfs) -> u8
fn from(val: Sm2octrlPwmbfs) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Sm2octrlPwmbfs
impl From<u8> for Sm2octrlPwmbfs
Source§fn from(val: u8) -> Sm2octrlPwmbfs
fn from(val: u8) -> Sm2octrlPwmbfs
Converts to this type from the input type.
Source§impl Ord for Sm2octrlPwmbfs
impl Ord for Sm2octrlPwmbfs
Source§fn cmp(&self, other: &Sm2octrlPwmbfs) -> Ordering
fn cmp(&self, other: &Sm2octrlPwmbfs) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for Sm2octrlPwmbfs
impl PartialEq for Sm2octrlPwmbfs
Source§impl PartialOrd for Sm2octrlPwmbfs
impl PartialOrd for Sm2octrlPwmbfs
impl Copy for Sm2octrlPwmbfs
impl Eq for Sm2octrlPwmbfs
impl StructuralPartialEq for Sm2octrlPwmbfs
Auto Trait Implementations§
impl Freeze for Sm2octrlPwmbfs
impl RefUnwindSafe for Sm2octrlPwmbfs
impl Send for Sm2octrlPwmbfs
impl Sync for Sm2octrlPwmbfs
impl Unpin for Sm2octrlPwmbfs
impl UnwindSafe for Sm2octrlPwmbfs
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