#[repr(u8)]pub enum OverCurPol {
ACTIVE_HI_OVRCRNT = 0,
ACTIVE_LOW_OVRCRNT = 1,
}Variants§
ACTIVE_HI_OVRCRNT = 0
High active (high on this signal represents an overcurrent condition)
ACTIVE_LOW_OVRCRNT = 1
Low active (low on this signal represents an overcurrent condition)
Implementations§
Source§impl OverCurPol
impl OverCurPol
Trait Implementations§
Source§impl Clone for OverCurPol
impl Clone for OverCurPol
Source§fn clone(&self) -> OverCurPol
fn clone(&self) -> OverCurPol
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 OverCurPol
impl Debug for OverCurPol
Source§impl From<OverCurPol> for u8
impl From<OverCurPol> for u8
Source§fn from(val: OverCurPol) -> u8
fn from(val: OverCurPol) -> u8
Converts to this type from the input type.
Source§impl From<u8> for OverCurPol
impl From<u8> for OverCurPol
Source§fn from(val: u8) -> OverCurPol
fn from(val: u8) -> OverCurPol
Converts to this type from the input type.
Source§impl Ord for OverCurPol
impl Ord for OverCurPol
Source§fn cmp(&self, other: &OverCurPol) -> Ordering
fn cmp(&self, other: &OverCurPol) -> 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 OverCurPol
impl PartialEq for OverCurPol
Source§impl PartialOrd for OverCurPol
impl PartialOrd for OverCurPol
impl Copy for OverCurPol
impl Eq for OverCurPol
impl StructuralPartialEq for OverCurPol
Auto Trait Implementations§
impl Freeze for OverCurPol
impl RefUnwindSafe for OverCurPol
impl Send for OverCurPol
impl Sync for OverCurPol
impl Unpin for OverCurPol
impl UnwindSafe for OverCurPol
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