Struct nrf52832_hal::pac::clock::RegisterBlock [−][src]
#[repr(C)]pub struct RegisterBlock {}Show fields
pub tasks_hfclkstart: Reg<u32, _TASKS_HFCLKSTART>, pub tasks_hfclkstop: Reg<u32, _TASKS_HFCLKSTOP>, pub tasks_lfclkstart: Reg<u32, _TASKS_LFCLKSTART>, pub tasks_lfclkstop: Reg<u32, _TASKS_LFCLKSTOP>, pub tasks_cal: Reg<u32, _TASKS_CAL>, pub tasks_ctstart: Reg<u32, _TASKS_CTSTART>, pub tasks_ctstop: Reg<u32, _TASKS_CTSTOP>, pub events_hfclkstarted: Reg<u32, _EVENTS_HFCLKSTARTED>, pub events_lfclkstarted: Reg<u32, _EVENTS_LFCLKSTARTED>, pub events_done: Reg<u32, _EVENTS_DONE>, pub events_ctto: Reg<u32, _EVENTS_CTTO>, pub intenset: Reg<u32, _INTENSET>, pub intenclr: Reg<u32, _INTENCLR>, pub hfclkrun: Reg<u32, _HFCLKRUN>, pub hfclkstat: Reg<u32, _HFCLKSTAT>, pub lfclkrun: Reg<u32, _LFCLKRUN>, pub lfclkstat: Reg<u32, _LFCLKSTAT>, pub lfclksrccopy: Reg<u32, _LFCLKSRCCOPY>, pub lfclksrc: Reg<u32, _LFCLKSRC>, pub ctiv: Reg<u32, _CTIV>, pub traceconfig: Reg<u32, _TRACECONFIG>, // some fields omitted
Expand description
Register block
Fields
tasks_hfclkstart: Reg<u32, _TASKS_HFCLKSTART>
0x00 - Start HFCLK crystal oscillator
tasks_hfclkstop: Reg<u32, _TASKS_HFCLKSTOP>
0x04 - Stop HFCLK crystal oscillator
tasks_lfclkstart: Reg<u32, _TASKS_LFCLKSTART>
0x08 - Start LFCLK source
tasks_lfclkstop: Reg<u32, _TASKS_LFCLKSTOP>
0x0c - Stop LFCLK source
tasks_cal: Reg<u32, _TASKS_CAL>
0x10 - Start calibration of LFRC oscillator
tasks_ctstart: Reg<u32, _TASKS_CTSTART>
0x14 - Start calibration timer
tasks_ctstop: Reg<u32, _TASKS_CTSTOP>
0x18 - Stop calibration timer
events_hfclkstarted: Reg<u32, _EVENTS_HFCLKSTARTED>
0x100 - HFCLK oscillator started
events_lfclkstarted: Reg<u32, _EVENTS_LFCLKSTARTED>
0x104 - LFCLK started
events_done: Reg<u32, _EVENTS_DONE>
0x10c - Calibration of LFCLK RC oscillator complete event
events_ctto: Reg<u32, _EVENTS_CTTO>
0x110 - Calibration timer timeout
intenset: Reg<u32, _INTENSET>
0x304 - Enable interrupt
intenclr: Reg<u32, _INTENCLR>
0x308 - Disable interrupt
hfclkrun: Reg<u32, _HFCLKRUN>
0x408 - Status indicating that HFCLKSTART task has been triggered
hfclkstat: Reg<u32, _HFCLKSTAT>
0x40c - HFCLK status
lfclkrun: Reg<u32, _LFCLKRUN>
0x414 - Status indicating that LFCLKSTART task has been triggered
lfclkstat: Reg<u32, _LFCLKSTAT>
0x418 - LFCLK status
lfclksrccopy: Reg<u32, _LFCLKSRCCOPY>
0x41c - Copy of LFCLKSRC register, set when LFCLKSTART task was triggered
lfclksrc: Reg<u32, _LFCLKSRC>
0x518 - Clock source for the LFCLK
ctiv: Reg<u32, _CTIV>
0x538 - Calibration timer interval
traceconfig: Reg<u32, _TRACECONFIG>
0x55c - Clocking options for the Trace Port debug interface
Auto Trait Implementations
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> CheckedAs for T
[src]
impl<T> CheckedAs for T
[src]pub fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
[src]
pub fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
[src]Casts the value.
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src]
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src]pub fn lossless_try_into(self) -> Option<Dst>
[src]
pub fn lossless_try_into(self) -> Option<Dst>
[src]Performs the conversion.
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src]
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src]pub fn lossy_into(self) -> Dst
[src]
pub fn lossy_into(self) -> Dst
[src]Performs the conversion.
impl<T> OverflowingAs for T
[src]
impl<T> OverflowingAs for T
[src]pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
[src]
pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
[src]Casts the value.
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<T> SaturatingAs for T
[src]
impl<T> SaturatingAs for T
[src]pub fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
[src]
pub fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
[src]Casts the value.
impl<T> UnwrappedAs for T
[src]
impl<T> UnwrappedAs for T
[src]pub fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
[src]
pub fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
[src]Casts the value.
impl<T> WrappingAs for T
[src]
impl<T> WrappingAs for T
[src]pub fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
[src]
pub fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
[src]Casts the value.