Enum stm32_hal2::sai::FsPolarity
source · #[repr(u8)]pub enum FsPolarity {
ActiveLow = 0,
ActiveHigh = 1,
}
Expand description
This bit is set and cleared by software. It is used to configure the level of the start of frame on the FS signal. It is meaningless and is not used in AC’97 or SPDIF audio block configuration. This bit must be configured when the audio block is disabled. Sets FRCR register, FSPOL field.
Variants§
Trait Implementations§
source§impl Clone for FsPolarity
impl Clone for FsPolarity
source§fn clone(&self) -> FsPolarity
fn clone(&self) -> FsPolarity
Returns a copy 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 moreimpl Copy for FsPolarity
Auto Trait Implementations§
impl Freeze for FsPolarity
impl RefUnwindSafe for FsPolarity
impl Send for FsPolarity
impl Sync for FsPolarity
impl Unpin for FsPolarity
impl UnwindSafe for FsPolarity
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