pub struct Clock { /* private fields */ }
Expand description
Clock management 0
Implementations§
Source§impl Clock
impl Clock
pub const unsafe fn from_ptr(ptr: *mut ()) -> Self
pub const fn as_ptr(&self) -> *mut ()
Sourcepub const fn tasks_hfclkstart(self) -> Reg<u32, W>
pub const fn tasks_hfclkstart(self) -> Reg<u32, W>
Start HFCLK source
Sourcepub const fn tasks_hfclkstop(self) -> Reg<u32, W>
pub const fn tasks_hfclkstop(self) -> Reg<u32, W>
Stop HFCLK source
Sourcepub const fn tasks_lfclkstart(self) -> Reg<u32, W>
pub const fn tasks_lfclkstart(self) -> Reg<u32, W>
Start LFCLK source
Sourcepub const fn tasks_lfclkstop(self) -> Reg<u32, W>
pub const fn tasks_lfclkstop(self) -> Reg<u32, W>
Stop LFCLK source
Sourcepub const fn subscribe_hfclkstart(self) -> Reg<Subscribe, RW>
pub const fn subscribe_hfclkstart(self) -> Reg<Subscribe, RW>
Subscribe configuration for task HFCLKSTART
Sourcepub const fn subscribe_hfclkstop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_hfclkstop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task HFCLKSTOP
Sourcepub const fn subscribe_lfclkstart(self) -> Reg<Subscribe, RW>
pub const fn subscribe_lfclkstart(self) -> Reg<Subscribe, RW>
Subscribe configuration for task LFCLKSTART
Sourcepub const fn subscribe_lfclkstop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_lfclkstop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task LFCLKSTOP
Sourcepub const fn events_hfclkstarted(self) -> Reg<u32, RW>
pub const fn events_hfclkstarted(self) -> Reg<u32, RW>
HFCLK oscillator started
Sourcepub const fn events_lfclkstarted(self) -> Reg<u32, RW>
pub const fn events_lfclkstarted(self) -> Reg<u32, RW>
LFCLK started
Sourcepub const fn publish_hfclkstarted(self) -> Reg<Publish, RW>
pub const fn publish_hfclkstarted(self) -> Reg<Publish, RW>
Publish configuration for event HFCLKSTARTED
Sourcepub const fn publish_lfclkstarted(self) -> Reg<Publish, RW>
pub const fn publish_lfclkstarted(self) -> Reg<Publish, RW>
Publish configuration for event LFCLKSTARTED
Sourcepub const fn hfclkrun(self) -> Reg<Hfclkrun, R>
pub const fn hfclkrun(self) -> Reg<Hfclkrun, R>
Status indicating that HFCLKSTART task has been triggered
Sourcepub const fn hfclkstat(self) -> Reg<Hfclkstat, R>
pub const fn hfclkstat(self) -> Reg<Hfclkstat, R>
The register shows if HFXO has been requested by triggering HFCLKSTART task and if it has been started (STATE)
Sourcepub const fn lfclkrun(self) -> Reg<Lfclkrun, R>
pub const fn lfclkrun(self) -> Reg<Lfclkrun, R>
Status indicating that LFCLKSTART task has been triggered
Sourcepub const fn lfclkstat(self) -> Reg<Lfclkstat, R>
pub const fn lfclkstat(self) -> Reg<Lfclkstat, R>
The register shows which LFCLK source has been requested (SRC) when triggering LFCLKSTART task and if the source has been started (STATE)
Sourcepub const fn lfclksrccopy(self) -> Reg<Lfclksrccopy, R>
pub const fn lfclksrccopy(self) -> Reg<Lfclksrccopy, R>
Copy of LFCLKSRC register, set after LFCLKSTART task has been triggered
Trait Implementations§
impl Copy for Clock
impl Eq for Clock
impl Send for Clock
impl StructuralPartialEq for Clock
impl Sync for Clock
Auto Trait Implementations§
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)