Struct Rtcsel
#[repr(transparent)]pub struct Rtcsel(pub u8);
Tuple Fields§
§0: u8
Implementations§
§impl Rtcsel
impl Rtcsel
pub const NOCLOCK: Self
pub const NOCLOCK: Self
No clock
pub const LSE: Self
pub const LSE: Self
LSE oscillator clock used as RTC clock
pub const LSI: Self
pub const LSI: Self
LSI oscillator clock used as RTC clock
pub const HSE: Self
pub const HSE: Self
HSE oscillator clock divided by a programmable prescaler (selection through the RTCPRE[1:0] bits in the RCC clock control register (RCC_CR)) used as the RTC clock
Trait Implementations§
§impl Ord for Rtcsel
impl Ord for Rtcsel
§impl PartialOrd for Rtcsel
impl PartialOrd for Rtcsel
impl Copy for Rtcsel
impl Eq for Rtcsel
impl StructuralPartialEq for Rtcsel
Auto Trait Implementations§
impl Freeze for Rtcsel
impl RefUnwindSafe for Rtcsel
impl Send for Rtcsel
impl Sync for Rtcsel
impl Unpin for Rtcsel
impl UnwindSafe for Rtcsel
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