pub enum RTCSELR {
NOCLOCK,
LSE,
LSI,
HSE,
}
Expand description
Possible values of the field RTCSEL
Variants
NOCLOCK
No clock
LSE
LSE oscillator clock used as the RTC clock
LSI
LSI oscillator clock used as the RTC clock
HSE
HSE oscillator clock divided by a programmable prescaler used as the RTC clock
Implementations
impl RTCSELR
impl RTCSELR
pub fn is_no_clock(&self) -> bool
pub fn is_no_clock(&self) -> bool
Checks if the value of the field is NOCLOCK
Trait Implementations
impl Copy for RTCSELR
impl StructuralPartialEq for RTCSELR
Auto Trait Implementations
impl RefUnwindSafe for RTCSELR
impl Send for RTCSELR
impl Sync for RTCSELR
impl Unpin for RTCSELR
impl UnwindSafe for RTCSELR
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