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
impl Copy for Prtcfg
impl Eq for Prtcfg
impl StructuralPartialEq for Prtcfg
Auto Trait Implementations§
impl Freeze for Prtcfg
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)