Struct Clock
pub struct Clock { /* private fields */ }
Expand description
Clock management 0
Implementations§
§impl Clock
impl Clock
pub const unsafe fn from_ptr(ptr: *mut ()) -> Clock
pub const fn as_ptr(&self) -> *mut ()
pub const fn tasks_hfclkstart(self) -> Reg<u32, W>
pub const fn tasks_hfclkstart(self) -> Reg<u32, W>
Start HFCLK source
pub const fn tasks_hfclkstop(self) -> Reg<u32, W>
pub const fn tasks_hfclkstop(self) -> Reg<u32, W>
Stop HFCLK source
pub const fn tasks_lfclkstart(self) -> Reg<u32, W>
pub const fn tasks_lfclkstart(self) -> Reg<u32, W>
Start LFCLK source
pub const fn tasks_lfclkstop(self) -> Reg<u32, W>
pub const fn tasks_lfclkstop(self) -> Reg<u32, W>
Stop LFCLK source
pub const fn subscribe_hfclkstart(self) -> Reg<Subscribe, RW>
pub const fn subscribe_hfclkstart(self) -> Reg<Subscribe, RW>
Subscribe configuration for task HFCLKSTART
pub const fn subscribe_hfclkstop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_hfclkstop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task HFCLKSTOP
pub const fn subscribe_lfclkstart(self) -> Reg<Subscribe, RW>
pub const fn subscribe_lfclkstart(self) -> Reg<Subscribe, RW>
Subscribe configuration for task LFCLKSTART
pub const fn subscribe_lfclkstop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_lfclkstop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task LFCLKSTOP
pub const fn events_hfclkstarted(self) -> Reg<u32, RW>
pub const fn events_hfclkstarted(self) -> Reg<u32, RW>
HFCLK oscillator started
pub const fn events_lfclkstarted(self) -> Reg<u32, RW>
pub const fn events_lfclkstarted(self) -> Reg<u32, RW>
LFCLK started
pub const fn publish_hfclkstarted(self) -> Reg<Publish, RW>
pub const fn publish_hfclkstarted(self) -> Reg<Publish, RW>
Publish configuration for event HFCLKSTARTED
pub const fn publish_lfclkstarted(self) -> Reg<Publish, RW>
pub const fn publish_lfclkstarted(self) -> Reg<Publish, RW>
Publish configuration for event LFCLKSTARTED
pub const fn hfclkrun(self) -> Reg<Hfclkrun, R>
pub const fn hfclkrun(self) -> Reg<Hfclkrun, R>
Status indicating that HFCLKSTART task has been triggered
pub 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)
pub const fn lfclkrun(self) -> Reg<Lfclkrun, R>
pub const fn lfclkrun(self) -> Reg<Lfclkrun, R>
Status indicating that LFCLKSTART task has been triggered
pub 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)
pub 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> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
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
)