Struct riot_sys::NRF_CLOCK_Type[][src]

#[repr(C)]
pub struct NRF_CLOCK_Type {
Show 36 fields pub TASKS_HFCLKSTART: u32, pub TASKS_HFCLKSTOP: u32, pub TASKS_LFCLKSTART: u32, pub TASKS_LFCLKSTOP: u32, pub TASKS_CAL: u32, pub TASKS_CTSTART: u32, pub TASKS_CTSTOP: u32, pub RESERVED: [u32; 57], pub EVENTS_HFCLKSTARTED: u32, pub EVENTS_LFCLKSTARTED: u32, pub RESERVED1: u32, pub EVENTS_DONE: u32, pub EVENTS_CTTO: u32, pub RESERVED2: [u32; 5], pub EVENTS_CTSTARTED: u32, pub EVENTS_CTSTOPPED: u32, pub RESERVED3: [u32; 117], pub INTENSET: u32, pub INTENCLR: u32, pub RESERVED4: [u32; 63], pub HFCLKRUN: u32, pub HFCLKSTAT: u32, pub RESERVED5: u32, pub LFCLKRUN: u32, pub LFCLKSTAT: u32, pub LFCLKSRCCOPY: u32, pub RESERVED6: [u32; 62], pub LFCLKSRC: u32, pub RESERVED7: [u32; 3], pub HFXODEBOUNCE: u32, pub RESERVED8: [u32; 3], pub CTIV: u32, pub RESERVED9: [u32; 8], pub TRACECONFIG: u32, pub RESERVED10: [u32; 21], pub LFRCMODE: u32,
}
Expand description

@brief Clock control (CLOCK)

Fields

TASKS_HFCLKSTART: u32

< (@ 0x00000000) Start HFXO crystal oscillator

TASKS_HFCLKSTOP: u32

< (@ 0x00000004) Stop HFXO crystal oscillator

TASKS_LFCLKSTART: u32

< (@ 0x00000008) Start LFCLK

TASKS_LFCLKSTOP: u32

< (@ 0x0000000C) Stop LFCLK

TASKS_CAL: u32

< (@ 0x00000010) Start calibration of LFRC

TASKS_CTSTART: u32

< (@ 0x00000014) Start calibration timer

TASKS_CTSTOP: u32

< (@ 0x00000018) Stop calibration timer

RESERVED: [u32; 57]EVENTS_HFCLKSTARTED: u32

< (@ 0x00000100) HFXO crystal oscillator started

EVENTS_LFCLKSTARTED: u32

< (@ 0x00000104) LFCLK started

RESERVED1: u32EVENTS_DONE: u32

< (@ 0x0000010C) Calibration of LFRC completed

EVENTS_CTTO: u32

< (@ 0x00000110) Calibration timer timeout

RESERVED2: [u32; 5]EVENTS_CTSTARTED: u32

< (@ 0x00000128) Calibration timer has been started and is ready to process new tasks

EVENTS_CTSTOPPED: u32

< (@ 0x0000012C) Calibration timer has been stopped and is ready to process new tasks

RESERVED3: [u32; 117]INTENSET: u32

< (@ 0x00000304) Enable interrupt

INTENCLR: u32

< (@ 0x00000308) Disable interrupt

RESERVED4: [u32; 63]HFCLKRUN: u32

< (@ 0x00000408) Status indicating that HFCLKSTART task has been triggered

HFCLKSTAT: u32

< (@ 0x0000040C) HFCLK status

RESERVED5: u32LFCLKRUN: u32

< (@ 0x00000414) Status indicating that LFCLKSTART task has been triggered

LFCLKSTAT: u32

< (@ 0x00000418) LFCLK status

LFCLKSRCCOPY: u32

< (@ 0x0000041C) Copy of LFCLKSRC register, set when LFCLKSTART task was triggered

RESERVED6: [u32; 62]LFCLKSRC: u32

< (@ 0x00000518) Clock source for the LFCLK

RESERVED7: [u32; 3]HFXODEBOUNCE: u32

< (@ 0x00000528) HFXO debounce time. The HFXO is started by triggering the TASKS_HFCLKSTART task.

RESERVED8: [u32; 3]CTIV: u32

< (@ 0x00000538) Calibration timer interval

RESERVED9: [u32; 8]TRACECONFIG: u32

< (@ 0x0000055C) Clocking options for the trace port debug interface

RESERVED10: [u32; 21]LFRCMODE: u32

< (@ 0x000005B4) LFRC mode configuration

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

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.