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§
Source§impl Clone for ClockSecuritySystem
impl Clone for ClockSecuritySystem
Source§fn clone(&self) -> ClockSecuritySystem
fn clone(&self) -> ClockSecuritySystem
Returns a duplicate 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 moreSource§impl Debug for ClockSecuritySystem
impl Debug for ClockSecuritySystem
Source§impl PartialEq for ClockSecuritySystem
impl PartialEq for ClockSecuritySystem
impl Copy for ClockSecuritySystem
impl StructuralPartialEq for ClockSecuritySystem
Auto Trait Implementations§
impl Freeze for ClockSecuritySystem
impl RefUnwindSafe for ClockSecuritySystem
impl Send for ClockSecuritySystem
impl Sync for ClockSecuritySystem
impl Unpin for ClockSecuritySystem
impl UnwindSafe for ClockSecuritySystem
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