RegisterBlock

Struct RegisterBlock 

Source
#[repr(C)]
pub struct RegisterBlock {
Show 20 fields 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, /* private fields */
}
Expand description

Register block

Fields§

§tasks_hfclkstart: TASKS_HFCLKSTART

0x00 - Start HFCLK crystal oscillator

§tasks_hfclkstop: TASKS_HFCLKSTOP

0x04 - Stop HFCLK crystal oscillator

§tasks_lfclkstart: TASKS_LFCLKSTART

0x08 - Start LFCLK source

§tasks_lfclkstop: TASKS_LFCLKSTOP

0x0c - Stop LFCLK source

§tasks_cal: TASKS_CAL

0x10 - Start calibration of LFRC 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 started

§events_done: EVENTS_DONE

0x10c - Calibration of LFCLK RC oscillator complete event

§events_ctto: EVENTS_CTTO

0x110 - Calibration timer timeout

§intenset: INTENSET

0x304 - Enable interrupt

§intenclr: INTENCLR

0x308 - Disable interrupt

§hfclkrun: HFCLKRUN

0x408 - Status indicating that HFCLKSTART task has been triggered

§hfclkstat: HFCLKSTAT

0x40c - HFCLK status

§lfclkrun: LFCLKRUN

0x414 - Status indicating that LFCLKSTART task has been triggered

§lfclkstat: LFCLKSTAT

0x418 - LFCLK status

§lfclksrccopy: LFCLKSRCCOPY

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

§lfclksrc: LFCLKSRC

0x518 - Clock source for the LFCLK

§ctiv: CTIV

0x538 - Calibration timer interval

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.