Enum stm32_metapac::sai::vals::Prtcfg
#[repr(u8)]pub enum Prtcfg {
FREE = 0,
SPDIF = 1,
AC97 = 2,
_RESERVED_3 = 3,
}
Variants§
FREE = 0
Free protocol. Free protocol allows to use the powerful configuration of the audio block to address a specific audio protocol
SPDIF = 1
SPDIF protocol
AC97 = 2
AC’97 protocol
_RESERVED_3 = 3
Implementations§
Trait Implementations§
§impl Ord for Prtcfg
impl Ord for Prtcfg
§impl PartialOrd for Prtcfg
impl PartialOrd for Prtcfg
§fn partial_cmp(&self, other: &Prtcfg) -> Option<Ordering>
fn partial_cmp(&self, other: &Prtcfg) -> 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 Prtcfg
impl Eq for Prtcfg
impl StructuralEq for Prtcfg
impl StructuralPartialEq for Prtcfg
Auto Trait Implementations§
impl RefUnwindSafe for Prtcfg
impl Send for Prtcfg
impl Sync for Prtcfg
impl Unpin for Prtcfg
impl UnwindSafe for Prtcfg
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