Enum stm32_metapac::pssi::vals::Derdycfg
#[repr(u8)]pub enum Derdycfg {
DISABLED = 0,
RDY = 1,
DE = 2,
RDYDEALT = 3,
RDYDE = 4,
RDYREMAPPED = 5,
DEREMAPPED = 6,
RDYDEBIDI = 7,
}
Variants§
DISABLED = 0
PSSI_DE and PSSI_RDY both disabled.
RDY = 1
Only PSSI_RDY enabled.
DE = 2
Only PSSI_DE enabled.
RDYDEALT = 3
Both PSSI_RDY and PSSI_DE alternate functions enabled.
RDYDE = 4
Both PSSI_RDY and PSSI_DE features enabled - bidirectional on PSSI_RDY pin.
RDYREMAPPED = 5
Only PSSI_RDY function enabled, but mapped to PSSI_DE pin.
DEREMAPPED = 6
Only PSSI_DE function enabled, but mapped to PSSI_RDY pin.
RDYDEBIDI = 7
Both PSSI_RDY and PSSI_DE features enabled - bidirectional on PSSI_DE pin.
Implementations§
Trait Implementations§
§impl Ord for Derdycfg
impl Ord for Derdycfg
§impl PartialEq for Derdycfg
impl PartialEq for Derdycfg
§impl PartialOrd for Derdycfg
impl PartialOrd for Derdycfg
§fn partial_cmp(&self, other: &Derdycfg) -> Option<Ordering>
fn partial_cmp(&self, other: &Derdycfg) -> 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 Derdycfg
impl Eq for Derdycfg
impl StructuralEq for Derdycfg
impl StructuralPartialEq for Derdycfg
Auto Trait Implementations§
impl RefUnwindSafe for Derdycfg
impl Send for Derdycfg
impl Sync for Derdycfg
impl Unpin for Derdycfg
impl UnwindSafe for Derdycfg
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