Enum stm32_hal2::sai::OversamplingRatio
source · #[repr(u8)]pub enum OversamplingRatio {
FMul256 = 0,
FMul512 = 1,
}
Expand description
Oversampling ratio for master clock. You may have to choose the one used by your SAI device. Sets xCR1 register, OSR field.
Variants§
Trait Implementations§
source§impl Clone for OversamplingRatio
impl Clone for OversamplingRatio
source§fn clone(&self) -> OversamplingRatio
fn clone(&self) -> OversamplingRatio
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 OversamplingRatio
Auto Trait Implementations§
impl RefUnwindSafe for OversamplingRatio
impl Send for OversamplingRatio
impl Sync for OversamplingRatio
impl Unpin for OversamplingRatio
impl UnwindSafe for OversamplingRatio
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