[][src]Struct nrf51::clock::RegisterBlock

#[repr(C)]pub struct RegisterBlock {
    pub tasks_hfclkstart: TASKS_HFCLKSTART,
    pub tasks_hfclkstop: TASKS_HFCLKSTOP,
    pub tasks_lfclkstart: TASKS_LFCLKSTART,
    pub tasks_lfclkstop: TASKS_LFCLKSTOP,
    pub tasks_cal: TASKS_CAL,
    pub tasks_ctstart: TASKS_CTSTART,
    pub tasks_ctstop: TASKS_CTSTOP,
    pub events_hfclkstarted: EVENTS_HFCLKSTARTED,
    pub events_lfclkstarted: EVENTS_LFCLKSTARTED,
    pub events_done: EVENTS_DONE,
    pub events_ctto: EVENTS_CTTO,
    pub intenset: INTENSET,
    pub intenclr: INTENCLR,
    pub hfclkrun: HFCLKRUN,
    pub hfclkstat: HFCLKSTAT,
    pub lfclkrun: LFCLKRUN,
    pub lfclkstat: LFCLKSTAT,
    pub lfclksrccopy: LFCLKSRCCOPY,
    pub lfclksrc: LFCLKSRC,
    pub ctiv: CTIV,
    pub xtalfreq: XTALFREQ,
    // some fields omitted
}

Register block

Fields

tasks_hfclkstart: TASKS_HFCLKSTART

0x00 - Start HFCLK clock source.

tasks_hfclkstop: TASKS_HFCLKSTOP

0x04 - Stop HFCLK clock source.

tasks_lfclkstart: TASKS_LFCLKSTART

0x08 - Start LFCLK clock source.

tasks_lfclkstop: TASKS_LFCLKSTOP

0x0c - Stop LFCLK clock source.

tasks_cal: TASKS_CAL

0x10 - Start calibration of LFCLK RC oscillator.

tasks_ctstart: TASKS_CTSTART

0x14 - Start calibration timer.

tasks_ctstop: TASKS_CTSTOP

0x18 - Stop calibration timer.

events_hfclkstarted: EVENTS_HFCLKSTARTED

0x100 - HFCLK oscillator started.

events_lfclkstarted: EVENTS_LFCLKSTARTED

0x104 - LFCLK oscillator started.

events_done: EVENTS_DONE

0x10c - Calibration of LFCLK RC oscillator completed.

events_ctto: EVENTS_CTTO

0x110 - Calibration timer timeout.

intenset: INTENSET

0x304 - Interrupt enable set register.

intenclr: INTENCLR

0x308 - Interrupt enable clear register.

hfclkrun: HFCLKRUN

0x408 - Task HFCLKSTART trigger status.

hfclkstat: HFCLKSTAT

0x40c - High frequency clock status.

lfclkrun: LFCLKRUN

0x414 - Task LFCLKSTART triggered status.

lfclkstat: LFCLKSTAT

0x418 - Low frequency clock status.

lfclksrccopy: LFCLKSRCCOPY

0x41c - Clock source for the LFCLK clock, set when task LKCLKSTART is triggered.

lfclksrc: LFCLKSRC

0x518 - Clock source for the LFCLK clock.

ctiv: CTIV

0x538 - Calibration timer interval.

xtalfreq: XTALFREQ

0x550 - Crystal frequency.

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.