#[repr(u8)]pub enum RtcOscBypass {
USED = 0,
BYPASS = 1,
}Variants§
USED = 0
The RTC Oscillator operates normally as a crystal oscillator with the crystal connected between the RTC_XTALIN and RTC_XTALOUT pins.
BYPASS = 1
The RTC Oscillator is in bypass mode. In this mode a clock can be directly input into the RTC_XTALIN pin.
Implementations§
Source§impl RtcOscBypass
impl RtcOscBypass
Trait Implementations§
Source§impl Clone for RtcOscBypass
impl Clone for RtcOscBypass
Source§fn clone(&self) -> RtcOscBypass
fn clone(&self) -> RtcOscBypass
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 RtcOscBypass
impl Debug for RtcOscBypass
Source§impl From<RtcOscBypass> for u8
impl From<RtcOscBypass> for u8
Source§fn from(val: RtcOscBypass) -> u8
fn from(val: RtcOscBypass) -> u8
Converts to this type from the input type.
Source§impl From<u8> for RtcOscBypass
impl From<u8> for RtcOscBypass
Source§fn from(val: u8) -> RtcOscBypass
fn from(val: u8) -> RtcOscBypass
Converts to this type from the input type.
Source§impl Ord for RtcOscBypass
impl Ord for RtcOscBypass
Source§fn cmp(&self, other: &RtcOscBypass) -> Ordering
fn cmp(&self, other: &RtcOscBypass) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RtcOscBypass
impl PartialEq for RtcOscBypass
Source§impl PartialOrd for RtcOscBypass
impl PartialOrd for RtcOscBypass
impl Copy for RtcOscBypass
impl Eq for RtcOscBypass
impl StructuralPartialEq for RtcOscBypass
Auto Trait Implementations§
impl Freeze for RtcOscBypass
impl RefUnwindSafe for RtcOscBypass
impl Send for RtcOscBypass
impl Sync for RtcOscBypass
impl Unpin for RtcOscBypass
impl UnwindSafe for RtcOscBypass
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