Enum stm32_hal2::sai::FsPolarity
source · [−]#[repr(u8)]
pub enum FsPolarity {
ActiveLow,
ActiveHigh,
}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
ActiveLow
FS is active low (falling edge)
ActiveHigh
FS is active high (rising edge)
Trait Implementations
sourceimpl Clone for FsPolarity
impl Clone for FsPolarity
sourcefn clone(&self) -> FsPolarity
fn clone(&self) -> FsPolarity
Returns a copy of the value. Read more
1.0.0 · sourcefn 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 RefUnwindSafe for FsPolarity
impl Send for FsPolarity
impl Sync for FsPolarity
impl Unpin for FsPolarity
impl UnwindSafe for FsPolarity
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more