Struct nrf52::clock::RegisterBlock [] [src]

#[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 traceconfig: TRACECONFIG, // some fields omitted }

Register block

Fields

0x00 - Start HFCLK crystal oscillator

0x04 - Stop HFCLK crystal oscillator

0x08 - Start LFCLK source

0x0c - Stop LFCLK source

0x10 - Start calibration of LFRC oscillator

0x14 - Start calibration timer

0x18 - Stop calibration timer

0x100 - HFCLK oscillator started

0x104 - LFCLK started

0x10c - Calibration of LFCLK RC oscillator complete event

0x110 - Calibration timer timeout

0x304 - Enable interrupt

0x308 - Disable interrupt

0x408 - Status indicating that HFCLKSTART task has been triggered

0x40c - HFCLK status

0x414 - Status indicating that LFCLKSTART task has been triggered

0x418 - LFCLK status

0x41c - Copy of LFCLKSRC register, set when LFCLKSTART task was triggered

0x518 - Clock source for the LFCLK

0x538 - Calibration timer interval

0x55c - Clocking options for the Trace Port debug interface