Struct Ecscr
#[repr(transparent)]pub struct Ecscr(pub u32);
Expand description
External clock source control register.
Tuple Fields§
§0: u32
Implementations§
§impl Ecscr
impl Ecscr
pub const fn hse_driver(&self) -> u8
pub const fn hse_driver(&self) -> u8
HSE_DRIVER.
pub fn set_hse_driver(&mut self, val: u8)
pub fn set_hse_driver(&mut self, val: u8)
HSE_DRIVER.
pub const fn hse_startup(&self) -> u8
pub const fn hse_startup(&self) -> u8
HSE_STARTUP.
pub fn set_hse_startup(&mut self, val: u8)
pub fn set_hse_startup(&mut self, val: u8)
HSE_STARTUP.
pub const fn lse_driver(&self) -> LseDriver
pub const fn lse_driver(&self) -> LseDriver
LSE clock driver selection.
pub fn set_lse_driver(&mut self, val: LseDriver)
pub fn set_lse_driver(&mut self, val: LseDriver)
LSE clock driver selection.
pub const fn lse_startup(&self) -> LsiStartup
pub const fn lse_startup(&self) -> LsiStartup
LSE_STARTUP.
pub fn set_lse_startup(&mut self, val: LsiStartup)
pub fn set_lse_startup(&mut self, val: LsiStartup)
LSE_STARTUP.
Trait Implementations§
impl Copy for Ecscr
impl Eq for Ecscr
impl StructuralPartialEq for Ecscr
Auto Trait Implementations§
impl Freeze for Ecscr
impl RefUnwindSafe for Ecscr
impl Send for Ecscr
impl Sync for Ecscr
impl Unpin for Ecscr
impl UnwindSafe for Ecscr
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