[][src]Struct nrf9160_pac::clock_ns::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 subscribe_hfclkstart: SUBSCRIBE_HFCLKSTART,
    pub subscribe_hfclkstop: SUBSCRIBE_HFCLKSTOP,
    pub subscribe_lfclkstart: SUBSCRIBE_LFCLKSTART,
    pub subscribe_lfclkstop: SUBSCRIBE_LFCLKSTOP,
    pub events_hfclkstarted: EVENTS_HFCLKSTARTED,
    pub events_lfclkstarted: EVENTS_LFCLKSTARTED,
    pub publish_hfclkstarted: PUBLISH_HFCLKSTARTED,
    pub publish_lfclkstarted: PUBLISH_LFCLKSTARTED,
    pub inten: INTEN,
    pub intenset: INTENSET,
    pub intenclr: INTENCLR,
    pub intpend: INTPEND,
    pub hfclkrun: HFCLKRUN,
    pub hfclkstat: HFCLKSTAT,
    pub lfclkrun: LFCLKRUN,
    pub lfclkstat: LFCLKSTAT,
    pub lfclksrccopy: LFCLKSRCCOPY,
    pub lfclksrc: LFCLKSRC,
    // some fields omitted
}

Register block

Fields

tasks_hfclkstart: TASKS_HFCLKSTART

0x00 - Start HFCLK source

tasks_hfclkstop: TASKS_HFCLKSTOP

0x04 - Stop HFCLK source

tasks_lfclkstart: TASKS_LFCLKSTART

0x08 - Start LFCLK source

tasks_lfclkstop: TASKS_LFCLKSTOP

0x0c - Stop LFCLK source

subscribe_hfclkstart: SUBSCRIBE_HFCLKSTART

0x80 - Subscribe configuration for task HFCLKSTART

subscribe_hfclkstop: SUBSCRIBE_HFCLKSTOP

0x84 - Subscribe configuration for task HFCLKSTOP

subscribe_lfclkstart: SUBSCRIBE_LFCLKSTART

0x88 - Subscribe configuration for task LFCLKSTART

subscribe_lfclkstop: SUBSCRIBE_LFCLKSTOP

0x8c - Subscribe configuration for task LFCLKSTOP

events_hfclkstarted: EVENTS_HFCLKSTARTED

0x100 - HFCLK oscillator started

events_lfclkstarted: EVENTS_LFCLKSTARTED

0x104 - LFCLK started

publish_hfclkstarted: PUBLISH_HFCLKSTARTED

0x180 - Publish configuration for event HFCLKSTARTED

publish_lfclkstarted: PUBLISH_LFCLKSTARTED

0x184 - Publish configuration for event LFCLKSTARTED

inten: INTEN

0x300 - Enable or disable interrupt

intenset: INTENSET

0x304 - Enable interrupt

intenclr: INTENCLR

0x308 - Disable interrupt

intpend: INTPEND

0x30c - Pending interrupts

hfclkrun: HFCLKRUN

0x408 - Status indicating that HFCLKSTART task has been triggered

hfclkstat: HFCLKSTAT

0x40c - The register shows if HFXO has been requested by triggering HFCLKSTART task and if it has been started (STATE)

lfclkrun: LFCLKRUN

0x414 - Status indicating that LFCLKSTART task has been triggered

lfclkstat: LFCLKSTAT

0x418 - The register shows which LFCLK source has been requested (SRC) when triggering LFCLKSTART task and if the source has been started (STATE)

lfclksrccopy: LFCLKSRCCOPY

0x41c - Copy of LFCLKSRC register, set after LFCLKSTART task has been triggered

lfclksrc: LFCLKSRC

0x518 - Clock source for the LFCLK. LFCLKSTART task starts starts a clock source selected with this register.

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.