#[repr(u8)]pub enum Sm1octrlPwmafs {
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 Sm1octrlPwmafs
impl Clone for Sm1octrlPwmafs
Source§fn clone(&self) -> Sm1octrlPwmafs
fn clone(&self) -> Sm1octrlPwmafs
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 Sm1octrlPwmafs
impl Debug for Sm1octrlPwmafs
Source§impl From<Sm1octrlPwmafs> for u8
impl From<Sm1octrlPwmafs> for u8
Source§fn from(val: Sm1octrlPwmafs) -> u8
fn from(val: Sm1octrlPwmafs) -> u8
Converts to this type from the input type.
Source§impl From<u8> for Sm1octrlPwmafs
impl From<u8> for Sm1octrlPwmafs
Source§fn from(val: u8) -> Sm1octrlPwmafs
fn from(val: u8) -> Sm1octrlPwmafs
Converts to this type from the input type.
Source§impl Ord for Sm1octrlPwmafs
impl Ord for Sm1octrlPwmafs
Source§fn cmp(&self, other: &Sm1octrlPwmafs) -> Ordering
fn cmp(&self, other: &Sm1octrlPwmafs) -> 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 Sm1octrlPwmafs
impl PartialEq for Sm1octrlPwmafs
Source§impl PartialOrd for Sm1octrlPwmafs
impl PartialOrd for Sm1octrlPwmafs
impl Copy for Sm1octrlPwmafs
impl Eq for Sm1octrlPwmafs
impl StructuralPartialEq for Sm1octrlPwmafs
Auto Trait Implementations§
impl Freeze for Sm1octrlPwmafs
impl RefUnwindSafe for Sm1octrlPwmafs
impl Send for Sm1octrlPwmafs
impl Sync for Sm1octrlPwmafs
impl Unpin for Sm1octrlPwmafs
impl UnwindSafe for Sm1octrlPwmafs
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