[][src]Struct nrf52832_hal::target::clock::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    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
}

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> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.