Struct nrf52840_hal::pac::clock::RegisterBlock[][src]

#[repr(C)]
pub struct RegisterBlock {
Show 25 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 events_ctstarted: Reg<u32, _EVENTS_CTSTARTED>, pub events_ctstopped: Reg<u32, _EVENTS_CTSTOPPED>, 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 hfxodebounce: Reg<u32, _HFXODEBOUNCE>, pub ctiv: Reg<u32, _CTIV>, pub traceconfig: Reg<u32, _TRACECONFIG>, pub lfrcmode: Reg<u32, _LFRCMODE>, // some fields omitted
}
Expand description

Register block

Fields

tasks_hfclkstart: Reg<u32, _TASKS_HFCLKSTART>

0x00 - Start HFXO crystal oscillator

tasks_hfclkstop: Reg<u32, _TASKS_HFCLKSTOP>

0x04 - Stop HFXO crystal oscillator

tasks_lfclkstart: Reg<u32, _TASKS_LFCLKSTART>

0x08 - Start LFCLK

tasks_lfclkstop: Reg<u32, _TASKS_LFCLKSTOP>

0x0c - Stop LFCLK

tasks_cal: Reg<u32, _TASKS_CAL>

0x10 - Start calibration of LFRC

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 - HFXO crystal oscillator started

events_lfclkstarted: Reg<u32, _EVENTS_LFCLKSTARTED>

0x104 - LFCLK started

events_done: Reg<u32, _EVENTS_DONE>

0x10c - Calibration of LFRC completed

events_ctto: Reg<u32, _EVENTS_CTTO>

0x110 - Calibration timer timeout

events_ctstarted: Reg<u32, _EVENTS_CTSTARTED>

0x128 - Calibration timer has been started and is ready to process new tasks

events_ctstopped: Reg<u32, _EVENTS_CTSTOPPED>

0x12c - Calibration timer has been stopped and is ready to process new tasks

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

hfxodebounce: Reg<u32, _HFXODEBOUNCE>

0x528 - HFXO debounce time. The HFXO is started by triggering the TASKS_HFCLKSTART task.

ctiv: Reg<u32, _CTIV>

0x538 - Calibration timer interval

traceconfig: Reg<u32, _TRACECONFIG>

0x55c - Clocking options for the trace port debug interface

lfrcmode: Reg<u32, _LFRCMODE>

0x5b4 - LFRC mode configuration

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Casts the value.

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Casts the value.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Casts the value.

Should always be Self

Casts the value.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

Casts the value.

Casts the value.