Struct RegisterBlock

Source
#[repr(C)]
pub struct RegisterBlock {
Show 16 fields pub intenclr: INTENCLR, pub intenset: INTENSET, pub intflag: INTFLAG, pub status: STATUS, pub xoscctrl: XOSCCTRL, pub osc16mctrl: OSC16MCTRL, pub dfllctrl: DFLLCTRL, pub dfllval: DFLLVAL, pub dfllmul: DFLLMUL, pub dfllsync: DFLLSYNC, pub dpllctrla: DPLLCTRLA, pub dpllratio: DPLLRATIO, pub dpllctrlb: DPLLCTRLB, pub dpllpresc: DPLLPRESC, pub dpllsyncbusy: DPLLSYNCBUSY, pub dpllstatus: DPLLSTATUS, /* private fields */
}
Expand description

Register block

Fields§

§intenclr: INTENCLR

0x00 - Interrupt Enable Clear

§intenset: INTENSET

0x04 - Interrupt Enable Set

§intflag: INTFLAG

0x08 - Interrupt Flag Status and Clear

§status: STATUS

0x0c - Power and Clocks Status

§xoscctrl: XOSCCTRL

0x10 - External Multipurpose Crystal Oscillator (XOSC) Control

§osc16mctrl: OSC16MCTRL

0x14 - 16MHz Internal Oscillator (OSC16M) Control

§dfllctrl: DFLLCTRL

0x18 - DFLL48M Control

§dfllval: DFLLVAL

0x1c - DFLL48M Value

§dfllmul: DFLLMUL

0x20 - DFLL48M Multiplier

§dfllsync: DFLLSYNC

0x24 - DFLL48M Synchronization

§dpllctrla: DPLLCTRLA

0x28 - DPLL Control

§dpllratio: DPLLRATIO

0x2c - DPLL Ratio Control

§dpllctrlb: DPLLCTRLB

0x30 - Digital Core Configuration

§dpllpresc: DPLLPRESC

0x34 - DPLL Prescaler

§dpllsyncbusy: DPLLSYNCBUSY

0x38 - DPLL Synchronization Busy

§dpllstatus: DPLLSTATUS

0x3c - DPLL Status

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.