Enum stm32_hal2::sai::MasterClock
source · #[repr(u8)]pub enum MasterClock {
Used = 0,
NotUsed = 1,
}
Expand description
Select wheather the master clock is generated. xDR1 register, NOMCK field on H7. on other variants such as WB, affects the MCKEN and NODIV fields (?).
Variants§
Used = 0
(H7): Master clock generator is enabled
NotUsed = 1
(H7): Master clock generator is disabled. The clock divider controlled by MCKDIV can still be used to generate the bit clock.
Trait Implementations§
source§impl Clone for MasterClock
impl Clone for MasterClock
source§fn clone(&self) -> MasterClock
fn clone(&self) -> MasterClock
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 MasterClock
Auto Trait Implementations§
impl RefUnwindSafe for MasterClock
impl Send for MasterClock
impl Sync for MasterClock
impl Unpin for MasterClock
impl UnwindSafe for MasterClock
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