Enum stm32_hal2::sai::MasterClock
source · [−]#[repr(u8)]
pub enum MasterClock {
Used,
NotUsed,
}
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
(H7): Master clock generator is enabled
NotUsed
(H7): Master clock generator is disabled. The clock divider controlled by MCKDIV can still be used to generate the bit clock.
Trait Implementations
sourceimpl Clone for MasterClock
impl Clone for MasterClock
sourcefn clone(&self) -> MasterClock
fn clone(&self) -> MasterClock
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 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
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