Enum stm32l4xx_hal::rcc::ClockSecuritySystem
source · [−]pub enum ClockSecuritySystem {
Enable,
Disable,
}
Expand description
Clock Security System (CSS) selector
When this is enabled on HSE it will fire of the NMI interrupt on failure and for the LSE the MCU will be woken if in Standby and then the LSECSS interrupt will fire. See datasheet on how to recover for CSS failures.
Variants
Enable
Enable the clock security system to detect clock failures
Disable
Leave the clock security system disabled
Trait Implementations
sourceimpl Clone for ClockSecuritySystem
impl Clone for ClockSecuritySystem
sourcefn clone(&self) -> ClockSecuritySystem
fn clone(&self) -> ClockSecuritySystem
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 more
sourceimpl Debug for ClockSecuritySystem
impl Debug for ClockSecuritySystem
impl Copy for ClockSecuritySystem
impl StructuralPartialEq for ClockSecuritySystem
Auto Trait Implementations
impl RefUnwindSafe for ClockSecuritySystem
impl Send for ClockSecuritySystem
impl Sync for ClockSecuritySystem
impl Unpin for ClockSecuritySystem
impl UnwindSafe for ClockSecuritySystem
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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