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