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_xostart(self) -> Reg<u32, W>
pub const fn tasks_xostart(self) -> Reg<u32, W>
Start crystal oscillator (HFXO)
Sourcepub const fn tasks_xostop(self) -> Reg<u32, W>
pub const fn tasks_xostop(self) -> Reg<u32, W>
Stop crystal oscillator (HFXO)
Sourcepub const fn tasks_pllstart(self) -> Reg<u32, W>
pub const fn tasks_pllstart(self) -> Reg<u32, W>
Start PLL and keep it running, regardless of the automatic clock requests
Sourcepub const fn tasks_pllstop(self) -> Reg<u32, W>
pub const fn tasks_pllstop(self) -> Reg<u32, W>
Stop PLL
Sourcepub const fn tasks_lfclkstart(self) -> Reg<u32, W>
pub const fn tasks_lfclkstart(self) -> Reg<u32, W>
Start LFCLK source as selected in LFCLK.SRC
Sourcepub const fn tasks_lfclkstop(self) -> Reg<u32, W>
pub const fn tasks_lfclkstop(self) -> Reg<u32, W>
Stop LFCLK source
Sourcepub const fn tasks_xotune(self) -> Reg<u32, W>
pub const fn tasks_xotune(self) -> Reg<u32, W>
Request tuning for HFXO
Sourcepub const fn tasks_xotuneabort(self) -> Reg<u32, W>
pub const fn tasks_xotuneabort(self) -> Reg<u32, W>
Abort tuning for HFXO
Sourcepub const fn subscribe_xostart(self) -> Reg<Subscribe, RW>
pub const fn subscribe_xostart(self) -> Reg<Subscribe, RW>
Subscribe configuration for task XOSTART
Sourcepub const fn subscribe_xostop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_xostop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task XOSTOP
Sourcepub const fn subscribe_pllstart(self) -> Reg<Subscribe, RW>
pub const fn subscribe_pllstart(self) -> Reg<Subscribe, RW>
Subscribe configuration for task PLLSTART
Sourcepub const fn subscribe_pllstop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_pllstop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task PLLSTOP
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 subscribe_cal(self) -> Reg<Subscribe, RW>
pub const fn subscribe_cal(self) -> Reg<Subscribe, RW>
Subscribe configuration for task CAL
Sourcepub const fn subscribe_xotune(self) -> Reg<Subscribe, RW>
pub const fn subscribe_xotune(self) -> Reg<Subscribe, RW>
Subscribe configuration for task XOTUNE
Sourcepub const fn subscribe_xotuneabort(self) -> Reg<Subscribe, RW>
pub const fn subscribe_xotuneabort(self) -> Reg<Subscribe, RW>
Subscribe configuration for task XOTUNEABORT
Sourcepub const fn events_xostarted(self) -> Reg<u32, RW>
pub const fn events_xostarted(self) -> Reg<u32, RW>
Crystal oscillator has started
Sourcepub const fn events_pllstarted(self) -> Reg<u32, RW>
pub const fn events_pllstarted(self) -> Reg<u32, RW>
PLL started
Sourcepub const fn events_lfclkstarted(self) -> Reg<u32, RW>
pub const fn events_lfclkstarted(self) -> Reg<u32, RW>
LFCLK source started
Sourcepub const fn events_done(self) -> Reg<u32, RW>
pub const fn events_done(self) -> Reg<u32, RW>
Calibration of LFRC oscillator complete event
Sourcepub const fn events_xotuned(self) -> Reg<u32, RW>
pub const fn events_xotuned(self) -> Reg<u32, RW>
HFXO tuning is done. XOTUNED is generated after TASKS_XOSTART or after TASKS_XOTUNE has completed
Sourcepub const fn events_xotuneerror(self) -> Reg<u32, RW>
pub const fn events_xotuneerror(self) -> Reg<u32, RW>
HFXO quality issue detected, XOTUNE is needed
Sourcepub const fn events_xotunefailed(self) -> Reg<u32, RW>
pub const fn events_xotunefailed(self) -> Reg<u32, RW>
HFXO tuning could not be completed
Sourcepub const fn publish_xostarted(self) -> Reg<Publish, RW>
pub const fn publish_xostarted(self) -> Reg<Publish, RW>
Publish configuration for event XOSTARTED
Sourcepub const fn publish_pllstarted(self) -> Reg<Publish, RW>
pub const fn publish_pllstarted(self) -> Reg<Publish, RW>
Publish configuration for event PLLSTARTED
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 publish_done(self) -> Reg<Publish, RW>
pub const fn publish_done(self) -> Reg<Publish, RW>
Publish configuration for event DONE
Sourcepub const fn publish_xotuned(self) -> Reg<Publish, RW>
pub const fn publish_xotuned(self) -> Reg<Publish, RW>
Publish configuration for event XOTUNED
Sourcepub const fn publish_xotuneerror(self) -> Reg<Publish, RW>
pub const fn publish_xotuneerror(self) -> Reg<Publish, RW>
Publish configuration for event XOTUNEERROR
Sourcepub const fn publish_xotunefailed(self) -> Reg<Publish, RW>
pub const fn publish_xotunefailed(self) -> Reg<Publish, RW>
Publish configuration for event XOTUNEFAILED
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
)