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