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_xostart(self) -> Reg<u32, W>
pub const fn tasks_xostart(self) -> Reg<u32, W>
Start crystal oscillator (HFXO)
pub const fn tasks_xostop(self) -> Reg<u32, W>
pub const fn tasks_xostop(self) -> Reg<u32, W>
Stop crystal oscillator (HFXO)
pub 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
pub const fn tasks_pllstop(self) -> Reg<u32, W>
pub const fn tasks_pllstop(self) -> Reg<u32, W>
Stop PLL
pub 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
pub const fn tasks_lfclkstop(self) -> Reg<u32, W>
pub const fn tasks_lfclkstop(self) -> Reg<u32, W>
Stop LFCLK source
pub const fn tasks_xotune(self) -> Reg<u32, W>
pub const fn tasks_xotune(self) -> Reg<u32, W>
Request tuning for HFXO
pub const fn tasks_xotuneabort(self) -> Reg<u32, W>
pub const fn tasks_xotuneabort(self) -> Reg<u32, W>
Abort tuning for HFXO
pub const fn subscribe_xostart(self) -> Reg<Subscribe, RW>
pub const fn subscribe_xostart(self) -> Reg<Subscribe, RW>
Subscribe configuration for task XOSTART
pub const fn subscribe_xostop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_xostop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task XOSTOP
pub const fn subscribe_pllstart(self) -> Reg<Subscribe, RW>
pub const fn subscribe_pllstart(self) -> Reg<Subscribe, RW>
Subscribe configuration for task PLLSTART
pub const fn subscribe_pllstop(self) -> Reg<Subscribe, RW>
pub const fn subscribe_pllstop(self) -> Reg<Subscribe, RW>
Subscribe configuration for task PLLSTOP
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 subscribe_cal(self) -> Reg<Subscribe, RW>
pub const fn subscribe_cal(self) -> Reg<Subscribe, RW>
Subscribe configuration for task CAL
pub const fn subscribe_xotune(self) -> Reg<Subscribe, RW>
pub const fn subscribe_xotune(self) -> Reg<Subscribe, RW>
Subscribe configuration for task XOTUNE
pub const fn subscribe_xotuneabort(self) -> Reg<Subscribe, RW>
pub const fn subscribe_xotuneabort(self) -> Reg<Subscribe, RW>
Subscribe configuration for task XOTUNEABORT
pub const fn events_xostarted(self) -> Reg<u32, RW>
pub const fn events_xostarted(self) -> Reg<u32, RW>
Crystal oscillator has started
pub const fn events_pllstarted(self) -> Reg<u32, RW>
pub const fn events_pllstarted(self) -> Reg<u32, RW>
PLL started
pub const fn events_lfclkstarted(self) -> Reg<u32, RW>
pub const fn events_lfclkstarted(self) -> Reg<u32, RW>
LFCLK source started
pub const fn events_done(self) -> Reg<u32, RW>
pub const fn events_done(self) -> Reg<u32, RW>
Calibration of LFRC oscillator complete event
pub 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
pub const fn events_xotuneerror(self) -> Reg<u32, RW>
pub const fn events_xotuneerror(self) -> Reg<u32, RW>
HFXO quality issue detected, XOTUNE is needed
pub const fn events_xotunefailed(self) -> Reg<u32, RW>
pub const fn events_xotunefailed(self) -> Reg<u32, RW>
HFXO tuning could not be completed
pub const fn publish_xostarted(self) -> Reg<Publish, RW>
pub const fn publish_xostarted(self) -> Reg<Publish, RW>
Publish configuration for event XOSTARTED
pub const fn publish_pllstarted(self) -> Reg<Publish, RW>
pub const fn publish_pllstarted(self) -> Reg<Publish, RW>
Publish configuration for event PLLSTARTED
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 publish_done(self) -> Reg<Publish, RW>
pub const fn publish_done(self) -> Reg<Publish, RW>
Publish configuration for event DONE
pub const fn publish_xotuned(self) -> Reg<Publish, RW>
pub const fn publish_xotuned(self) -> Reg<Publish, RW>
Publish configuration for event XOTUNED
pub const fn publish_xotuneerror(self) -> Reg<Publish, RW>
pub const fn publish_xotuneerror(self) -> Reg<Publish, RW>
Publish configuration for event XOTUNEERROR
pub 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
)