Enum stm32_metapac::pssi::vals::Depol
#[repr(u8)]pub enum Depol {
ACTIVELOW = 0,
ACTIVEHIGH = 1,
}
Variants§
ACTIVELOW = 0
PSSI_DE active low (0 indicates that data is valid).
ACTIVEHIGH = 1
PSSI_DE active high (1 indicates that data is valid).
Implementations§
Trait Implementations§
§impl Ord for Depol
impl Ord for Depol
§impl PartialOrd for Depol
impl PartialOrd for Depol
§fn partial_cmp(&self, other: &Depol) -> Option<Ordering>
fn partial_cmp(&self, other: &Depol) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for Depol
impl Eq for Depol
impl StructuralEq for Depol
impl StructuralPartialEq for Depol
Auto Trait Implementations§
impl RefUnwindSafe for Depol
impl Send for Depol
impl Sync for Depol
impl Unpin for Depol
impl UnwindSafe for Depol
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